-
Is your feature request related to a problem? Please describe.Users with high upload speed and cloudflare tunnel/proxy users can benefit of this env variables. For example, if a user wants to upload a folder with +20 files and the whole folder size is +40GB, the default chunk size is 10MiB, so this can be an issue because it exceeds the value of Cloudflare Tunnel/proxy users on tier free can upload up 100MB per request, this can be solved by limiting chunk size to 95MiB in case of a large file upload, and combining with max_file_uploads, say 60. Describe the solution you'd likeAdd the folowing env variables to docker-compose.yml Describe alternatives you've consideredSet 95MiB as the default for Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, based on https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html#adjust-chunk-size-on-nextcloud-side and https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-run-occ-commands, you can already set the max_chunk_size via
Edit: I think you are misunderstanding this setting. |
Beta Was this translation helpful? Give feedback.
Hi, you can temporarily increase the value yourself by running
sudo docker exec nextcloud-aio-nextcloud bash -c "echo 'max_file_uploads=200' >> /usr/local/etc/php/conf.d/nextcloud.ini"; sudo docker restart nextcloud-aio-nextcloud
. Afterwards please report back if that fixes the situation for you.