PG_DATABASE_URL validation
Hey! I'm migrating from 0.31 to 0.32 and got some validation errors for PG_DATABASE_URL.
I've defined all relevant env vars. Did I forget something?
.env
I use docker compose with the updated docker-compose.yml:
2 Replies
where did you find those vars?
https://twenty.com/developers/section/self-hosting/self-hosting-var for env variables
did you setup PG_DATABASE_URL in your env file?
Thanks for your quick response @thomast 🙂
I am using a compose-override.yml due to my Traefik setup. However, during the migration, I accidentally followed the docker-compose.yml from the main branch. The environment variable was structured accordingly there.
I also tried setting the PG_DATABASE_URL in the .env file using the previous password. However, the same error occurred there as well.
In the meantime, I found the error. It was because my password contained special characters, which apparently caused the isUrl validation to fail. As a result, I had to completely set up the database fresh and assign an alphanumeric password to successfully pass the validation.
Now everything works fine. I restored the data from my daily backups.