Paperless NGX: Externally Managed Environment Error

This morning I wanted to upgrade my paperless instance on Debian 12 to the latest version 2.14.1. Unfortunately, the installation of the requirements.txt via pip resulted in the following error: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 error: externally-managed-environment ร— This environment is externally managed โ•ฐโ”€> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install....

January 14, 2025

Paperless NGX: NLTK Quickfix

This is just a small fix for you guys facing the following error while consuming new documents in paperless. Due to a vulnerability, the NLTK tokenizer had to be bumped to a recent version. But there seems to be a problem with bare metal installations. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Doc.pdf: The following error occurred while storing document Doc.pdf after parsing: ********************************************************************** Resource punkt_tab not found....

August 24, 2024

Paperless NGX: Conversion between UTF8 and SQL_ASCII is not supported

Maybe it will help some of you, but I just had an error updating 2.8.0 on my bare metal Paperless NGX instance. When trying to migrate the changes, the following error occured: Conversion between UTF8 and SQL_ASCII is not supported In fact, my Postgres database was set to SQL_ASCII instead of UTF-8, so it helped to rebuild the database. Make sure to backup/snapshot everything in case something goes wrong, I managed to kill my instance while fiddling around with this ๐Ÿ˜„...

May 8, 2024