T
Twenty2mo ago
mozez

Container twenty-server-1 Error

dependency failed to start: container twenty-server-1 is unhealthy
No description
12 Replies
thomast
thomast2mo ago
can you share container logs so we can see the error?
mozez
mozezOP2mo ago
how do i do it in wsl2
mozez
mozezOP2mo ago
thomast
thomast2mo ago
Unable to connect to the database (metadata). Retrying (1)... error: password authentication failed for user "postgres" did you set env variables ?
mozez
mozezOP2mo ago
i exe tis on local install how i set it for docker???
No description
mozez
mozezOP2mo ago
i do the 1 click i will tray to do the manual
mozez
mozezOP2mo ago
No description
mozez
mozezOP2mo ago
No description
thomast
thomast2mo ago
can you make sure those are the env variables set in docker? I am not familiar with docker-compose install tbh. @Weiko could you have a look?
salahzsh
salahzsh4w ago
I had the same issue and could make the script work with docker exec -it twenty-db-1 psql -U postgres -c "ALTER USER postgres WITH PASSWORD 'postgres';" for some reason the default password wasn't working and the new one set on env wasnt working maybe had a previous password from an old attempt or smth maybe try this @mozez https://twenty.com/developers/section/self-hosting/troubleshooting#1-click-docker-compose
ralfdigitalagency
After 3 week I was ablet to complete a deployment with success using that guide, option 1

Did you find this page helpful?