500 - connect ECONNREFUSED 172.28.0.7:3001
Howdy! I'm trying to set up Immich and.. it kinda doesn't want to work.
I used Portainer to set it up. Here are the logs from the 2 containers which keep spitting out errors:
14 Replies
Here's what I see on the web:

Hello, you probably changed some containers name so the server cannot establish connection to the database container, it use container name as internal DNS to connect
please post your .env and docker-compose file
I don't remeber changing any names so I doubt that's it. One sec..
Here's a txt verson of the env so it can embed properly
(I'll change the password, don't worry)
Ah you shouldnt change the DB_HOSTNAME
please keep it as default
Oh? Okay thanks.. Will do.
You only change the DB_HOSTNAME if you use an external database
Issue persists.. Was the default hostname "immich_postgres"?
Still saying unable to connect to database. Hmm..
Can you please check the documentation, I am not infront of my computer
Mhm.. Will do!
I'll just go from scratch. Seems that I changed something else that should've stayed as the default.
Issue persists. This time I only changed the DB_PASSWORD and UPLOAD_LOCATION..
error: password authentication failed for user "postgres"
Confusion is striking me..You probably still have the old postgres volume
docker compose down -v
to wipe the whole thing for a fresh startThat.. I'm looking through my volumes and see a bunch of unused ones.
I'm on portainer, no idea where it stores the compose files
I'll clear all unused volumes and report back :blobthumbsup:
Okay, seems that clearing the volumes fixed this. Thanks! ❤️