Fresh Install - Password Authentication Failed for User "Postgres"

hi, i'm doing a fresh install on my raspberry pi 5 on the latest version - v1.142.1

i changed the postgres db password on the
.env
file (as recommended) before running docker compose up, and got this error:

immich_postgres  | 2025-09-19 19:25:18.805 UTC [56] FATAL:  password authentication failed for user "postgres"
immich_postgres  | 2025-09-19 19:25:18.805 UTC [56] DETAIL:  Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
immich_server    | PostgresError: password authentication failed for user "postgres"
immich_server    |     at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/postgres@3.4.7/node_modules/postgres/cjs/src/connection.js:794:26)
Was this page helpful?