Fix: Nextcloud Chunk Size Issue
I found that setting the maximum chunk size to 50 MB (half of Cloudflare’s 100 MB upload limit) effectively resolves this issue until you get caught.
Below is a brief guide on how to apply this fix for the latest stable Nextcloud release (v3.4.4), though it should work for any version from v3.4 onward. I’ve kept the instructions as simple as possible for easy implementation.
Windows Fix
-
Press
Win+Rto open the Run application. -
Paste the following into the dialog box:
%APPDATA%\Nextcloud\nextcloud.cfg -
This will either prompt you to choose an application to open
nextcloud.cfgor open it with your default text editor (unless another program is set to handle.cfgfiles). If prompted, you can use Notepad or any text editor. -
Under the
[General]section, add the following line:maxChunkSize=50000000 -
Save the file, quit the Nextcloud desktop client, and restart it.
macOS Fix
-
Open Finder and press
Command+Shift+Gto bring up the “Go to Folder” dialog. -
Paste the following into the dialog box:
$HOME/Library/Preferences/Nextcloud -
Open the
nextcloud.cfgfile. If you do not have a default editor for.cfgfiles, you can open it with TextEdit. -
Under the
[General]section, add the following line:maxChunkSize=50000000 -
Save the file, quit the Nextcloud desktop client, and restart it.
Linux Fix
-
Open a terminal and edit the following file:
nano $HOME/.config/Nextcloud/nextcloud.cfg -
Under the
[General]section, add the following line:maxChunkSize=50000000 -
Save the file (
Ctrl+Oto save,Ctrl+Xto exit), quit the Nextcloud desktop client, and restart it.