#Immich-Server Incorrect Password

1 messages · Page 1 of 1 (latest)

sand ember
#

I recently installed immich on docker desktop. I was notified that there was an update to 2.3.1 ( I was running 2.2). Within the docker-desktop/home folder, I noticed my installation files disappeared. I attemtped to do a fresh re-installation of the service so that I could update to 2.3.1, however I forgot that I had set a password on the .env file initially. I also do not recall the password. Now, having reinstalled the immich containers, "immich_server" shows this : "PostgresError: password authentication failed for user "postgres""
I am new to this, and tried following the steps to reset the password but I have been unsuccessful. Additionally, the "immich_server" container keeps restarting and I think that is causing me some problems to actually reset the password.

The log for this is as follows:
`2025-11-23 13:03:37.327 | Initializing Immich v2.2.3
2025-11-23 13:03:37.338 | Detected CPU Cores: 16
2025-11-23 13:03:39.687 | Starting api worker
2025-11-23 13:03:39.694 | Starting microservices worker
2025-11-23 13:03:42.117 | [Nest] 7 - 11/23/2025, 5:03:42 PM LOG [Microservices:WebsocketRepository] Initialized websocket server
2025-11-23 13:03:42.200 | PostgresError: password authentication failed for user "postgres"
2025-11-23 13:03:42.200 | at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:794:26)
2025-11-23 13:03:42.200 | at handle (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:480:6)
2025-11-23 13:03:42.200 | at Socket.data (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:315:9)
2025-11-23 13:03:42.200 | at Socket.emit (node:events:518:28)
2025-11-23 13:03:42.200 | at addChunk (node:internal/streams/readable:561:12)

sonic flaxBOT
#

:wave: Hey @sand ember,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

sand ember
#

container log
Initializing Immich v2.2.3 Detected CPU Cores: 16 Starting api worker Starting microservices worker [Nest] 7 - 11/23/2025, 4:11:00 PM LOG [Microservices:WebsocketRepository] Initialized websocket server PostgresError: password authentication failed for user "postgres" at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:794:26) at handle (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:480:6) at Socket.data (/usr/src/app/server/node_modules/.pnpm/[email protected]/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'

#

container status
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 94100823d9f7 ghcr.io/immich-app/immich-server:v2 "tini -- /bin/bash -…" 59 minutes ago Restarting (1) 52 seconds ago immich_server 326840dd3bd3 ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 59 minutes ago Up 32 minutes (healthy) 5432/tcp immich_postgres 95a4f7549492 valkey/valkey:8 "docker-entrypoint.s…" 59 minutes ago Up 32 minutes (healthy) 6379/tcp immich_redis f56d287be727 ghcr.io/immich-app/immich-machine-learning:v2 "tini -- python -m i…" 59 minutes ago Up 32 minutes (healthy) immich_machine_learning

#

Immich-Server Incorrect Password

elfin dagger
#

start postgres container only, reset postgres user password. make sure it match the one in env.
start immich server

sand ember
#

Thank you. Resetting the user password uses the "reset-admin-password" command from server commands?
I am new and still getting to terms with using these things, I apologise

#

I got through and have been successfully able to update my version. Thanks!