immich first time set up
i did everything and heres the log idk why it doesn't want to work
15 Replies
how is your env file named on disk?
it should be
.env
instead of env

yes its .env
Is the database running? It says Unable to connect to database in the log (both the microservices and server containers)
database is postgres right?
yes
Can just check with
docker ps -f "name=immich_postgres"
yes it is running
anything useful in
docker logs $container_id
?im sorry but how do i look at that
this command should also give you the container id
which you can provide to
docker logs
Can also just do
docker logs immich_postgres
and skip the container id. Docker logs works with id or namenice, did not know that
Your env file has
DB_HOSTNAME
set to immich
, but according to the logs the server is trying to connect to the hostname ibrahim
If this is on windows can you enable showing file extensions