Image pull error for Community version

During the upgrade of SonarQube Community Edition (10.8.1 → 2025.4.0), the deployment failed at the PostgreSQL stage. After reviewing the existing setup, we found that the environment uses an older Bitnami PostgreSQL 11 image which has been removed from Docker Hub, causing Kubernetes to fail with ImagePullBackOff.

We also attempted upgrading to PostgreSQL 15, but the deployment failed for the same reason — Bitnami has removed several PostgreSQL image tags (including the required 11.x and 15.x builds), making them unavailable for pull.

Additionally, SonarQube 2025.x requires PostgreSQL 13–17, while our existing data is on PostgreSQL 11, so the current data directory is not compatible with newer versions. can someone please guide how to fix this issue.

Hi,

Welcome to the community!

You’ll need to take a backup of your DB and restore it in a supported DB environment. From there, you should be able to follow a standard upgrade path:

10.8.1 → 2025.1.4 → [any later version]

Where ‘any later version’ is the interim LTA: 2025.4.3, the latest version, 2025.5, or the imminent 2025.6.

 
HTH,
Ann

this my value.xml for now and i am not able to pull image from both bitnami/bitnamilegacy

postgresql:

image:

registry: docker.io

repository: bitnamilegacy/postgresql

tag: "11.14.0-debian-10-r22"

plugins:

install:

- https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/download/1.23.0/sonarqube-community-branch-plugin-1.23.0.jar

jvmOpts: “-javaagent:/opt/sonarqube/extensions/plugins/sonarqube-community-branch-plugin-1.23.0.jar=web”

jvmCeOpts: “-javaagent:/opt/sonarqube/extensions/plugins/sonarqube-community-branch-plugin-1.23.0.jar=ce”

Normal Scheduled 83s default-scheduler Successfully assigned sonarqube/sonarqube-postgresql-0 to aks-userpool2-32955674-vmss0000m6
Normal Pulling 40s (x3 over 81s) kubelet Pulling image “docker.io/bitnamilegacy/postgresql:11.14.0-debian-10-r22”
Warning Failed 39s (x3 over 81s) kubelet Failed to pull image “docker.io/bitnamilegacy/postgresql:11.14.0-debian-10-r22”: rpc error: code = NotFound desc = failed to pull and unpack image “docker.io/bitnamilegacy/postgresql:11.14.0-debian-10-r22”: failed to resolve reference “docker.io/bitnamilegacy/postgresql:11.14.0-debian-10-r22”: docker.io/bitnamilegacy/postgresql:11.14.0-debian-10-r22: not found
Warning Failed 39s (x3 over 81s) kubelet Error: ErrImagePull
Normal BackOff 1s (x5 over 80s) kubelet Back-off pulling image “docker.io/bitnamilegacy/postgresql:11.14.0-debian-10-r22”
Warning Failed 1s (x5 over 80s) kubelet Error: ImagePullBackOff

Hi,

We simply can’t help you with the Community Branch plugin.

 
Ann