From 4d4d62b4e2c975ee57d027d5f065855b5ff7ec15 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Wed, 16 Nov 2022 22:19:58 +0100 Subject: [PATCH] fix(nextcloud): ensure some standard migration scripts are always ran Signed-off-by: Kjeld Schouten-Lebbing --- charts/stable/nextcloud/templates/_hpb.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/stable/nextcloud/templates/_hpb.tpl b/charts/stable/nextcloud/templates/_hpb.tpl index 5b7b18a15fa..b580fe43892 100644 --- a/charts/stable/nextcloud/templates/_hpb.tpl +++ b/charts/stable/nextcloud/templates/_hpb.tpl @@ -81,6 +81,10 @@ command: echo "Configuring CLI url..." php /var/www/html/occ config:system:set overwrite.cli.url --value='{{ $accessurl }}/' + echo "Executing standard nextcloud version migration scripts to ensure they are actually ran..." + php /var/www/html/occ db:add-missing-indices + php /var/www/html/occ db:convert-filecache-bigint + {{- if .Values.imaginary.enabled }} echo "Imaginary High Performance Previews enabled, enabling it on Nextcloud..." php /var/www/html/occ config:system:set preview_imaginary_url --value='http://127.0.0.1:9090'