-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
maintenance mode #2099
Comments
Would be cool if we could just spawn a simple node.js app with express that serves just the maintenance mode page, this way if you're derping around with NodeBB (restarting/crashes/etc) the users will still see this page? |
Good idea. As long as loader.js is still running it should be fine. Cluster restarting needs some TLC however. |
👍 |
Nevertheless, this should be fun styling. I would use the outgoing page template as a base (without the header menu's, and etc.) |
Needs:
|
How to login as admin when the site is in maintaince? |
@andreapernici Not implemented yet -- please see the unchecked box in my last comment 😄 Edit: Did you accidentally lock yourself out? If so, run |
Tried @julianlam but is not working from redis-cli |
Please report NodeBB version and commit hash.
|
I solved doing this on 0.5.3-dev hset config maintenanceMode 1 and then hset config maintenanceMode 0 Restarted Redis and Nodebb. |
when enabled through the ACP only admins can access the forum, others are served a maintenance page
The text was updated successfully, but these errors were encountered: