How to change from maintenance mode to normal mode in ubuntu

Hi,

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:
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/occ_command.html#maintenance-commands

2 Likes

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

Maintenance and Release Schedule · nextcloud/server Wiki · GitHub

1 Like