Code Monkey home page Code Monkey logo

Comments (13)

drtechnofreak avatar drtechnofreak commented on June 1, 2024 1

DMS
Thankyou so much.. I'll test to see if it works now :)

from papermerge.

ptitboogy avatar ptitboogy commented on June 1, 2024

Hello,
I've got the same issue with file as small as 2,2 MB.
How are we supposed to bulk import big documents ?

Thanks

from papermerge.

ciur avatar ciur commented on June 1, 2024

My guess is that the issue may be with the configurations in this file:

https://github.com/papermerge/docker/blob/master/papermerge/nginx.conf

(according to this article: https://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/)

I mean, in nginx config should be added a line like:

client_max_body_size 100M;

where "100M" is the max document size you can upload.

from papermerge.

ptitboogy avatar ptitboogy commented on June 1, 2024

Hi Eugen,

I made the change directly in the running docker image and I confirm that it's working as expected.
@ciur : Can you please add this parameter with a reasonable value for the next image you will build ?

Many thanks for your support.

from papermerge.

drtechnofreak avatar drtechnofreak commented on June 1, 2024

Hi Guys,

I'm struggling to find the nginx config file within the docker..

Can someone give me the container & path I should be looking for?

Cheers

from papermerge.

ptitboogy avatar ptitboogy commented on June 1, 2024

The file to modify within the container is /etc/nginx/nginx.conf
You can add this parameter in the "server" section

from papermerge.

drtechnofreak avatar drtechnofreak commented on June 1, 2024

Hi, When I try to CD to etc. I get "permission denied: unknown"

I can only get to bin/app I have checked & I am under root with docker exec

from papermerge.

ptitboogy avatar ptitboogy commented on June 1, 2024

image
image

from papermerge.

drtechnofreak avatar drtechnofreak commented on June 1, 2024

Well it fixed the web upload, but the papermerge-cli is still reporting the same error.

I don't want to upload using web as it's a long process with the amount of files I have.

Hopefully fixed in the next pull :0

from papermerge.

ptitboogy avatar ptitboogy commented on June 1, 2024

Oops, I forgot to mention that you should restart the nginx service too ...
/etc/init.d/nginx restart
Because it is working on my side and as I understood the parpermerge-cli command use the same REST API

from papermerge.

ciur avatar ciur commented on June 1, 2024

I released 2.1.9 which contains above mentioned fix. The max size for uploaded document (max size one document can have) is hardcoded to 100 MB.

I also updated "Import Folders/Document" section in the documentation with instructions about --taget-uuid option.

Please don't forget to close the ticket in case you think the issue was resolved.

from papermerge.

ptitboogy avatar ptitboogy commented on June 1, 2024

Hi,

@ciur : For me it's ok but I'll let @drtechnofreak the opportunity to close his ticket.

from papermerge.

drtechnofreak avatar drtechnofreak commented on June 1, 2024

image
Lovely stuff chaps..

I'll see how far PaperMerge can go with around 400gb of PDF's :)

from papermerge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.