Disable nextcloud maintenance mode?

To disable maintenance mode:

runagent -m nextcloud1 occ maintenance:mode --off

But most likely it remains in maintenance mode for a reason (failed/incomplete update/upgrade), so you could also need to run:

runagent -m nextcloud1 occ upgrade

…to complete the upgrade or get more info on the problem.

On those commands, remember to replace nextcloud1 with the appropriate instance name.

3 Likes