Error with Immich, Postgress Password


Go to solution Solved by Kilrah,

Recommended Posts

When setting  up Immich following this guide and this guide. I get an error when I start Immich:

 

[Nest] 602  - 07/21/2023, 2:20:12 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)...
error: password authentication failed for user "postgres"
    at Parser.parseErrorMessage (/app/immich/server/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/app/immich/server/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/app/immich/server/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/app/immich/server/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:514:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

 

My Immich setup  has this

image.thumb.png.b3040e4e88c4c712e6ae1669ef687f96.png

image.thumb.png.a2a1681a91f748c19673cbfe5d117955.png

 

postgres has this:

image.png.0dd1e1d29f9a7c7085cc5ca430d80908.png

 

I have verified the passwords are the same. Not sure where the error is.

 

Any help would be greatly appreciated.

 

 

Link to comment
  • 2 months later...
  • 2 months later...
On 10/13/2023 at 10:48 PM, ShadowVlican said:

thanks for this thread! i also had the same problem

 

i completely removed postgres14 and its appdata, and set it up correctly

 

now immich is loading properly

Have you lose all the data on the database ?

That's what I am worry now.

 

I updated Immich and it started doing connection problem. But I don't want to lose the data either...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.