What is Maintenance mode?
Maintenance mode allows you to lock users out of your Nextcloud instance, and perform various server tasks, including upgrades, or resetting locks. This article describes how to put your Nextcloud site into Maintenance mode.
Start by accessing your website's root directory.
- Open /config/config.php file for editing.
- Add the following line and then Save the file.
'maintenance' => true,
Your Nextcloud instance will now be in Maintenance mode.
Disable Maintenance mode
Once you are finished upgrading or resetting locks, you must remember to disable Maintenance mode.
- Open /config/config.php for editing.
- Delete the 'maintenance' => true, line.
Save the file once more, and your Nextcloud instance will be back to normal operation.
Thanks for visiting.