NextCloud Update: Difference between revisions
From WikiMLT
m Стадий: 3 [Фаза:Разработване, Статус:Разутвърден]; Категория:Linux Server |
|||
Line 25: | Line 25: | ||
| Прндл = Linux Server | | Прндл = Linux Server | ||
| Прндл1 = Web Servers | | Прндл1 = Web Servers | ||
| Стадий = | | Стадий = 3 | ||
| Фаза = | | Фаза = Разработване | ||
| Статус = | | Статус = Разутвърден | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = | | РзбПт = {{REVISIONUSER}} | ||
| АвтПт = Spas | | АвтПт = Spas | ||
| УтвПт = | | УтвПт = Spas | ||
| ИдтДт = 24.09.2022 | | ИдтДт = 24.09.2022 | ||
| РзбДт = | | РзбДт = {{Today}} | ||
| АвтДт = 24.09.2022 | | АвтДт = 24.09.2022 | ||
| УтвДт = | | УтвДт = 11.11.2022 | ||
| ИдтРв = [[Special:Permalink/31783|31783]] | | ИдтРв = [[Special:Permalink/31783|31783]] | ||
| РзбРв = [[Special:Permalink/ | | РзбРв = {{REVISIONID}} | ||
| | | АвтРв = | ||
| РзАРв = [[Special:Permalink/31789|31789]] | |||
| УтвРв = | |||
| РзУРв = [[Special:Permalink/32163|32163]] | |||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 10:21, 25 February 2023
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