#container twenty-server-1 is unhealthy
1 messages · Page 1 of 1 (latest)
docker compose logs
Misconfigured database url?
Make sure your postgres is alive and healthy and that the credentials are correct/matching
man i really dont know a lot about databases, linux etc.
i just wanted a free crm lmao
i can send you my .env though
You should uncomment both Redis URL and PG_DATABASE_HOST
Well now it doesnt complain that it cant connect to the database. Now the issue is, the username/passwords are not matching
i left name on default though
how do i do that
docker inspect container <container_id>
replace the <container_id> with the actual ID
you can get the id using docker ps
should i check
twentycrm [twenty-server-1] [this gives me an error in basic installation]
or
postgres:16 [twenty-db-1]
well both
I dont think the container must be running in order to inspect it
Just need to make sure that PG_USER and PG_PASSWORD are matching in both
Another trick that might work is by adding
- .env
to both postgres and twenty compose services
Yep seems to match.
Try downing the deployment and removing the volumes with docker compose down -v
and upping again
Could be a different password for postgres user was initialized before
😭 😭 😭 😭
Wait its still unhealthy?
yeah
Any errors now?
wait a sec, im trying to run a solution right quick which somebody found helpful
but that would only reset the db
doesnt help with the fact that your container is unhealthy
https://discord.com/channels/1130383047699738754/1331189052216705034
here i saw similar case
worth of shot i think
.......
Yeah sounds like a similar issue, which is likely a database provision issue
But since youve downed and removed the volumes, the deploy should be clean
imo the easiest solution would be to just create a new folder, go step by step from the docs and try it out again
i runned through logs
and i dont see any particular errors
everyting seems fine, at least for my eye
server-1 | Successfuly migrated DB! but still this twenty-server-1 is unhealthy
I mean its just a health check
those can have false positives as well
but usually they do indicate errors
so everything cool?
btw you should change your passwords now 😄
for sure 🤣
as you've exposed them publicly, along with your IP 😄