NextCloud Update

From WikiMLT
Revision as of 10:21, 25 February 2023 by Spas (talk | contribs) (Стадий: 3 [Фаза:Разработване, Статус:Разутвърден]; Категория:Linux Server)

Us­ing the com­mand line based up­dater

The com­mand can al­so be used to com­plete a stuck web up­date.

sudo -u www-data \
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/updater/updater.phar

In or­der to up­date all apps from CLI use:

sudo -u www-data \
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/occ app:update --all

Fur­ther you may need to add the miss­ing data­base in­dex­es:

sudo -u www-data \
php --define apc.enable_cli=1 /var/www/cloud.metalevel.tech/occ db:add-missing-indices

Ref­er­ences