T
Twenty5mo ago
Raquel

dependency failed to start: container twenty-server-1 is unhealthy

I'm setting this up on Ubuntu Server, but I got this error when starting the project:
No description
14 Replies
Raquel
RaquelOP5mo ago
I saw an old post to add REDIS_HOST: redis to both server and workers, I did but I am still getting the same error:
No description
Prastoin
Prastoin5mo ago
Hello @Raquel please look at/share twenty-server logs Unable to reproduce using latest twenty's version related issue What Twenty's version are you working with ? Was working before or is it your first time installing twenty etc ?
Raquel
RaquelOP5mo ago
Hi @Prastoin I'm installing this the first time. I'm simply running your one-line script: bash <(curl -sL https://git.new/20)
Git.new – Free GitHub Link Shortener
Shorten your GitHub URLs or links with git.new – a free, branded GitHub URL shortener powered by Dub
Prastoin
Prastoin5mo ago
Could you please share twenty-server container logs
Raquel
RaquelOP5mo ago
I will share some details here. This is the twenty folder after trying to install:
No description
Raquel
RaquelOP5mo ago
In the docker-compose.yml file, I have added: REDIS_HOST: redis on both server and worker.
Raquel
RaquelOP5mo ago
I did not change anything on the .env yet. Then I start the docker container: docker compose up -d
No description
Raquel
RaquelOP5mo ago
Checking the logs: docker logs --tail 100 twenty-server-1
No description
Raquel
RaquelOP5mo ago
I got this far:
No description
Raquel
RaquelOP5mo ago
Raquel
RaquelOP5mo ago
ok that looks good, let's see:
No description
Raquel
RaquelOP5mo ago
i figured it out
No description
Prastoin
Prastoin5mo ago
I assume it was an invalid pg password issue ? Anw congrats and enjoy coding !
Raquel
RaquelOP5mo ago
yeah it was the pg part Thanks @prastoin

Did you find this page helpful?