Some config options are too important to be left for later. We should have a way to mark some settings as part of of the _Setup Wizard_ so the admin will have to complete the before using the system for the first time.
Relates to #2232
@ggazzo @karlprieb could one of you work on this sometime mid-term? it would be very useful :)
hello! I have got a problem with this.
I am using docker-compose to deploy rocketchat, and have already created an Admin with environment variables. But still, when i open the browser and open the localhost:3000 tab, it jumps to the setup-wizard automatically. Could you please tell me, whether this is an issue or it is just me made some mistakes?
thank you!
@karlprieb
@huiminzeng If is the first time you run a server you will enter on the setup wizard even if you already have an admin user.
When you open localhost:3000 the first time do you see the first step of the setup wizard (the step with a form to create a user) or do you see the second step (Organization Info)?
hi @karlprieb ! Thanks for your instruction. What i saw was always the first step, which means i have to create an Admin. Moreover, i couldn't use the Admin, which i defined with environment variables. Thus, I had to give a new account.
I opened an issue yesterday as well. There are some screenshot. I will appreciate it, if you could please have a look. https://github.com/RocketChat/Rocket.Chat/issues/10860
Thanks!
Is there a way to avoid the setup wizard by setting all variables from env vars? I've set up the admin user, so when I open the chat in a browser, it jumps to the 2nd page of the setup wizard.
I'm struggling with this problem as well . Do we have a solution ?
I configured my rocket chat instance once. For an independent reason I had to restart my server.
I restarted my server leaving the ADMIN_
env variable in the docker_compose file. I saw the
second page (organizational info). So I shutdown the server again, remove the env variables,
and restated. The second time, the wizard asked me to create a new admin user .
I fear that is I go on with the setup wizard, all my previous setting will be lost (and that was quite a
lot of work ).
Is there a way to skip the setup wizard ? like setting it from "in_progress" to "completed" ?
Finally, I managed to avoid the wizard by adding this environment variable: OVERWRITE_SETTING_Show_Setup_Wizard=completed
I hope this helps.
I did that, but I guess the setup wizard drop the database before even asking questions, and did not forgive my initial attempts (even if I did abort the wizard) : So I lost all my data, users and configuration parameters. Not very happy about that :(
Upon reboot of the server, the wizard accidentally restarted and it seems that the configuration has been broken. Is there ANY way to save the configuration, or anything from it (messages, etc.)?
Most helpful comment
Is there a way to avoid the setup wizard by setting all variables from env vars? I've set up the admin user, so when I open the chat in a browser, it jumps to the 2nd page of the setup wizard.