// 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
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
FIX 1Raise the Nginx body size
- 01In every server/location block that serves Seafile and /seafhttp, set client_max_body_size 0;
- 02Reload Nginx and retry
- 03Check the Nginx error log for remaining 413 entries
Did this fix it?FIX 2Disable buffering and extend timeouts
- 01In the /seafhttp location add proxy_request_buffering off;
- 02Raise proxy_read_timeout and proxy_send_timeout (e.g. 36000s)
- 03Reload the proxy
Did this fix it?FIX 3Check Seafile's own limit
- 01Look for max_upload_size in seafile.conf and raise or remove it
- 02Restart Seafile
Did this fix it?FIX 4Use the desktop client for very large files
- 01Sync big files with the desktop client instead of the browser
- 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 usThe same problem in other apps
Other Seafile errors
- Seafile 403 CSRF Verification Failed
- Seafile 502 Bad Gateway After Upgrade
- Seafile Client Not Syncing
- Seafile 'Error When Indexing' / Failed to Index File
- Seafile Not Freeing Disk Space
- Seafile OnlyOffice 'Download Failed' Error
- Seafile Pro Shows Community Edition After Upgrade
- Seafile Encrypted Library Forgot Password