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.
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.