New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Critical] Short display of "Setup a new system" on public site while restarting Zammad! #389
Comments
Hi @jacotec Normally this page is shown if "Setting.get('system_init_done')" is false. So after finishing the setup this is always true. I guess it's related with your 500er in #214 (comment) -> So basically Setting.get('system_init_done') is false (because of 500er). -> Waiting for feedback in issue#214 to improved this screen too. -Martin |
PS: It's better to discuss there 500er error her. It's more related to this issue. |
Hi @martini : OK, there is some hope. I've tried to reproduce this on my test VM (with intact database), the start is pretty fast here and I can't see this issue. I've got the feeling that the "Ticket.destroy_all" did really bad things to my database. The service restart takes ages here, also seeing the mentioned problem with the "Set up as new" window. Log is in the #214 thread. Any way to repair my database? Or flatten it and restart from scratch? :-( |
I guess it's easy this time. Did you change a mail template?
|
@martini : Yap, I did. Just translations from English to German, see my #385 ... seems to be a different bug. OK, disabling the mail trigger and it's working again. Blimey! I'll post the ticket text in #385 as this makes more sense ... can you have a look what should be wrong here? Seems we can close this one here ... happy that it wasn't the ticket delete :-) |
Oh. So it wan't a notification .erb file in file system, it was a trigger based notification added/edited via admin interface? |
Nope, no file hacking with .erb's (thank you for mentioning where I can change the system mail template) ... it was an official text change via the GUI of a trigger text. No idea why the change killed the notification, I've filed bug #385 this afternoon on this. I saw this also previously on my test system. As I did not change any variables I honestly have no idea what the system does not like. |
I think that one is critical!
I did a restart of Zammad (service zammad restart) on the server. Meanwhile I've reloaded my webbrowser with the Zammad page continuously. For a while I got "Service not available / 503" messages back, but suddenly it showed me the initial setup screen where I could choose beween setting up a new system and importing data!
A few seconds later the system was back with its data.
Question: If someone else hits the website exactly in that time window after a server restart, when the initial setup message appears (obviously because Zammad has not yet completely loaded its database) - can anyone destroy the installation by hitting "Set up as new system"?
The text was updated successfully, but these errors were encountered: