Enable/Disable Nextcloud Maintenance Mode

Maintenance mode is useful when you are making changes to your nextcloud installation like a software upgrade.

To enable maintenance mode, run the command

php7.3 occ maintenance:mode --on

To disable maintenance mode, run

php7.3 occ maintenance:mode --off

Example

www-data@mail:/www/nextcloud$ php occ maintenance:mode --off
Maintenance mode disabled
www-data@mail:/www/nextcloud$ 

See Nextcloud

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *