© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
18 replies
Jonathan

Using the official helm chart

I can't seem to deploy Immich with the official chart. When
  postgresql:
    enabled: true
  postgresql:
    enabled: true

and I add
  common_env:
    DB_PASSWORD:
      valueFrom:
        secretKeyRef:
          name: immich-postgresql
          key: password     
  common_env:
    DB_PASSWORD:
      valueFrom:
        secretKeyRef:
          name: immich-postgresql
          key: password     

as alluded to in the documentation, immich-server can't connect to the db. I've checked that the db is running and that the password is the same as the one in the server container env.

I get the following error in the server container log:
[Nest] 1  - 04/03/2023, 4:39:20 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
98
error: password authentication failed for user "immich"
97
    at Parser.parseErrorMessage (/usr/src/app/node_modules/pg-protocol/dist/parser.js:287:98)
96
    at Parser.handlePacket (/usr/src/app/node_modules/pg-protocol/dist/parser.js:126:29)
95
    at Parser.parse (/usr/src/app/node_modules/pg-protocol/dist/parser.js:39:38)
94
    at Socket.<anonymous> (/usr/src/app/node_modules/pg-protocol/dist/index.js:11:42)
93
    at Socket.emit (node:events:527:28)
92
    at addChunk (node:internal/streams/readable:315:12)
91
    at readableAddChunk (node:internal/streams/readable:289:9)
90
    at Socket.Readable.push (node:internal/streams/readable:228:10)
89
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
[Nest] 1  - 04/03/2023, 4:39:20 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
98
error: password authentication failed for user "immich"
97
    at Parser.parseErrorMessage (/usr/src/app/node_modules/pg-protocol/dist/parser.js:287:98)
96
    at Parser.handlePacket (/usr/src/app/node_modules/pg-protocol/dist/parser.js:126:29)
95
    at Parser.parse (/usr/src/app/node_modules/pg-protocol/dist/parser.js:39:38)
94
    at Socket.<anonymous> (/usr/src/app/node_modules/pg-protocol/dist/index.js:11:42)
93
    at Socket.emit (node:events:527:28)
92
    at addChunk (node:internal/streams/readable:315:12)
91
    at readableAddChunk (node:internal/streams/readable:289:9)
90
    at Socket.Readable.push (node:internal/streams/readable:228:10)
89
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)


and the following in the postgres container log:

2023-04-03 04:34:27.940 GMT [463] DETAIL:  Connection matched pg_hba.conf line 1: "host     all             all             0.0.0.0/0               md5"
2023-04-03 04:34:28.102 GMT [478] FATAL:  password authentication failed for user "immich"
2023-04-03 04:34:27.940 GMT [463] DETAIL:  Connection matched pg_hba.conf line 1: "host     all             all             0.0.0.0/0               md5"
2023-04-03 04:34:28.102 GMT [478] FATAL:  password authentication failed for user "immich"

Any idea what the issue is? My values.yaml file is here: https://github.com/Jsakkos/k3s-homelab/blob/master/apps/immich/values.yaml
GitHub
k3s-homelab/values.yaml at master · Jsakkos/k3s-homelab
Modern self-hosting framework, fully automated from empty disk to operating services with a single command. - k3s-homelab/values.yaml at master · Jsakkos/k3s-homelab
k3s-homelab/values.yaml at master · Jsakkos/k3s-homelab
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Separating library locations in the Helm Chart
ImmichIImmich / help-desk-support
9mo ago
Install immich with helm chart
ImmichIImmich / help-desk-support
9mo ago
Can't deploy Immich from Helm chart
ImmichIImmich / help-desk-support
15mo ago
Immich server and Postgresql crashes when upgrading Helm chart to v1.122.3
ImmichIImmich / help-desk-support
14mo ago