Bug with paperless-ngx update

What app is this about, and its version: paperless-ngx 2.20.3~ynh1
What YunoHost version are you running: 12.1.37
What type of hardware are you using: Virtual machine

Describe your issue

The last version of paperless-ngx is not working. It seems to be linked to pgsql and django

Share relevant logs or error messages

Failed service consumer: hastebin
Failed service scheduler: hastebin
Failed service task-queue:
hastebin

Failed forced update: https://paste.yunohost.org/raw/feyejuguja

same problem as in Paperless doesn't start ?

I have version 2.20.3~ynh1 and it is working fine on my Pi.

@jedie I am not sure it is the same thing, I do not get any error message on the configuration panel of the app.

After a lot of digging around in /var/www/paperless-ngx, I solved this by reinstalling psycopg-c within paperless’s venv. I don’t know if this was due to something weird in my setup (I have three versions of pgsql installed, including 15.xy which is coherent with the logs, but I couldn’t find any evidence that the corresponding libpq.so were used)…?

Anyway, I’ll mark this as solved, but I don’t know if I should make this into an issue on github ¯\_(ツ)_/¯

I fixed my problem by deinstall the app and restore the last backup.

Then i tried to update from 2.17.1~ynh1 to 2.20.3~ynh1 but it doesn’t work, because of:

PostgreSQL 14 or later is required (found 13.20).

@wazdra How to fix that? See: Paperless doesn't start - #4 by jedie

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.