diff --git a/mycloud-nextcloud/templates/release.yaml b/mycloud-nextcloud/templates/release.yaml index e7bf7ab..ae91877 100644 --- a/mycloud-nextcloud/templates/release.yaml +++ b/mycloud-nextcloud/templates/release.yaml @@ -135,6 +135,9 @@ spec: # https://codeberg.org/wrenix/flux-charts/issues/7 before-starting: |- #!/bin/sh + echo "update all apps:"; + /var/www/html/occ app:update --all; + {{- $app := "user_oidc" }} echo "=== manage: {{ $app }} ===" echo "--- install: {{ $app }} ---" @@ -180,8 +183,8 @@ spec: /var/www/html/occ config:app:set -n richdocuments wopi_url --value={{ get .Values.apps.richdocuments.config "wopi_url" | default (printf "https://collabora.%s" $.Values.commons.ingress.domain) | quote }} {{- end }}{{/* end-else-if richdocuments.enable */}} - echo "update all apps:"; - /var/www/html/occ app:update --all; + echo "refresh index:"; + /var/www/html/occ db:add-missing-indices; echo "setup theming:"; /var/www/html/occ theming:config disable-user-theming yes;