Failed to load config variables from database

Hi, I am trying to setup twenty crm on my local machine for the first time. I would really appreciate any assistance in fixing this. My postgres settings are these: user: postgres password: password123 And, here's my PG_DATABASE_URL in .env: PG_DATABASE_URL=postgres://postgres:password123@localhost:5432/default I was not using Docker for this installation.
No description
10 Replies
Prastoin
Prastoin2mo ago
Hello @Kristijan, are you trying to self host or contribue ? If contirbuting please try resetting your database using npx nx database:reset twenty-server
Kristijan
KristijanOP2mo ago
I am trying to self host
Prastoin
Prastoin2mo ago
Have you followed https://twenty.com/developers/section/self-hosting/docker-compose ?
I was not using Docker for this installation.
Are you trying to build your own image then ?
Prastoin
Prastoin2mo ago
If you want to setup twenty locally ( usually for contributing ) please follow https://twenty.com/developers/local-setup If you want to self host twenty ( even on your local machine ) please follow https://twenty.com/developers/section/self-hosting/docker-compose
Twenty - Local Setup
The guide for contributors (or curious developers) who want to run Twenty locally (on laptop, PC...)
Kristijan
KristijanOP2mo ago
I was following local-setup. So you recommend me to follow self-hosting using docker instead?
Prastoin
Prastoin2mo ago
Depends on what you wanna do
Kristijan
KristijanOP2mo ago
use twenty crm, not contributing
Prastoin
Prastoin2mo ago
Kristijan
KristijanOP2mo ago
Thank you so much for your quick response
Prastoin
Prastoin2mo ago
My pleasure ! Enjoy using twenty !

Did you find this page helpful?