fix(nextcloud): ensure some standard migration scripts are always ran

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing 2022-11-16 22:19:58 +01:00 committed by GitHub
parent 36c78e90dc
commit 4d4d62b4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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'