0
Answered

Cannot upload big file via webdav or web browser

mito.archaea 4 months ago updated by Vlad R 4 months ago 3

Hi, thanks for the prompt answering in my other thread, and thanks for creating such a nice product!

I am now using filerun to manage the NAS. The problem I ran into is that uploading files > 10MB will not succeed. Including:


  1. Upload from my cell phone (iphone) with WebDAV, it gets 413 request too large.
  2. Upload from desktop web browser, it makes several attempts, restarts at ~ 10MB, and then declare failure.
  3. Activity log does not seem to show anything.

Reading the other thread, I also bumped up the "post_max_size" and "max_upload_filesize" to 100MB in PHP, by modifying ".htaccess" and verified with phpinfo().


Thank you for your time!

Answer

Answer

Yes, you are absolutely right. My filerun instance is placed behind nginx, which imposes some limit. Bumping up 

client_max_body_size

in nginx solved the issue. Thanks a lot for the help!

+1
Under review

I doubt the problem is from FileRun, or Apache. I remember you mentioning Docker. If that is the case, your problem is most probably from a reverse proxy you are using.

Answer

Yes, you are absolutely right. My filerun instance is placed behind nginx, which imposes some limit. Bumping up 

client_max_body_size

in nginx solved the issue. Thanks a lot for the help!