diff --git a/templates/setup-apps-configmap.yaml b/templates/setup-apps-configmap.yaml index 135561b5553e922b8433ca3eae95b9a944308e7d..aa8ef7c8bf623dfc739ecbc76fbf3ff836e1c142 100644 --- a/templates/setup-apps-configmap.yaml +++ b/templates/setup-apps-configmap.yaml @@ -164,7 +164,9 @@ data: 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" + # The `echo "yes"` is necessary because in some cases nextcloud will warn + # about the string type and ask for confirmation. + echo "yes" | 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"