© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3w ago•
46 replies
Shadowlink

Password authentication failed for user postgres

🚧Setup
After a data loss I tried to restore a backup of my Immich container, but I now encounter this error:

Missing history for endpoint: Retrieve auth status
(node:7) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use 
Missing history for endpoint: Retrieve auth status
(node:7) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use 
node --trace-warnings ...
 to show where the warning was created)
/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794
    const error = Errors.postgres(parseError(x))
                         ^
PostgresError: password authentication failed for user "postgres"
    at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794:26)
    at handle (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:480:6)
    at Socket.data (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:315:9)
    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:189:23) {
  severity_local: 'FATAL',
  severity: 'FATAL',
  code: '28P01',
  file: 'auth.c',
  line: '343',
  routine: 'auth_failed'
}
 to show where the warning was created)
/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794
    const error = Errors.postgres(parseError(x))
                         ^
PostgresError: password authentication failed for user "postgres"
    at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794:26)
    at handle (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:480:6)
    at Socket.data (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:315:9)
    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:189:23) {
  severity_local: 'FATAL',
  severity: 'FATAL',
  code: '28P01',
  file: 'auth.c',
  line: '343',
  routine: 'auth_failed'
}


I have tried going into the postgres container and resetting the password, to no avail.

docker start immich_postgres
docker exec -it immich_postgres bash
psql -U postgres
ALTER USER postgres WITH PASSWORD 'postgres';
docker start immich_postgres
docker exec -it immich_postgres bash
psql -U postgres
ALTER USER postgres WITH PASSWORD 'postgres';


Is there anything else I can do to restore my container and photos?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

PostgresError: password authentication failed for user "postgres"
ImmichIImmich / help-desk-support
3w ago
PostgresError: password authentication failed for user "postgres
ImmichIImmich / help-desk-support
2mo ago
PostgresError: password authentication failed for user "postgres"
ImmichIImmich / help-desk-support
7mo ago
Fresh Install - Password Authentication Failed for User "Postgres"
ImmichIImmich / help-desk-support
5mo ago