NextCloud Update: Difference between revisions
From WikiMLT
m Стадий: 6 [Фаза:Утвърждаване, Статус:Утвърден]; Категория:Linux Server |
|||
Line 5: | Line 5: | ||
sudo -u www-data \ | sudo -u www-data \ | ||
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/updater/updater.phar | php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/updater/updater.phar | ||
</syntaxhighlight>In order to update all apps from CLI use:<syntaxhighlight lang="shell" line="1"> | |||
sudo -u www-data \ | |||
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/occ app:update --all | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 11: | Line 14: | ||
* NextCloud Docs: [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-web-based-updater Using the web based updater] | [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-web-based-updater Finish via command line based upgrade] | * NextCloud Docs: [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-web-based-updater Using the web based updater] | [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-web-based-updater Finish via command line based upgrade] | ||
* NextCloud Docs: [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-command-line-based-updater Using the command line based updater] | * NextCloud Docs: [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-command-line-based-updater Using the command line based updater] | ||
* NextCloud Docs: [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-command-line-based-updater Using the command | * NextCloud Docs: [https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html#using-the-command-line-based-updater Using the <code>occ</code> command] | ||
Revision as of 17:37, 14 October 2022
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
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