DB update should be handled by paperless itself but I don’t know how it works, I just update paperless version of my addon and all the rest is done by itself, so check paperless documentation
Hi community,
in my config the title is generated based on the filename or the subject line (emails). Is it possible to auto-rename the title based on the content?
I found an older post about a post-processor. Has anybody ever tried it? Can it be run on HA Paperless-ngx??
Thank you!
It does use docker-compose so you cannot run it out of the box on the paperless add-on but maybe portainer is a workaround
Good morning,
maybe a stupid one, as i am getting stuck on…
I love this addon for paperless so wanted to migrate my current setup to my HA but failing at all ;(
I am able to get it up and running - fine…but whatever i try to do a document_import it fails…
I am always getting a “python” error - even if all docs are imported to the orginal folder, it got stuck. all docs imported, i dont see any of these…interface tells me 0 docs…
The only error i am seing at all is always this python error, even in the paperless log while starting fresh or so…
/usr/lib/python3/dist-packages/whoosh/codec/whoosh3.py:1116: SyntaxWarning:
“is” with a literal. Did you mean “==”?
wihtoug being able to “import” this makes no sense
maybe anyone had this before? or am I stupid to migrate my setup using document_importer?
Thanks!!!
M
What you copy pasted is just a warning.
Can you tell more about your set-up, do you use the last version of the addon, where have you put your files?
Sure, thanks!
As the export is not in the share folder I copy the files:
sudo docker cp -a ./export/. ee46330a3ea0:/usr/src/paperless/export/
After that i run the document importer like
sudo docker exec -it ee46330a3ea0 python3 manage.py document_importer /usr/src/paperless/export
It successfully recognizes the manifest and files - also I am getting this warning.
It shows the correct amount of files imported but anyhow i don’t see anything in paperless - still 0 docs.
After a reboot of the container the files are gone into originals … still not showing up or any tags, etc… empty …
If u want to restart the importer it tells you - not an empty installation… so it looks all fine but being in paperless all is still empty …
My guess - I am doing something completely wrong … but can’t find any documentation „how to load an export into this addon…“
Also tried to verify the UID/GID of the files etc…
I am lost
Br, Marcus
- I checked versions of paperless and both (my one do far) and the addon are on the same latest version … so no version mismatch of the manifest ( I had before so I updated my version)
Hi,
How can I get the username and password??
I configure in the 'default username section, but when I’m going to login I get the message 'wrong username or password
Thank You.
You need to pass environmental arguments
If you had run it without anything set it may have created user with a null password (it shouldn’t I need to fix that)
In this case you may need to clear the addon_config/slug_paperless
folder and restart the addon
You can also use ingress to bypass the login page (using your home assistant username)
Hey Benoit,
first thanks! Awesome that this exists!
Could you give a short explaination on that shared Network folder… i cant get it running.
I did mount the Shared drive (attached to a fritzbox) in homeassistant. Thats working. Named it “paperless”. But nothing changed. Is there anything i missed?
Exemple files are used to avoid rewriting the actual configuration file when you do updates
actually got it to work now, seems it did not want to access fritzbox itself, but now i access an USB device and remounted everything. it created consume and mediafolder itself! Nice.
But now the other issue came up with the “no writeaccess”…
You should check if the paperless folder wasn’t created locally first.
The management of shared folder is outside the scope of the addon, so I cannot really assist if something doesn’t work as expected
You can change PID and UID of the worker to match the one used on your media.
0:0 will be root user and then you have full write access
holy moly, it freakin works! THANK YOU!
Damn i celebrated to early
Seems the issue with the barcodes is happening to me as well on the raspberry:
File “/usr/local/lib/python3.11/dist-packages/billiard/pool.py”, line 1264, in mark_as_worker_lost
raise WorkerLostError(
billiard.exceptions.WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL) Job: 3.
any idea how to fix? Its not the filesize, only one page/two pages with 300 DPI
[2024-09-27 15:35:13,371] [INFO] [ocrmypdf._pipelines.ocr] Start processing 2 pages concurrently
[2024-09-27 15:35:24,236] [INFO] [ocrmypdf._pipeline] page is facing ⇩, confidence 14.14 - will rotate ↻
[2024-09-27 15:35:24,244] [INFO] [ocrmypdf._pipeline] page is facing ⇩, confidence 16.66 - will rotate ↻
[2024-09-27 15:35:44,319: ERROR/MainProcess] Process ‘ForkPoolWorker-7’ pid:16112 exited with ‘signal 9 (SIGKILL)’
[2024-09-27 15:35:46,011] [ERROR] [celery.worker.request] Task handler raised error: WorkerLostError(‘Worker exited prematurely: signal 9 (SIGKILL) Job: 6.’)
Traceback (most recent call last):
File “/usr/local/lib/python3.11/dist-packages/billiard/pool.py”, line 1264, in mark_as_worker_lost
raise WorkerLostError(
billiard.einfo.ExceptionWithTraceback:
“”"
Traceback (most recent call last):
File “/usr/local/lib/python3.11/dist-packages/billiard/pool.py”, line 1264, in mark_as_worker_lost
raise WorkerLostError(
billiard.exceptions.WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL) Job: 6.
I have the same issue after an update but I thought no one else was concerned, I thought that my my server has not enough RAM.
Can someone confirm it’s a software issue on all setups?