© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•7mo ago•
5 replies
Allexio

Can't authenticate with Postgres after migration / flat docker compose file

Heyo,

I recently moved my NAS setup from Ubuntu server to Truenas.

I kept all the files of course so I still have both my Immich library and my Immich postgres database on my storage drive.
I would like to use truenas's custom app via YAML solution (because using premade apps is a pain when it comes to backups) but it does not let me add an env file.

I have therefore tried flattening my docker compose file (see comment).

Upon starting the containers, I notice that all the othe containers boot except for the immich-server one which cannot authenticate on the postgres DB.
I assume my docker configuration is erroneous.
I can access the DB by going inside the docker container (for some reason it doesn't require a password to connect when you're in the container - not sure how safe this is), after which I tried manually changing the password of the postgres user to a simple test string, but it still does not connect.

Thank you for any help.
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Docker compose without env file
ImmichIImmich / help-desk-support
3y ago
Can't connect to api endpoint after docker-compose setup
ImmichIImmich / help-desk-support
4y ago
docker-compose.yml file read error in windows docker after update.
ImmichIImmich / help-desk-support
10mo ago
Truble with Docker Compose
ImmichIImmich / help-desk-support
3y ago