mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #148] [Dockerimage] Can't upload large documents, 413 Request Entitiy too large #114
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frenos on GitHub (Oct 3, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/148
Originally assigned to: @ciur on GitHub.
Bug Description
If you try to upload a document with a lot of pages the upload silently fails. In the browser console you see the
/uploadPOST got 413 Request Entity too large. The document I tried to upload is 10,8Mb, sadly I cant provide the file because of private data.Expected behavior
The default value should be higher and documentation updated. It would also be great if the frontend tells you if something went wrong. For private installs with trusted users it would also be nice to have an option to set the max-size to 0 (as in disable a maximum)
Desktop (please complete the following information):
@ciur commented on GitHub (Oct 3, 2020):
Hi @frenos !
Thank for opening an inssue. This bug has nothing to do with application code, it is because of webserver (application stays behind webserver) misconfiguration (apache web server configuration in case of my docker image).
I will take care of the problem, thank you again for opening the bug!
@ciur commented on GitHub (Oct 4, 2020):
modwsgi by default limits max http body size to 10MB. From modwsgi documentation:
@frenos, I will increase that value to 20 MB. Fix will be available in mid October (will be shipped with 1.5).
@ciur commented on GitHub (Oct 12, 2020):
Fix is now available as part of 1.5.0.rc1