Nextcloud Change Chunk Size

Andrei1744

Cadet
Joined
Dec 7, 2021
Messages
6
Hi Everyone! Everytime I upload something on truenas, the speed stutters every 10mb. I've read something that said that I needed to change the chunk size on nextcloud, and it gave me a sudo command. I can't run sudo commands, and I was wondering if there was a way to either disable the chunk size, or just change it to be larger. Any help is appreciated!
 

Andrei1744

Cadet
Joined
Dec 7, 2021
Messages
6
Edit: Everytime I upload something on nextcloud, the speed stutters every 10mb. I've read something that said that I needed to change the chunk size on nextcloud, and it gave me a sudo command (The command: sudo -u www-data php occ config:app:set files max_chunk_size --value 0). I can't run sudo commands, and I was wondering if there was a way to either disable the chunk size, or just change it to be larger. Any help is appreciated!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
The commmand needs to look more like this:

sudo -u www php /usr/local/www/nextcloud/occ config:app:set files max_chunk_size --value 0

You can easily install sudo with pkg install sudo
 

Andrei1744

Cadet
Joined
Dec 7, 2021
Messages
6
The commmand needs to look more like this: sudo -u www php /usr/local/www/nextcloud/occ config:app:set files max_chunk_size --value 0 You can easily install sudo with pkg install sudo
It worked! Thank you so much for the quick help!
 
Top