PGBouncer upgrade fails when moving from upstream CloudnativePG chart to BitnamiSecureImage based image
search cancel

PGBouncer upgrade fails when moving from upstream CloudnativePG chart to BitnamiSecureImage based image

book

Article ID: 438302

calendar_today

Updated On:

Products

Bitnami Premium (Bitnami Secure Images)

Issue/Introduction

  • User is migrating from upstream CloudnativePG cluster charts to Bitnami Secure Image provided PGBounder image.
  • Upgrading to use this BSI image for PGBouncer fails during startup with errors like:

    {"level":"info","ts":"2026-04-17T17:34:14.011354034Z","msg":"Starting CloudNativePG PgBouncer Instance Manager","logger":"pgbouncer-manager","version":"1.28.1","build":{"Version":"1.28.1","Commit":"#######","Date":"2026-02-05"}}
    {"level":"error","ts":"2026-04-17T17:34:14.206210019Z","msg":"Error while running manager","logger":"pgbouncer-manager","error":"running pgbouncer: fork/exec /usr/bin/pgbouncer: no such file or directory","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error

Environment

PGBouncer image from BitnamiSecureImages repository, specifically versions prior to Release 1.25.1, Revision 21

Cause

Changes to the PGBouncer image dependencies caused symlink references to be invalid.

Resolution

Ensure you pull the image from BSI for Release 1.25.1, specifically Revision 21 or later to correct this startup failure.