Skip to content
Snippets Groups Projects
Commit 95d5f753 authored by Arie Peterson's avatar Arie Peterson
Browse files

Deal with warning when setting cron mode

parent 877ebf54
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,9 @@ data: ...@@ -164,7 +164,9 @@ data:
run_as "php $occ config:import /var/local/config.json" 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: # We used to set this in `config.json` too, but ran into a nextcloud bug:
# https://github.com/nextcloud/server/issues/45083 # 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." echo "Updating database indices, columns, keys, etc."
run_as "php $occ db:add-missing-indices --no-interaction" run_as "php $occ db:add-missing-indices --no-interaction"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment