Closed mmartinello closed 11 months ago
My fault.
I realised that the extension was updated only for the postgres
user and not for the repmgr
user!
Executing ALTER EXTENSION repmgr UPDATE
as repmgr
user on the PostgreSQL server solved my issue!
Thank you!
I have a 3 nodes PostgreSQL cluster with PostgreSQL and repmgr.
Today I lost two nodes and I'm trying to re-clone it from the primary node.
If I try to clone it,
repmgr
complain that an older version of the extension is installed on the upstream node:But this seems not to be true, as the primary node is running the 5.4 version of the repmgr extension:
I tried to restart PostgreSQL on the primary node without solving the problem.
The error still happens and I really don't expect it to happen.
I also tried to execute the queries that repmgr executes to check the installed version, and I really don't see that the running version is different than the available one on
postgres2
server:I've also tried to connect to specify the IP address on the
-h
parameter to be sure that it connects to the correct server but the problem is still there.I'm really stucked on this problem and I have the cluster without two nodes.
Could you help me to understand where I'm wrong, please?
Thank you very much!