Closed ricardotenv closed 4 months ago
Ensure the PG_DATABASE_URL
is correctly formatted and valid. The validation logic is located in /packages/twenty-server/src/engine/integrations/environment/environment-variables.js
. The error is thrown in /packages/twenty-server/src/utils/assert.js
. Verify the connection string format and update if necessary.
/packages/twenty-server/.env.example /packages/twenty-server/.env.test /packages/twenty-server/scripts/render-run.sh
Ensure the
PG_DATABASE_URL
is correctly formatted and valid. The validation logic is located in/packages/twenty-server/src/engine/integrations/environment/environment-variables.js
. The error is thrown in/packages/twenty-server/src/utils/assert.js
. Verify the connection string format and update if necessary.References
/packages/twenty-server/.env.example /packages/twenty-server/.env.test /packages/twenty-server/scripts/render-run.sh
About Greptile
You helped me; the problem was a lack of attention on my part. The protocol is postgres://
and I passed postgresql://
.
I inserted the PostgreSQL connection string instead of the database container URI.
This is an error in the logs of the 'server' container:
I am using a custom docker-compose.yml to use a remote database.
Observations: