Report this

What is the reason for this report?

Parse Server Max Upload File Size

Posted on February 16, 2016

Hi all,

I am working on migrating a Parse application over to a Digital Ocean droplet and am running into an issue when uploading a file. The droplet is Ubuntu 14.04.3 x64.

I started by installing the MongoDB and Node prerequisites that are required for Parse Server, and then installed Apache2. When running Parse, I am able to register new users, save objects, etc. The issue now is that the image files are too large for what the server is configured to accept.

I have edited the apache2.conf file to set LimitRequestBody 0 to remove the file size restriction and restarted the service. When the file upload is finished, the console outputs:

Uncaught internal server error. { [Error: request entity too large] expected: 1356501, length: 1356501, limit: 102400, status: 413, statusCode: 413, message: ‘request entity too large’, . . .

Is anyone aware of another place that I need to update in order to make the server accept larger files? Any help would be appreciated.

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Can you explain the reason for using Apache ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.