Konvett
Konvett
IImmich
Created by Konvett on 1/23/2025 in #help-desk-support
immich Postgres Issue
I noticed I was getting a 502 error to my immich server domain. I checked the logs and saw this:
[Nest] 385 - 01/22/2025, 10:35:22 PM ERROR [ExceptionHandler] password authentication failed for user "robert"
error: password authentication failed for user "robert"
at Parser.parseErrorMessage (/app/immich/server/node_modules/pg-protocol/dist/parser.js:283:98)
at Parser.handlePacket (/app/immich/server/node_modules/pg-protocol/dist/parser.js:122:29)
at Parser.parse (/app/immich/server/node_modules/pg-protocol/dist/parser.js:35:38)
at Socket.<anonymous> (/app/immich/server/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:191:23)
api worker exited with code 1
Starting api worker
[Nest] 385 - 01/22/2025, 10:35:22 PM ERROR [ExceptionHandler] password authentication failed for user "robert"
error: password authentication failed for user "robert"
at Parser.parseErrorMessage (/app/immich/server/node_modules/pg-protocol/dist/parser.js:283:98)
at Parser.handlePacket (/app/immich/server/node_modules/pg-protocol/dist/parser.js:122:29)
at Parser.parse (/app/immich/server/node_modules/pg-protocol/dist/parser.js:35:38)
at Socket.<anonymous> (/app/immich/server/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:191:23)
api worker exited with code 1
Starting api worker
I then went to my Postgres container and checked the logs there to find this:
2025-01-22 22:35:33.190 PST [8075] FATAL: password authentication failed for user "robert"
2025-01-22 22:35:33.190 PST [8075] DETAIL: Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
2025-01-22 22:35:33.190 PST [8075] FATAL: password authentication failed for user "robert"
2025-01-22 22:35:33.190 PST [8075] DETAIL: Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
I haven't changed any passwords or anything about the user account for the database. Is there perhaps a recent update of immich or postgres that is causing this issue? I am running both in docker on Unraid 7.
9 replies