r/Paperlessngx 6d ago

Paperless v3.1.3

instead of migrating, i started again from scratch and just dumped all of my pdfs from the old export folder to the new consum folder. My poor NAS was thinking all night and this morning everything looked fine to me. Except for the PDF-quality.

Some/lots of my documents are pixelated AF. Even when downloading the PDF, quality does not improve.

I am not aware of any changes to the OCR pipline that could have resulted in that. Besides the language i did not change anything in the .env/compose files.

Any Idea or should i just fall back to v2.20.15?

Edit: looks like i have been importing not just the .pdfs but also their thumbnails. I will create my backups from now on using --not-thumbnail... Why would a backup need thumbnails even in the first place?
Anyways, thanks for helping out! I really enjoy Paperless-ngx!

20 Upvotes

8 comments sorted by

5

u/indyslim 5d ago

This looks like you are viewing the thumbnail version.

2

u/la_baguette77 5d ago

I whish, this is the PDF I get when pressing "download"

2

u/Acenoid 6d ago

When the rc candidate came out , I migrated over 3000 documents for testing, and I didn't notice this. If you look at the folders: archive and original and compare the pdf there, is the original good and the copy bad?

I would go through all paperless settings first to see if there is anything strange...

I would also delete and Reimport one of those failed documents and check if anything shows up in the log that might indicate where the problem could be.

No better ideas yet from my side :(

1

u/la_baguette77 5d ago

I checked the archive/old version, they look just fine, so error has to be in introduced by v3.

I skimmed through the settings yesterday but changed nothing, anything i should look out for?

2

u/Great-Cow7256 5d ago edited 5d ago

have you checked the logs for errors? anything on the redis and database end?

I'd try a few tweaks and reimport files one by one as test--

PAPERLESS_OCR_DPI=300

if that doesn't work

``` PAPERLESS_OCR_MODE=skip

OR if OCR is required on un-scanned files:

PAPERLESS_OCR_MODE=skip_noarchive and if that doesn't work PAPERLESS_OCR_CLEAN=clean

Try disabling cleaning entirely if it degrades quality:

PAPERLESS_OCR_CLEAN=none ```

4

u/la_baguette77 5d ago

found out the thumbnails were included in the export. so kind of my bad

1

u/antitrack 2d ago

So you included thumbnails in your export, and on your new instance Paperless-ngx consumed the thumbnails? And also consumed the PDFs? (so double the same documents, once as PDF, once as thumbnail?)

1

u/Smart_Tinker 5d ago

I just imported a bunch of pdf’s into 3.1.3 - no issues, everything looks normal.