diff --git a/templates/nextcloud-onlyoffice-config.yaml b/templates/nextcloud-onlyoffice-config.yaml index 985dc62154a56cb5bac4df508cd94c5b65127e9c..2eb97cda901220d5a5386ee9b224142e95e233d3 100644 --- a/templates/nextcloud-onlyoffice-config.yaml +++ b/templates/nextcloud-onlyoffice-config.yaml @@ -65,9 +65,6 @@ data: "debug": {{ .Values.nextcloud.debug }} }, "apps":{ - "core":{ - "backgroundjobs_mode": "webcron" - }, "onlyoffice":{ "DocumentServerInternalUrl": "", "DocumentServerUrl": "https:\/\/{{ .Values.onlyoffice.server_name }}\/", diff --git a/templates/setup-apps-configmap.yaml b/templates/setup-apps-configmap.yaml index 557f1372184b3cf779eb94d8be2829cdda66a774..135561b5553e922b8433ca3eae95b9a944308e7d 100644 --- a/templates/setup-apps-configmap.yaml +++ b/templates/setup-apps-configmap.yaml @@ -162,6 +162,9 @@ data: # Config settings from the configmap above run_as "php $occ config:import /var/local/config.json" + # We used to set this in `config.json` too, but ran into a nextcloud bug: + # https://github.com/nextcloud/server/issues/45083 + run_as "php $occ config:app:set --value webcron --type string core backgroundjobs_mode" echo "Updating database indices, columns, keys, etc." run_as "php $occ db:add-missing-indices --no-interaction"