Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jonas Winkler
    @jonaswinkler
    According to the information you posted, the change that's responsible for your issues happened between 1.0 and 1.1.
    Marco Everts
    @Marcopolox13
    Ah OK cool - will try it later at home
    Thanks
    Marco Everts
    @Marcopolox13
    Hey, I did it like you sayed, first it worked perfectly. Everything there was in the consum folder got consumed correctly, but now, where I tried loading new pdfs in, I get error again.

    consuming document Scan02122021170418.pdf: [Errno 12] Cannot allocate memory

    2/12/21, 5:04 PM INFO Consuming Scan02122021170418.pdf

    2/12/21, 4:59 PM ERROR Error while consuming document 20210212171335_001.pdf: [Errno 12] Cannot allocate memory

    2/12/21, 4:59 PM INFO Consuming 20210212171335_001.pdf

    Jonas Winkler
    @jonaswinkler
    @Marcopolox13 I've addressed this issue in 1.1.2.
    Marco Everts
    @Marcopolox13
    Ok cool thanks
    Lenny.
    @lenny:com.flipdot.dev
    [m]
    hey

    so I have a general quastion:
    I'm currently ingesting a lot of docs and I sometimes create new correspondents, or tags when editing the data with world

    however when I go to the next document, that clearly matches these rules, they are not auto applied

    will new tag rules and stuff only be applied to documents ingested after their creation? is there a way to rerun tagging?
    Lenny.
    @lenny:com.flipdot.dev
    [m]

    :point_up: Edit: so I have a general quastion:
    I'm currently ingesting a lot of docs and I sometimes create new correspondents, or tags when editing the data with word matching and stuff

    however when I go to the next document, that clearly matches these rules, they are not auto applied

    Rodrigo Avelino
    @rodavelino
    Azelphur
    @azelphur:azelphur.com
    [m]
    Hey folks, curiosity question. Has any thought been given to multi user support? I had a quick look and it seems like Documents aren't tied to a user. So I'm guessing not?
    Johann Bauer
    @bauerj
    Hey @jonaswinkler, I'm trying to add edit functionality to the app. When I send a DELETE request (like curl -X DELETE https://paperless.example/api/document/1-H "Authorization: Basic XY"), I get a 403 back, telling me I'm missing a CSRF token 😮
    Is this a bug or am I missing something?
    https://github.com/jonaswinkler/paperless-ng/issues/745#issuecomment-797680083 - looks like it should be fixed but I still see it in 1.4.1
    Kenny Stier
    @KennyStier
    Trying to get started with paperless-ng, but docker is throwing errors on first start
    Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time PermissionError: [Errno 1] Operation not permitted
    bauerj
    @bauerj:matrix.org
    [m]
    What hardware is this on? amd64?
    Toushin Taishi
    @toushin.taishi:matrix.org
    [m]

    :point_up: Edit: I'm trying to post a document using the API using PHP and curl.

    $ch = curl_init();
    $data = array('document' => "@/tmp/1.pdf",'title' => "test upload");

    curl_setopt($ch, CURLOPT_URL, 'http://<ipaddress>:8000/api/documents/post_document/');
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Token <token>','Content-Type: multipart/form-data'));
    curl_exec($ch);
    curl_close($ch);

    However, Though there seems to be any error the PHP file, the file does not seems to be uploaded nor process by paperless-ng.
    Does anyone has a working example on how to upload to paperless-ng via API?

    Toushin Taishi
    @toushin.taishi:matrix.org
    [m]

    :point_up: Edit: I'm trying to post a document using the API using PHP and curl.

    $ch = curl_init();
    $data = array('document' => "@/tmp/1.pdf",'title' => "test upload");
    curl_setopt($ch, CURLOPT_URL, 'http://<ipaddress>:8000/api/documents/post_document/');
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Token <token>','Content-Type: multipart/form-data'));
    curl_exec($ch);
    curl_close($ch);

    However, Though there seems to be any error the PHP file, the file does not seems to be uploaded nor process by paperless-ng.
    Does anyone has a working example on how to upload to paperless-ng via API?

    Toushin Taishi
    @toushin.taishi:matrix.org
    [m]
    Hello. Is there a configuration option to allow uploading of duplicate files. (considering the filename is different)
    Toushin Taishi
    @toushin.taishi:matrix.org
    [m]
    or can the duplicate check be disabled at all?
    PT
    @tkpault

    Running paperless-ng docker on Unraid 6.9.2. Have tried looking for the error I get online without any success. This is the error I get if I try to consume Word documents - File type application/vnd.openxmlformats-officedocument.wordprocessingml.document not supported.

    Probably a simple tweak or something I missed in the configuration. TXT files and PDF work flawlessly. Great application by the way. Thank you.

    PT
    @tkpault
    Is it because I don't have Office installed?
    Toushin Taishi
    @toushin.taishi:matrix.org
    [m]
    Did you enabled Tika & Gotenberg?
    Paperless can make use of Tika and Gotenberg for parsing and converting “Office” documents (such as “.doc”, “.xlsx” and “.odt”). If you wish to use this, you must provide a Tika server and a Gotenberg server, configure their endpoints, and enable the feature.
    PT
    @tkpault
    Hi. Yeah as usual went straight for the juicy bit. Have seen the write up now on that. Wasn't able to find much on how to do it properly with Unraid. Have got both running in some hideous form at the moment. Have tried adding some of the variables into the Paperless-ng config but then saw it should be added to the webserver service?
    image.png
    image.png
    PT
    @tkpault
    The 2 docker containers for Apache Tika and for Gotenberg are the ugly attempts in the above picture that I spawned - amazing-german and the naughty-kalam ones. Not sure how to make them proper containers.
    Toushin Taishi
    @toushin.taishi:matrix.org
    [m]
    i have no experience with unraid
    jplamb13
    @jplamb13
    Hello, I am trying to rerun the document retagger process but am not sure what i need to do. I have found the guidance at the link below and have Paperless-ng running in docker using a docker compose file (Windows Host Machine). do i enter the command in the CLI using the docker GUI? https://paperless-ng.readthedocs.io/en/latest/administration.html#document-retagger
    biune
    @biune:matrix.org
    [m]
    I'm getting this error when starting the stack, I'm using windows, here's the log:
    18:50:52 [Q] ERROR Can not connect to Redis server.
    mikr
    @mikr:davralin.work
    [m]

    Greetings,
    I'm a little confussed regarding backups.
    As I can read from https://paperless-ng.readthedocs.io/en/latest/administration.html#making-backups - I should use the document exporter when I have a bare-metal-install.
    When I run this with containers, it says I need to ensure that paperless is stopped and then to copy the container-volumes.

    I, however, run this with kubernetes - having to stop the containers to backup the volumes is sort-of an anti-pattern (but doable as a last resort..)

    So, can I use the document exporter to a path that I regularly backup?
    If so, do I need a dump from the database?

    Or is stopping the application-container, copying the volumes and the database, and then starting the application-container the only route?

    mikr
    @mikr:davralin.work
    [m]
    To answer myself, use document_export/import for backup/restore - that deals with the database and such.
    Pär Strindevall
    @parski

    Anyone familiar with mounting host directories in a Docker container? I have a network mount from my NAS where I want to store everything paperless-ng is managing. This network mount is at /documents on my host. I want to mount it at the same path within my container. To do this I try to run:

    $ docker-compose run -v /documents:/documents webserver

    Then I get these errors:

    ERRORS:
    ?: PAPERLESS_CONSUMPTION_DIR is set but doesn't exist.
        HINT: Create a directory at "/documents/consume"
    ?: PAPERLESS_MEDIA_ROOT is set but doesn't exist.
        HINT: Create a directory at "/documents/media"

    But those directories are present in my host:

    $ ls /documents
    consume  data  export  media

    What am I doing wrong?

    bbigras
    @bbigras:matrix.org
    [m]
    Is there plans for a standalone version? like on desktop. I like paperless-ng a lot, but I'm not sure my mom could use it.
    Stelian Iancu
    @siancu
    Hello everybody!
    marcopolox13
    @marcopolox13:chat.marco-everts.net
    [m]
    Hey
    Torwag
    @torwag
    @bbigras:matrix.org your mum could easily use it if you host it for her somewhere (even on a raspberry pi at her home). That has the benefits that you can maintain it remotely (with the correct setup) and independent of your mothers computer it would work. Less concern about ransomware or viruses.
    2 replies
    Torwag
    @torwag
    @parski the second folder needs to be the name inside the docker container. This is usually fixed and should not be changed as the program (here paperless NG) is configured to look for this particular folder. E.g. it looks for a folder /input/ to consume files (out of my head, it could be something else, but the docs of the container usually tells you). The beauty of docker is that you can mount any directory of your host system into a container and it appears there under the different name. Hence /documents:/input will make the host folder documents available in the container as /input. Be aware you might sometimes have permission problems to access those folders and read or write from/to them. That might be even more true if the host folder holds an NFS mount. That is something you have to sort out as a second step.
    Markus
    @mskg
    Hi everyone! I have a quick question. Is this project still actively maintained?
    makpith
    @makpith
    upload stuck on barematl setup
    1 reply
    anyhelp
    makpith
    @makpith
    hello
    Markus
    @mskg
    This is dead here. Don’t expect an answer. Try github questions - there is some active people.
    shamoon
    @shamoon
    Hello -ng users! A group of us are hoping to keep this project alive and have our first release to share. See https://github.com/paperless-ngx/paperless-ngx , we hope to have you (as users and / or contributors!)
    peterge
    @peterge:matrix.org
    [m]
    Hi, regarding PAPERLESS_URL, i fail setting paperless-ng up on truenas scale. The docs say this variable can contain 3 vaules, ALLOWED_HOSTS, CORS_ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS, what do the last two mean? What do i need to enter? I get a csrf error when paperless is running without this var set on https://paperless.domain.de. With the var set to https://paperless.domain.de i get Startup probe failed: dial tcp 172.16.0.58:8000: connect: connection refused. Setting it to https://paperless.domain.de/ gives Back-off restarting failed container, which is wrong because i have to remove the final /. How do i need to set this var for the app being available on https://paperless.domain.de and have a working database?
    Sry, i dont get this