Paperless-ngx

After my old paperless-ngx installation went out of date because the old docker image wasn’t updated anymore, I needed an alternative.

Found it quick. This article in German explains it quite good: https://www.synology-forum.de/threads/paperless-ngx-dms-via-docker-auf-dem-nas.124614/page-12#post-1068063.

Sadly, I've got an error while installing the Postgres Database.

django.db.utils.OperationalError: could not translate host name "db" to address: Name or service not known

So yeah, the Database was not running, and I postponed it to look deeper because I had no time.

Months later, finally today, I had time to look into it. The reason the Database was not running, was of another error. 🎉 There were conflicts with /var/lib/postgresql/data. So I deleted the folder and try&error'ed my way through it, but with no success.

I was thinking of giving up and trying another way, or just using paid hosting. But then, I had the idea to just rename the links to /var/lib/postgresql/data. From the config changed this part:

- ../pgdata:/var/lib/postgresql/data2
- /volume1/docker/paperlessngx/exportpostgres:/var/lib/postgresq/data2/backup

From data to data2. Just to test. This worked and I'm happy now. :) Currently, I'm importing my old scanned documents. Sadly, I need to add new tags. I missed making a backup from the old installation, but I see it also as a new, fresh start. :)


1/100 of #100DaysToOffload

#log

Discuss...