From 188b2d75198086f4f5df1142f1697c5e653652d5 Mon Sep 17 00:00:00 2001 From: Mihit Date: Sat, 8 Mar 2025 17:21:41 +0000 Subject: [PATCH] added db maintainence --- update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.sh b/update.sh index 3402653..3b32d96 100755 --- a/update.sh +++ b/update.sh @@ -10,3 +10,5 @@ mv nextcloud.old/data nextcloud sudo chown www-data:www-data -R nextcloud 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 db:add-missing-indices +sudo -u www-data php nextcloud/occ maintenance:repair --include-expensive