database "default" does not exist

Hello Twenty's team I would need some support on this stacktrace I'm getting from the dockercompose steps ? @Alzter
29 Replies
Prastoin
PrastoinOP2w ago
Please provide more information such as what Twenty's version you're using what command have been running to achieve to this etc etc @Alzter
Alzter
Alzter2w ago
last version docker compose Synology
Prastoin
PrastoinOP2w ago
Have you setup a custom database name ?
Alzter
Alzter2w ago
no Docker-compose.yml has not undergone any modifications
Prastoin
PrastoinOP2w ago
I've just been able to start a twenty instance using the latest one-click version Be careful your screenshots contains secrets, deleted it for you Your configuration is wrong https://twenty.com/developers/section/self-hosting/setup#config
Alzter
Alzter2w ago
I don't know why this happened, really.
Prastoin
PrastoinOP2w ago
You should have only one env variable named PG_DATABASE_URL
Alzter
Alzter2w ago
in compose flie? PG_DATABASE_URL: postgres://${PG_DATABASE_USER:-postgres}:${PG_DATABASE_PASSWORD:-postgres}@${PG_DATABASE_HOST:-db}:${PG_DATABASE_PORT:-5432}/default Yes, I found it, but I didn't modify it and it doesn't work.
Prastoin
PrastoinOP2w ago
I'm in the wrong sorry Could you please re-share secrets less your .env
Alzter
Alzter2w ago
No description
Alzter
Alzter2w ago
Don't worry about the password, I only use it on the local area network.
Prastoin
PrastoinOP2w ago
Please try using this TAG v0.51.14
Alzter
Alzter2w ago
Okay, I'll give it a try
Alzter
Alzter2w ago
No description
Alzter
Alzter2w ago
No description
Alzter
Alzter2w ago
I have received these errors
Prastoin
PrastoinOP2w ago
Please if possible wipe your instance containers,images,volumes and retry for some reason it seems your twenty's db is corrupted Unfortunately unable to reproduce on my side even when consuming the latest tag
Alzter
Alzter2w ago
all? or twenty
Prastoin
PrastoinOP2w ago
Everything Twenty's related
Alzter
Alzter2w ago
No description
Alzter
Alzter2w ago
thank u I succeeded, but it seems to have other issues.
Prastoin
PrastoinOP2w ago
Nice, please share your twenty-server logs
Prastoin
PrastoinOP2w ago
What url in your browser are you on to get this ? You should access your instance from localhost:3000 Seeing your logs sever seems to be working normally, please try scoping from where could come the issue by directly hitting your twenty's api healthcheck for example
Alzter
Alzter2w ago
work thank u very much
Alzter
Alzter2w ago
No description
Prastoin
PrastoinOP2w ago
Congrats ! Enjoy coding !

Did you find this page helpful?