Skip to content

Add an env variable to adjust max_chunk_size and max_file_uploads. #5095

Answered by szaimen
JMarcosHP asked this question in Ideas
Discussion options

You must be logged in to vote

If you increase max_file_uploads value, you can upload a folder with many files inside on a single request, yesterday I uploaded a folder with +64 files on each folder inside the main folder, 2 of them got me an error because it exceeded the max default value of 20 files per request. I think this error was due to the number of chunks being greater than 20, since each file was around 3GB in size.

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.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JMarcosHP
Comment options

@szaimen
Comment options

Answer selected by szaimen
@devnoname120
Comment options

@JMarcosHP
Comment options

@szaimen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
help wanted Extra attention is needed
3 participants
Converted from issue

This discussion was converted from issue #5094 on August 06, 2024 07:19.