To remove maintenance mode from Nextcloud, you can follow these steps:¶
To remove maintenance mode from Nextcloud, you can follow these steps:
1. Access Your Server: You will need access to your Nextcloud server either through SSH or a direct terminal connection.
2. Navigate to the Nextcloud Directory: Use the command line to navigate to the directory where Nextcloud is installed. This might be something like:
cd /var/www/nextcloud
Replace `/var/www/nextcloud` with the actual path to your Nextcloud installation.
3. Disable Maintenance Mode: To disable maintenance mode, you can use the Nextcloud command-line interface (occ). Run the following command:
sudo -u www-data php occ maintenance:mode --off
Replace `www-data` with the user your web server uses to run PHP if it's different on your server.
4. Clear Caches: After disabling maintenance mode, it's a good practice to clear the cache to ensure that the changes take effect:
sudo -u www-data php occ maintenance:repair
5. Restart Web Server: To make sure everything is applied correctly, you can restart your web server. The command to do this may vary depending on your server setup. For example, on Apache, you can use:
sudo service apache2 restart
On Nginx:
sudo service nginx restart
Use the appropriate command for your web server.
Once you've completed these steps, your Nextcloud instance should be out of maintenance mode, and users should be able to access it as usual.
Please note that it's important to be cautious when making changes to your Nextcloud instance, especially when it's in maintenance mode, as some updates or configurations may require extra attention or troubleshooting. Always make backups before making significant changes.
Updated by Gareth Eaton over 1 year ago · 1 revisions