Filebrowser: Upload Large Files on Docker Image

Created on 3 Apr 2019  路  3Comments  路  Source: filebrowser/filebrowser

Description
A clear and concise description of what the issue is about. What are you trying to do?

I am trying to upload large files (20mb) to the docker image of filebrowser. This is being run from rancher 2.2.

Expected behaviour
What did you expect to happen?
File to be uploaded.

What is happening instead?
Please, give full error messages and/or log.

I see a pop up that says 413 Request Entity Too Large nginx/1.15.6.

Additional context
Add any other context about the problem here. If applicable, add screenshots to help explain your problem.

It occurs to me that this might due to rancher's proxy but wanted to check to make sure FileBrowser can handle large files.

How to reproduce?
Tell us how to reproduce this issue. How can someone who is starting from scratch reproduce this behaviour as minimally as possible?

Run Rancher 2.2 and load filebrowser. Than load big file.

Files
A list of relevant files for this issue. Large files can be uploaded one-by-one or in a tarball/zipfile.

Most helpful comment

For anyone else with this problem, the nginx parameter that needs changing is client_max_body_size. Set it to zero to disable any limits on upload file size. Like so:

location / {
    client_max_body_size 0;
    proxy_pass http://backendserver:8080/;
}

All 3 comments

It was the Rancher proxy causing the issue. This is resolved now.

Glad you solved it!

For anyone else with this problem, the nginx parameter that needs changing is client_max_body_size. Set it to zero to disable any limits on upload file size. Like so:

location / {
    client_max_body_size 0;
    proxy_pass http://backendserver:8080/;
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

princemaple picture princemaple  路  6Comments

lonix1 picture lonix1  路  5Comments

Marneus68 picture Marneus68  路  6Comments

GuyPaddock picture GuyPaddock  路  3Comments

mozzbozz picture mozzbozz  路  4Comments