How to change from maintenance mode to normal mode in ubuntu


We are using a nextcloud version 25.0.1, in the OS ubuntu now we need a help to change the nextcloud from maintenance mode to normal mode.

Please provide a solution for it.

sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

or edit the config.php
There you have to set
‘maintenance’ => false,

Have a look to the manual:


Nextcloud 25 is End of Life. Please update to newer versions.

Maintenance and Release Schedule · nextcloud/server Wiki · GitHub

1 Like