From d55723dbea9a50fa6743fe6b6b540fecc26fce2d Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 8 Mar 2024 11:47:05 +0100 Subject: [PATCH] add missing indices on new installation Signed-off-by: Simon L --- Containers/nextcloud/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 5125e5906446..4b24d748be91 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -327,6 +327,8 @@ DATADIR_PERMISSION_CONF # Apply other settings echo "Applying other settings..." + # Add missing indices after new installation because they seem to be missing on new installation + php /var/www/html/occ db:add-missing-indices php /var/www/html/occ config:system:set upgrade.disable-web --type=bool --value=true php /var/www/html/occ config:system:set mail_smtpmode --value="smtp" php /var/www/html/occ config:system:set trashbin_retention_obligation --value="auto, 30"