# Nextcloud Chunk Size Issue (Cloudflare Upload ByPass)

**URL:** <https://forum.hhf.technology/t/nextcloud-chunk-size-issue-cloudflare-upload-bypass/92>\
**Category:** Tutorials\
**Tags:** nextcloud\
**Created:** [October 9, 2024, 11:13am UTC](https://forum.hhf.technology/t/nextcloud-chunk-size-issue-cloudflare-upload-bypass/92 "2024-10-09T11:13:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [October 9, 2024, 11:13am UTC](https://forum.hhf.technology/t/nextcloud-chunk-size-issue-cloudflare-upload-bypass/92/1 "2024-10-09T11:13:42Z")

</div>

# 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:

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:

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:

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:

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

## Linux Fix

1. Open a terminal and edit the following file:

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

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

---

<div class="post-metadata">

**Author:** ![amkindly](https://forum.hhf.technology/user_avatar/forum.hhf.technology/amkindly/32/17_2.png) [@amkindly](https://forum.hhf.technology/u/amkindly)\
**Post date:** [October 9, 2024, 2:38pm UTC](https://forum.hhf.technology/t/nextcloud-chunk-size-issue-cloudflare-upload-bypass/92/2 "2024-10-09T14:38:28Z")

</div>

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