A supercharged version of paperless: scan, index and archive all your physical documents
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
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
: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
: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?
: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?
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.
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.
18:50:52 [Q] ERROR Can not connect to Redis server.
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?
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?