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
Deleted User
Deleted UserOP2y ago
Here's what I see on the web:
No description
Alex Tran
Alex Tran2y ago
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
Deleted User
Deleted UserOP2y ago
I don't remeber changing any names so I doubt that's it. One sec..
Deleted User
Deleted UserOP2y ago
Here's a txt verson of the env so it can embed properly
Deleted User
Deleted UserOP2y ago
(I'll change the password, don't worry)
Alex Tran
Alex Tran2y ago
Ah you shouldnt change the DB_HOSTNAME please keep it as default
Deleted User
Deleted UserOP2y ago
Oh? Okay thanks.. Will do.
Alex Tran
Alex Tran2y ago
You only change the DB_HOSTNAME if you use an external database
Deleted User
Deleted UserOP2y ago
Issue persists.. Was the default hostname "immich_postgres"? Still saying unable to connect to database. Hmm..
Alex Tran
Alex Tran2y ago
Can you please check the documentation, I am not infront of my computer
Deleted User
Deleted UserOP2y ago
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..
bo0tzz
bo0tzz2y ago
You probably still have the old postgres volume docker compose down -v to wipe the whole thing for a fresh start
Deleted User
Deleted UserOP2y ago
That.. 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! ❤️

Did you find this page helpful?