pessoal2004 Posted November 11, 2021 Posted November 11, 2021 Hi, I installed a new fresh TB 1.3.0 in a new Rocky server and I have this error: "A theme with the same name as the theme in /var/www/html/themes/niara is already installed." Please see the attached image. Any ideas? Thanks
0 datakick Posted November 12, 2021 Posted November 12, 2021 Not possible. Just... no. The only way this could happen is if your browser sent two ajax requests to install theme. That's very unlikely. Very, very unlikely. Unfortunately it's possible, but only if you have some very weird caching browser extension, adblocker, etc. Or maybe some server redirection.... who knows. Look into browser console, Network tab, and see what requests are send during installation. There should be only one request with installTheme=true 2
0 pessoal2004 Posted November 11, 2021 Author Posted November 11, 2021 Everything new, fresh installation and I have this error
0 pessoal2004 Posted November 12, 2021 Author Posted November 12, 2021 Hi, I found this error on TB_1.3.0, TB_1.2.0 and TB_1.1.0 On TB_1.0.5 everything is fine. Any ideas on how to solve this error?
0 zen Posted November 12, 2021 Posted November 12, 2021 it says that the theme is already installed.. so is it working already or what is blocking you now to use TB on this install ? 1
0 pessoal2004 Posted November 13, 2021 Author Posted November 13, 2021 Thank you very much for your answer. You are right, "Or maybe some server redirection.... who knows. ". I'm putting the apache on a Rocky server and the MariaDB on another Rocky server and between them, I put the stunnel with openssl. On TB_1.0.5 everything is fine. But on TB_1.3.0, TB_1.2.0 and TB_1.1.0 I can't install the TB. I can go around this installing the TB on a single server with httpd and mariadb and then pass the TB to these 2 separate servers. I have 2 questions: 1- Why the stunnel work on TB_1.0.5 and don't work on the recent versions? What changed on TB? 2- I can have problems in the TB_1.3.0 if I use the stunnel? My goal is to have 2 separate servers, one for httpd and another for Mariadb. Cheers
0 datakick Posted November 13, 2021 Posted November 13, 2021 The fact that the database is located on different server connected by stunnel is unrelated. This is just a red herring. Let me reiterate what we know: during installation, database is created from scratch as is empty the theme is installed when index.php?installTheme=true request is processed by php server. This is the only place in install process that calls the theme install method the error is throws only if theme is already installed -- the record in database exists The only explanation for this error to occur is that the index.php?installTheme=true request was processed twice by your php server. If you browser does not send the request twice, then there must be some other component in your infrastructure that duplicates / repeat this ajax call. For example, there could be a load balancer or proxy server. Maybe proxy server is misconfigured, and re-send the request to your php server if the response is not received promptly (this might actually explain why it works when db and php are on the same server. Communication via stunnel is bound to have higher latency) Look into your php server access_log to verify how many times the installTheme request was received. 1
0 pessoal2004 Posted November 14, 2021 Author Posted November 14, 2021 Hi Datakick, Thank you very much for your help. I installed 2 servers with minimum configuration. Server_1: httpd server with stunnel Server_2: mariadb with stunnel And I have the same error. I will send you a PM with the logins and IP's and you can install the TB and check if you also have the error. If you have a little time to take a look I appreciate it. Cheers
0 pessoal2004 Posted November 15, 2021 Author Posted November 15, 2021 The problem is my internet provider. I try other providers and with the other providers, everything was smooth. I don't have any idea why my internet provider has this issue. Thank you again for your help. 1
Question
pessoal2004
Hi,
I installed a new fresh TB 1.3.0 in a new Rocky server and I have this error:
"A theme with the same name as the theme in /var/www/html/themes/niara is already installed."
Please see the attached image.
Any ideas?
Thanks
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now