Trying to run Postgres spilo container in Ubuntu EC2 Instance
@thomast @prastoin @charles
Hey everyone! I'm facing an issue while running the twentycrm/twenty-postgres-spilo:latest Docker image on my Ubuntu EC2 instance. The same command works perfectly on my local machine, but on EC2, the container crashes shortly after starting. The logs show the following error:
patroni.exceptions.PatroniFatalException: Can not find suitable configuration of distributed configuration store
and for your information i am using this comamnd to run docker container
docker run -d \
--name twenty_pg \
-e PGUSER_SUPERUSER=postgres \
-e PGPASSWORD_SUPERUSER=postgres \
-e ALLOW_NOSSL=true \
-v twenty_db_data:/home/postgres/pgdata \
-p 5432:5432 \
twentycrm/twenty-postgres-spilo:latest

3 Replies
hey @prastoin It is working fine on my local machine, but I want to disable it on my EC2 instance. Do you have any idea how I can do that?
Hey @Dhruvraj
Unfortunately we do not support spilo images anymore, to migrate to a postgres 16 database or freeze your database image please refer to https://twenty.com/developers/section/self-hosting/upgrade-guide#(option-2)-database-migration