Seafile return Entity Too Large on upload file

Hellooo community,

I try to upload file on Seafile, but i’ve this error : 413 Request Entity Too Large.

My file is an .psd and the size is 97mb.

You can see my seafile.conf file, using docker :

docker-compose exec seafile bash                                                                                                                                                              

root@ff9aa55201db:/seafile# cat conf/seafile.conf

[fileserver]
port = 8082
host = 127.0.0.1
max_upload_size=2000
max_download_dir_size=2000

[database]
type = mysql
host = mysql
port = 3306
user = seafile
password = seafile
db_name = seafile_db
connection_charset = utf8

For https, i use LetsEncrypt companion container for nginx-proxy docker container.

After updated my conf file, i’ve restart my container but no change. I can upload only small file size.

Anyone have already have this problem with docker ?

Thank you community !

Most likely the 413 is returned by nginx, not seafile server. To fix that, search client_max_body_size inside the forum.

1 Like

Hello @lins05

Okay, but the problem is from seafile docker image (using nginx ?) or my nginx proxy ?