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.

10 Replies
Hello @Kristijan, are you trying to self host or contribue ?
If contirbuting please try resetting your database using
npx nx database:reset twenty-serverI am trying to self host
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 ?
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...)
I was following local-setup. So you recommend me to follow self-hosting using docker instead?
Depends on what you wanna do
use twenty crm, not contributing
Then I would recommend self hosting setup
https://twenty.com/developers/section/self-hosting/docker-compose
Thank you so much for your quick response
My pleasure ! Enjoy using twenty !