I installed Razuna 1.8 sucessfully with MySQL DB on my host.
I can add users, tenants etc.
After a while, the admin page shows me the installation screen instead of the login screen. Just to mention that the tenants are still working well - just the administration panel is “gone” or lets say replaced by the installation screen.
When “reinstalling”, the database (incl. tenants) got wiped. I can access the admin page then, but all data is lost then. Afterwards, lets say 15 minutes, the installation screen appears again.
Is there something I have to change to make the install screen not appear again?
Something must be wrong with your setup. Please make sure that the hostname
of your machine doesn’t change and also that the permissions to the
/razuna/db folder are correct.
As outlined in my previous answer, make sure your hostname doesn’t change.
We have seen that when the hostname changes the db cannot be read. I don’t
know your system so I can’t tell you your permissions. You are the admin
you need to know what you do
Well, the hostname didn’t change. And the raz1 db is working well, just the install page instead of admin login pops up.
Any other suggestions regarding that issue?
Could you point me to file where the “decision” is made if the login or the install screen will be shown? Would be very helpful! I try to debug it then for myself!
The information is kept in the H2 database called razuna_default in the
table razuna_settings. Somehow the column “Firsttime” was reset to true. It
should be “false”. You can get tools to inspect the H2 database at h2database.com
Did you manage to resolve the issue? I had a similar problem. After a few minutes of working in Razuna, the admin interface would revert to the setup wizard (which I think is what you’re seeing). Stopping and restarting Tomcat would fix it temporarily. With Nitai’s help I was able to resolve the problem by upgrading the H2 driver to version 1.4.191. Razuna has been running for several days now without a recurrence.
Razuna 1.8 self-hosted
Tomcat 8.0.3
Java JDK 1.8.0.72
MySQL 5.6.29
Firefox 44.0.2
MacPro 2 x 2.4 GHz Intel Xeon
32 GB RAM
OS X 10.9.5
Thank you so much for sharing this! I spent a week tweaking the mysql settings and even trying updated mysql drivers trying to figure this issue out. My issue was when I was doing batch uploads through the API with a custom java application I wrote, but it appears to have been the same problem. It never dawned on me that the H2 driver could have been a problem for a mysql setup! This seems to have fixed it and it is now running quite smoothly!