Error While Initializing Postgres Cluster With Docker
When I try to join my Postgres that it's in the docker environment into the cluster as a master,
my cluster creation job fails and I receive this error:
"There is a postgres server running (PID 1). It must be uninstalled first, or you can also add it to ClusterControl."
I used this reference: https://severalnines.com/database-blog/how-deploy-postgresql-docker-container-using-clustercontrol
P. S.: I have Postgres 13, but in the configuration, you didn't have the version 13 option...
It looks like you were trying to deploy a new PostgreSQL on top of the instance, which explains why you got the error. The error means ClusterControl backs itself off from continuing the deployment because there is an already running PostgreSQL service detected. For new deployments, the database node should have no database service running on it.
You should import the database node into ClusterControl instead, as shown in that blog post. We do not officially support PostgreSQL 13 but I believe there are no blockers for the import as it basically performs the common cross-version operations.
Please sign in to leave a comment.