Nextcloud Chunk Size Issue (Cloudflare Upload ByPass)

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

  1. Press Win+R to open the Run application.

  2. Paste the following into the dialog box:

    %APPDATA%\Nextcloud\nextcloud.cfg
    
  3. This will either prompt you to choose an application to open nextcloud.cfg or open it with your default text editor (unless another program is set to handle .cfg files). If prompted, you can use Notepad or any text editor.

  4. Under the [General] section, add the following line:

    maxChunkSize=50000000
    
  5. Save the file, quit the Nextcloud desktop client, and restart it.

macOS Fix

  1. Open Finder and press Command+Shift+G to bring up the “Go to Folder” dialog.

  2. Paste the following into the dialog box:

    $HOME/Library/Preferences/Nextcloud
    
  3. Open the nextcloud.cfg file. If you do not have a default editor for .cfg files, you can open it with TextEdit.

  4. Under the [General] section, add the following line:

    maxChunkSize=50000000
    
  5. Save the file, quit the Nextcloud desktop client, and restart it.

Linux Fix

  1. Open a terminal and edit the following file:

    nano $HOME/.config/Nextcloud/nextcloud.cfg
    
  2. Under the [General] section, add the following line:

    maxChunkSize=50000000
    
  3. Save the file (Ctrl+O to save, Ctrl+X to exit), quit the Nextcloud desktop client, and restart it.

1 Like

Recently I’ve got that problem! Thnak you for tutorial hhf! :smiling_face:

1 Like