From f52664d880288eef33df176643de232b461e4dd9 Mon Sep 17 00:00:00 2001 From: Glenn <glenux@glenux.net> Date: Mon, 3 Mar 2025 17:14:07 +0100 Subject: [PATCH] Fix file upload issues by adjusting configuration settings Without this change, file uploads could fail due to insufficient timeout settings, chunk size limits, and maximum body size restrictions. * Change the order of arguments for setting lock timeout to match expected format * Add configuration setting for max chunk size to 20971520 bytes * Increase Nginx client max body size to 500m to accommodate larger file uploads Signed-off-by: Glenn <glenux@glenux.net> --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd81c4a..b5939a1 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,13 @@ ssh dokku@buddha-apps.boldcode.io app-json:set cloud appjson-path /app/app.json Run after install - config:app:set --value '30' files_lock lock_timeout + 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 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 nginx:set cloud client-max-body-size 500m