added db maintainence

This commit is contained in:
Mihit 2025-03-08 17:21:41 +00:00
parent 8cca8c27e0
commit 188b2d7519

View File

@ -10,3 +10,5 @@ mv nextcloud.old/data nextcloud
sudo chown www-data:www-data -R nextcloud sudo chown www-data:www-data -R nextcloud
sudo -u www-data php nextcloud/occ upgrade sudo -u www-data php nextcloud/occ upgrade
sudo -u www-data php nextcloud/occ maintenance:mode --off sudo -u www-data php nextcloud/occ maintenance:mode --off
sudo -u www-data php nextcloud/occ db:add-missing-indices
sudo -u www-data php nextcloud/occ maintenance:repair --include-expensive