Skip to content

[bitnami/postgresql-repmgr] repmgr.conf file content duplicated on each container restart #53409

Open
@ahweis

Description

@ahweis

Name and Version

bitnami/postgres-repmgr:16.0.0

What architecture are you using?

None

What steps will reproduce the bug?

  1. Follow the guide "Using a Docker Compose file" on "https://hub.docker.com/r/bitnami/postgresql-repmgr" to start a single postgres server using docker compose
  2. See that "/opt/bitnami/repmgr/conf/repmgr.conf" contains configuration of the node
  3. Restart the container
  4. See that "/opt/bitnami/repmgr/conf/repmgr.conf" content is now duplicated

For each restart of the container the repmgr.conf gets populated with the same configuration

In some cases (can't reproduce consistently) a lot of "NUL" characters are added to the config file

What is the expected behavior?

That replication manager config is only populated once - and the container supports restarts

What do you see instead?

Duplicated config data

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    on-holdIssues or Pull Requests with this label will never be considered stalepostgresql-repmgrtech-issuesThe user has a technical issue about an application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions