fekenator
fekenator
IImmich
Created by fekenator on 1/12/2025 in #help-desk-support
Setting up immich for first time and the immich_server container freezes my entire VM
I'm a noob, but I'm pretty sure I'm not doing anything wrong lol I'm using portainer, following the instructions on the website. I have the latest version of docker engine installed on a Debian VM in TrueNAS. https://immich.app/docs/install/portainer I believe the immich_server container fails to log into some service or services (see log), and that it retries infinitely, fully freezing the VM. The only way I fixed the frozen VM was restarting the VM and manually stopping the various immich containers until I figured out which one was causing it. I still don't know why it was causing it. I haven't been able to get immich to launch, I can't get past starting the immich_server container. The other containers (machine_learning, postgres, and redis) run as "healthy" according to portainer. The initialization seems to go well until immich_server attempts to log into something, then I get hit with
[Nest] 17 - 01/12/2025, 3:32:38 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (7)... error: password authentication failed for user "postgres"
How do I fix this? Attached are my "compose" file, my .env file, and I attached a log file showing two attempts to start the container. You can see in the compose file: * I changed the .env to stack.env. * I set restart to "no" for immich_server because the only way I can stop it from locking up my VM entirely is to kill the service through the cli as the VM starts up and before immich_server starts attempting to log into the database. Setting it to not autorestart makes this testing a little easier, and is not how I initially had it configured- it's not causing problems. * I set the paths like /dockermount/immich/database, which is a directory on my TrueNAS machine that I mounted in the VM through NFS. It's how I do my other containers (like NextCloud) and it works fine. I don't think it's a problem.
101 replies