Fails to upload a file

(Franz) #1

I’m reviving this issue: Discourse Meta.

I tried to upload two files (via drag & drop to the post editor). The first file (1035 KB) uploaded fine, but the second file (3299 KB) fails to upload: the upload progress counter restarts at 0% many times and never reaches 100%.

The max upload size is set to 50 MB in the settings.

Any idea what’s going on?

(Kane York) #2

You’re going to need to tell NGINX that it should be allowing uploads of up to 50MB. You’ll need to do this with a replace command in the app.yml container definition file.

Someone else can tell you the exact command…

(Franz) #3

Thanks, something like this maybe? Riding the Clutch — Upload filesize limit and nginx

(Régis Hanol) #4

That’s the one :wink: Here’s how to do it

(Franz) #5

Works perfectly, thanks a lot!

(Régis Hanol) #6