User Tools

Site Tools


upgrade_nextcloud

Update / Upgrade Nextcloud

To update Nextcloud you best can update via the command-line (Linux).

Login to your Nextcloud commandline and enter the following:

 sudo -u www-data php /var/www/nextcloud/updater/updater.phar

this will start the update sequence. After it has finished enter:

 sudo -u www-data php /var/www/nextcloud/occ upgrade

this will start the upgrade sequence. For the last step enter:

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

This will bring up Nextcloud and you are able to use the web-interface again.

In most cases you will need to run a repair script:

 sudo -u www-data php occ db:add-missing-indices

If using crontab please re-enable it by doing:

 crontab -u www-data -e

That's all!



Enjoy,

Your ArtIT Team

BACK

upgrade_nextcloud.txt · Last modified: 2023/09/14 17:42 by admin