Opened 8 years ago

Closed 5 years ago

#5496 closed enhancement (fixed)

413 Request Entity Too Large

Reported by: Jorge Owned by:
Priority: trivial Milestone:
Component: documentation Keywords: webserver, configuration
Cc: Parent Tickets:

Description

nginx/1.10.2
mediagoblin 0.9.0

  1. setup production environment using nginx and systemd
  2. enable audio: https://mediagoblin.readthedocs.io/en/latest/siteadmin/media-types.html#audio
[plugins]
[[mediagoblin.plugins.geolocation]]
[[mediagoblin.plugins.basic_auth]]
[[mediagoblin.plugins.processing_info]]
[[mediagoblin.media_types.image]]
[[mediagoblin.media_types.video]]
[[mediagoblin.media_types.audio]]
[[mediagoblin.media_types.pdf]]
  1. upload an audio file
  2. see "413 Request Entity Too Large"

No further info in /var/log/nginx/mediagoblin.error.log and /var/log/mediagoblin/paster.log.

Attachments (1)

0001-Instruct-to-raise-nginx-upload-size-Resolves-5496.patch (900 bytes ) - added by Jorge 8 years ago.
Improve documentation: Increase client_max_body_size in /etc/nginx/sites-enabled/mediagoblin.conf for larger medea files.

Download all attachments as: .zip

Change History (4)

by Jorge, 8 years ago

Improve documentation: Increase client_max_body_size in /etc/nginx/sites-enabled/mediagoblin.conf for larger medea files.

comment:1 by ayleph, 8 years ago

Component: programmingdocumentation
Keywords: webserver configuration added
Priority: majortrivial
Type: defectenhancement

This is an error with the web server configuration, not with MediaGoblin itself. Accordingly, I'm going to mark this documentation patch as a trivial enhancement rather than a major defect. Not everyone uses nginx, so the proposed change to the documentation isn't applicable to all users. But it's a good start on a small change we could introduce to make deploying easier.

comment:2 by ShawnRisk, 6 years ago

Status: newreview

comment:3 by Ben Sturmfels, 5 years ago

Resolution: fixed
Status: reviewclosed

I've increased our Nginx default to 100m and significantly improved the docs on this, including explitly mentioning that error message:

http://git.savannah.gnu.org/cgit/mediagoblin.git/commit/?id=5224d700dde21342535e0e79b3c521dd447aed21

Closing this as fixed!

Note: See TracTickets for help on using tickets.