Unexpected "Setup a new system" screen

  • Used Zammad version: 6.5.2-1769094583.7f7854c4.bookworm
  • Used Zammad installation type: source
  • Operating system: Debian
  • Browser + version: all / any

For any reason, our Zammad system is pointing back to “Setup a new system” screen.
This happens multiple times a week, sometimes daily.
Checking the value Setting.get("system_init_done") it returns false

When this is happening, everybody can click this “Setup a new system” button.
It happens complete unexpected, even then when nobody is touching the system. It smells for a bug but unfortunately I have no idea how to look deeper or what to look for in logs to find any root cause.

Right now we have a quick and dirty solution using a cronjob all 10 minutes to switch the value to true
But this is not optimal.

Anybody with the same problem here or is this already known?
Maybe any suggestions?

Expected behavior:

  • No unexpected switch from true to false for Setting.get("system_init_done")

Actual behavior:

  • unexpected switch from true to false for Setting.get("system_init_done")

Are you using a single server for zammad and the other services like postgres/elasticsearch?

Yes, that is correct, all on the same VM as far as I know (this is done by our backend admin).
But pretty sure, all in one.

The interesting question would be what happens before this happens. Because that shouldn’t happen at all.

Same here… I’ve used the previously mentioned “workarround” with a cronjob setting the variable to true every 5 minutes… Dirty but functional… I hope you can find the bug and a real solution, let me know if you need additional info, logs or whathever.

We never heard about such a problem. There are also no real places where it’s set to “false” again.

You should check the log for this change, so we maybe can identify, why it happens.

Hi @roland_roesch, hi @jotzonline666.

Please provide some logs of your instances to be able to understand what happened.

Thanks for your help.

I have found my problem.

Setting.get("system_init_done")

Was returning true.
My problem was in the link i was opening https://domain.com/#getting_started, the #getting_started was forwarding me to login screen and opening the Setup New System.
I was looking for weeks on this easy problem.

Just wanted to share my findings on this issue, i know they might not be related.

I cannot manually force my Zammad installations to the getting started page, with system_init_done being true.

I get redirected to the login screen, after logging in i get this.

But when using a link without #getting_started, then i don’t get anything