Error cannot connect to the database
Hi! may I ask help on this please. I followed the immich documentation together with the correct compose & env file however cannot get thru. I installexd postgres14 and redis. should i edit the file or something to connect to the database? I just copied paste the default to the stack. I am using unraid OS. thank you!

4 Replies
You database probably isn't running on port 2283, but it looks like it is trying to connect on that one
may I know which part should I look in to? I did fix this before and when I followed the same pattern as before then it does not connect, weird :/
Can you upload your env file?
The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=postgres
DB_USERNAME=lasikram
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
DB_LOCATION=/mnt/user/immichphotos
i will just try to do a clean install