mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 03:30:12 +01:00
Create updatenc
place file in /etc/cron.daily chmod +x /etc/cron.daily/updatenc
This commit is contained in:
parent
2c80504525
commit
cbefdf3c80
23
updatenc
Normal file
23
updatenc
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/updater/updater.phar --no-backup --no-interaction
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ status
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ -V
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ db:add-missing-primary-keys
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ db:add-missing-indices
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ db:add-missing-columns
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ db:convert-filecache-bigint
|
||||||
|
|
||||||
|
#sudo -u www-data php8.0 /var/www/nextcloud/occ files:scan --all
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ files:scan-app-data
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ app:update --all
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ upgrade
|
||||||
|
|
||||||
|
/usr/sbin/service php8.0-fpm restart
|
||||||
|
/usr/sbin/service nginx restart
|
||||||
|
|
||||||
|
sudo -u www-data php8.0 /var/www/nextcloud/occ -V
|
Loading…
Reference in New Issue
Block a user