Hi everybody
Habe gerade ein Update auf die Version 2.18.1 gemacht. Hat alles gut funktioniert. Beim Befehl sudo docker-compose up erscheint folgende Meldung am Schluss, welche alle 10 Sekunden neu erscheint und endlos läuft.
paperless-1-db-1 | 2025-08-19 16:06:25.278 UTC [112] HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
ChatGPT meint, dass die DB ein refresh erhalten soll und allenfalls ein reindex. Was haltet ihr davon? Habt ihr dieses Problem auch?
Habs so gemacht wie im Synology-Forum und bekomme diese Meldungen. Hab auch nochmals die Container neu gestartet. Hat nichts gebracht bis jetzt.
2025-08-20 15:43:58.000 UTC [40] WARNING: database "template1" has a collation version mismatch
paperless-1-db-1 | 2025-08-20 15:43:58.000 UTC [40] DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.41.
paperless-1-db-1 | 2025-08-20 15:43:58.000 UTC [40] HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
Jake, du weisst besser als ich „never touch a running system“ :). Deshalb nein. Er braucht diese für Paperless-NGX und für die Admin- und Hilfsdatenbank. Das template1 ist die vorlage für neue DB’s.
template1
„paperless“
postgres
diese müssen die gleiche Version haben, sonst mäkkert er.
sudo docker exec -it paperless-pgsql psql -U paperless -d postgres -c „SELECT datname, datcollversion FROM pg_database;“
psql: warning: extra command-line argument „datname,“ ignored
psql: warning: extra command-line argument „datcollversion“ ignored
psql: warning: extra command-line argument „FROM“ ignored
psql: warning: extra command-line argument „pg_database“ ignored
WARNING: database „postgres“ has a collation version mismatch
DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.41.
HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
ERROR: syntax error at or near „„SELECT“
LINE 1: „SELECT
^
-sh: “: command not found