500 | connect ECONNREFUSED 172.22.0.7:3001
Hi all,
Windows 10, docker installed via Docker Desktop, immich installed via Docker Compose, freshly downloaded from the documentation. Changed only the .env file to change password & API key, and lines 14, 17-23 to enable NVidia in the hwaccel.yaml file. Started it with "docker compose up -d"
First run, and I get the error (in the browser):
500 | connect ECONNREFUSED 172.22.0.7:3001

7 Replies
What am I doing wrong?!
Did you change the database password after the instance was brought up?
can you get the log from the server container?
No, how do I do that?
It does look like the password needs changing... I must have missed that in the documentation...
"[Nest] 7 - 10/10/2023, 6:01:21 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...error: password authentication failed for user "postgres""
How do I change the database password after the instance is up? I can't see it in the docs....
(if you're actually asking whether I changed the password from the admin interface, the answer is no. I've not got beyond the 500 error yet. I only changed the PW in the .env file, and ran docker up)
usually this happen if you spin up the instance, then bring it down and change the password. Regardless, the way to fix this is to
1. Bring down the stack
2. Remove the database volume by finding the database volume name with
docker volume ls
and then docker volume rm <volume-name>
3. Bring the stack back upSpot on, that did it, thanks!