NextCloud Update
From WikiMLT
Using the command line based updater
The command can also be used to complete a stuck web update.
sudo -u www-data \
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/updater/updater.phar
In order to update all apps from CLI use:
sudo -u www-data \
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/occ app:update --all
Further you may need to add the missing database indexes:
sudo -u www-data \
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/occ db:add-missing-indices
References
- NextCloud Docs: Using the web based updater | Finish via command line based upgrade
- NextCloud Docs: Using the command line based updater
- NextCloud Docs: Using the
occ
command