fix(mycloud-nextcloud): add db-indices on every startup + update apps before enable/install them
This commit is contained in:
parent
852a348250
commit
f4bdeaadbb
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue