docs(readme): update setup instructions for app configuration

Improves clarity and accuracy of setup instructions to prevent misconfiguration during deployment.

* Add explicit commands for setting file lock timeout and chunk size using `./occ`.
* Include command for setting maintenance window start time to ensure proper scheduling.
* Remove redundant and incorrect command comments to prevent confusion.

Signed-off-by: Glenn <glenux@glenux.net>
This commit is contained in:
Glenn Y. Rolland 2025-03-10 16:48:01 +01:00
parent 3e5398bd33
commit 15026b51ad

View file

@ -22,11 +22,18 @@ ssh dokku@buddha-apps.boldcode.io app-json:set cloud appjson-path /app/app.json
Run after install Run after install
config:app:set files_lock lock_timeout --value '30'
config:app:set files max_chunk_size --value 20971520
# FIXME: config:global:set --value '/Shared' share_folder # FIXME: config:global:set --value '/Shared' share_folder
# set file lock timeout
./occ config:app:set files_lock lock_timeout --value '30'
# set file chunk size
./occ config:app:set files max_chunk_size --value 20971520
# set maintenance window
./occ config:system:set maintenance_window_start --type=integer --value=1
Add this in crontab Add this in crontab
dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all" dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all"