decaporg / decaporg/decap-cms

netlify-cms-proxy-server throws errors when collective filesize of medialibrary exceeds some limit

Open
#6,731 6 comments 0 reactions 0 assignees View on GitHub
area: media-library
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

regarding: https://github.com/decaporg/decap-cms/issues/5472#issuecomment-1468781556

> Disabling publish_mode as in https://github.com/Knogobert/ntn-boilerplate/issues/2#issuecomment-785077531 resolved the issue for me.

> This didn't work, I did some git bisect'ish work and discovered that my guy had been uploading 30mb images (lol).

> Removing a number of these suddenly made the error go away.

> interesting to note: The error only occured when trying to view the CmsCollectionFile types of collections.

**Describe the bug**

have lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and lots and of images that are 30mb and over in size for the media library to load.

**To Reproduce**

create a massive amount of images....

**Expected behavior**

no error

**Screenshots**

see linked issue thread: https://github.com/decaporg/decap-cms/issues/5472#issuecomment-1468781556

**Applicable Versions:**

- Netlify CMS version: [e.g. 2.0.4]
- Git provider: [e.g. GitHub, BitBucket]
- OS: [e.g. Windows 7]
- Browser version [e.g. chrome 22, safari 11]

- Node.JS version:

**CMS configuration**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.