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
No description
7 Replies
TwiddleFingers
TwiddleFingersOP2y ago
What am I doing wrong?!
Alex Tran
Alex Tran2y ago
Did you change the database password after the instance was brought up? can you get the log from the server container?
TwiddleFingers
TwiddleFingersOP2y ago
No, how do I do that?
TwiddleFingers
TwiddleFingersOP2y ago
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)
Alex Tran
Alex Tran2y ago
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 up
TwiddleFingers
TwiddleFingersOP2y ago
Spot on, that did it, thanks!

Did you find this page helpful?