Thank you @legio for the above logs.
Could you please share the Postgres version deployed on the system.
Please browse this discussion: Noob question: can't initialize the PBS dataservice
Check this : https://github.com/2ndQuadrant/repmgr/issues/414 (updated)