Replies: 2 comments 7 replies
-
Oh wow. Don't use ../../ here. I didn't even think of that, but I'll probably add a check that prevents that. Paperless organizes your documents in two folders:
When you set PAPERLESS_FILENAME_FORMAT="{title}", this will cause paperless to create the following files for a document with the title "invoice":
If you add "../../" prior to that, paperless would like to create these two files instead:
Since that's impossible, paperless adds _01 to one of the files. Paperless will always append _01, _02 etc to a file if it would otherwise overwrite an already existing file. |
Beta Was this translation helpful? Give feedback.
-
ah understood. Thank you for the quick answer. I just tried to get the folders YEAR -> DOCTYPE -> any.pdf to be created outside of documents/archive that the folder tree doesn't get too deep and to have it on root level of my external drive (less clicks when I go through it via samba share). Is there any way to achieve this? Otherwise I'll live with that... Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi everyone.
First of all: paperless-ng is very nice. I really like it. It is exactly what I was looking for.
I am still doing a setup for my needs.
paperless-ng is running in a docker container on OMV on a rpi4. So far so good, performance is ok.
My problem is that some (not all) of the consumed are moved to the right location according to my FILENAME env variable but get a copy with a _01 attached. So I have file.pdf and file_01.pdf.
This happens to like 50% of my files. I think all of them are scanned.
I assume that this has something to do with the OCR and that the _01 file is a optimized version.
Is there a way to prevent paperless-ng from doing that or just overwriting the original one with a optimized version?
These are the env I added into portainer:
PAPERLESS_FILENAME_FORMAT | ../../{created_year}/{document_type}/{title}
PAPERLESS_TIME_ZONE | Europe/Berlin
PAPERLESS_OCR_MODE | skip_noarchive
PAPERLESS_OCR_CLEAN | none
PAPERLESS_OCR_DESKEW | false
PAPERLESS_OCR_LANGUAGE | deu
PAPERLESS_OCR_ROTATE_PAGES | false
PAPERLESS_OCR_OUTPUT_TYPE | pdf
PAPERLESS_OCR_PAGES | 1
Thanks for your suggestions!
Stephan
Beta Was this translation helpful? Give feedback.
All reactions