immich first time set up

i did everything and heres the log idk why it doesn't want to work
15 Replies
harababurel
harababurel2y ago
how is your env file named on disk? it should be .env instead of env
ibrahim
ibrahimOP2y ago
No description
ibrahim
ibrahimOP2y ago
yes its .env
schuhbacca
schuhbacca2y ago
Is the database running? It says Unable to connect to database in the log (both the microservices and server containers)
ibrahim
ibrahimOP2y ago
database is postgres right?
harababurel
harababurel2y ago
yes
schuhbacca
schuhbacca2y ago
Can just check with docker ps -f "name=immich_postgres"
ibrahim
ibrahimOP2y ago
yes it is running
harababurel
harababurel2y ago
anything useful in docker logs $container_id?
ibrahim
ibrahimOP2y ago
im sorry but how do i look at that
harababurel
harababurel2y ago
this command should also give you the container id which you can provide to docker logs
schuhbacca
schuhbacca2y ago
Can also just do docker logs immich_postgres and skip the container id. Docker logs works with id or name
harababurel
harababurel2y ago
nice, did not know that
bo0tzz
bo0tzz2y ago
Your env file has DB_HOSTNAME set to immich, but according to the logs the server is trying to connect to the hostname ibrahim
ddshd
ddshd2y ago
If this is on windows can you enable showing file extensions

Did you find this page helpful?