Files not getting synced (413 Request Entity Too Large)

i had to set this as well in the nginx conf inside the linuxserver nextcloud image. my swag nginx and nextcloud proxy confs were both set to 0 already.

i dug in and looked at this file as well, its the same as yours but i didnt need to change this in the linuxserver image. just the nginx config.

Well I am using Cloudflare’s Tunnel too and that " As it turns out the free plan limits “Maximum Upload Size” to 100 MB " gave me an idea:

I went to windows’ Nextcloud Desktop client configuration file
(found

  • On Linux distributions:
    $HOME/.config/Nextcloud/nextcloud.cfg
  • On Microsoft Windows systems:
    %APPDATA%\Nextcloud\nextcloud.cfg
  • On macOS systems:
    $HOME/Library/Preferences/Nextcloud/nextcloud.cfg
    )

and added under [General] the following 2 lines:
timeout=1200
maxChunkSize=100000000

I limit the maximum chunk size to under 100MB that Cloudflare’s free plan imposes and that solved for me that terrible “413 Request Entity Too Large” error

You’re my hero. That solved it for me.
THANK YOU!

I get the same error, but with the Android client.

I already added:

client_max_body_size 10G;
client_body_buffer_size 400M;

to the config. Still have the error.

It still shows:

Maximale Größe zum Hochladen: 512 MB (maximum size for upload)

in /settings/admin/serverinfo

@Simon2018 See the chapter covering big file uploads in the Admin Manual. If still stuck, I suggest creating your own thread containing the specifics of your environment/installation.