// troubleshooting guide · seafile

Seafile Upload Failed for Large Files (413 Error)

Status
Workaround available
platforms:
Web, self-hosted server
updated:
November 16, 2026
reports:
4
Method
how we research
Share

RUNBOOK · seafile/upload-failed-large-files4 FIXES

// quick answer

Usually your reverse proxy, not Seafile: Nginx's default client_max_body_size is 1 MB. Set it to 0 (or match max_upload_size) on every block serving /seafhttp, turn off request buffering, and raise timeouts.

Most likely fix: Raise the Nginx body size

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Raise the Nginx body size

    1. 01In every server/location block that serves Seafile and /seafhttp, set client_max_body_size 0;
    2. 02Reload Nginx and retry
    3. 03Check the Nginx error log for remaining 413 entries
    Did this fix it?
  2. FIX 2Disable buffering and extend timeouts

    1. 01In the /seafhttp location add proxy_request_buffering off;
    2. 02Raise proxy_read_timeout and proxy_send_timeout (e.g. 36000s)
    3. 03Reload the proxy
    Did this fix it?
  3. FIX 3Check Seafile's own limit

    1. 01Look for max_upload_size in seafile.conf and raise or remove it
    2. 02Restart Seafile
    Did this fix it?
  4. FIX 4Use the desktop client for very large files

    1. 01Sync big files with the desktop client instead of the browser
    2. 02If it still fails, check fileserver.log for the failing request
    Did this fix it?

SANDBOX · seafile RUNS IN YOUR BROWSER

Try it: upload, share and sync files between the web and your laptop

A hands-on Seafile-style sandbox, including the spots where users get stuck. See where problems like this one start. 1-2 minutes, nothing is saved.

Symptoms

Web uploads fail with 'Request Entity Too Large' (413), 'Network error' or HTTP 500 at the end of a big upload.

Why it happens

  • C-01Nginx client_max_body_size left at the 1 MB default
  • C-02A second proxy layer (proxy manager, Cloudflare) with its own limit
  • C-03max_upload_size set in seafile.conf
  • C-04Proxy timeouts or request buffering on long uploads
  • C-05Final commit failing on 10 GB+ files

// this guide also covers

  • seafile upload failed
  • seafile request entity too large
  • seafile large file upload
  • seafile 413

Still not working?

If Seafile keeps failing, you're not alone. See every Seafile problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch Seafile Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other Seafile errors

All 11 Seafile errors and fixes →