From 01274171abf0ec42f3c2a268e14e20ec72c0dcdc Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 30 Oct 2022 20:30:29 -0500 Subject: [PATCH] Add fixes after upgrade to NC25. --- Config/Nextcloud/fixes.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Config/Nextcloud/fixes.sh b/Config/Nextcloud/fixes.sh index 4926fa1..6796b93 100755 --- a/Config/Nextcloud/fixes.sh +++ b/Config/Nextcloud/fixes.sh @@ -5,5 +5,12 @@ docker exec -it nextcloud-app-1 apt update -y docker exec -it nextcloud-app-1 apt install -y libmagickcore-6.q16-6-extra +# 2022-10-30 More additions after moving to Nextcloud version 25. +docker exec -itu www-data nextcloud-app-1 ./occ db:add-missing-columns +docker exec -itu www-data nextcloud-app-1 ./occ db:add-missing-indices +docker exec -itu www-data nextcloud-app-1 ./occ db:add-missing-primary-keys +docker exec -itu www-data nextcloud-app-1 ./occ db:convert-filecache-bigint +docker exec -it nextcloud-app-1 chown -Rc www-data:www-data . + exit 0