Unable to upgrade SonarQube Community Edition 8.0 (build 29455) to 25.x with PostgreSQL 15

Hi Team,

I recently attempted to upgrade SonarQube from version Community Edition 8.0 (build 29455) to 25.12.0.117093-community and encountered multiple issues, as there is no supported direct upgrade path between these versions. Could you please share the approach or steps shoul be followed to successfully upgrade SonarQube from version 8.0 to 25.12.0.117093-community ?
Your guidance would be greatly appreciated.

Below are the observations from my end.

First issue:

When I mapped the 8.x restored database to SonarQube version 25.x, it failed with the following error:

The version of SonarQube you are trying to upgrade from is too old. Please upgrade to the 24.12 version first.

I then attempted to map the database using SonarQube build 24.12.

Second issue:

The upgrade failed again, indicating that a direct upgrade was still not possible and that an intermediate upgrade to 9.9 LTA is required:

The version of SonarQube you are trying to upgrade from is too old. Please upgrade to the 9.9 Long-Term Active version first.

After this, the application shut down as shown in the logs.

Thanks in advance

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - Community Edition 8.0 (build 29455)
  • how is SonarQube deployed: Helm
  • what are you trying to achieve - upgrading to 25.12.0.117093-community
  • what have you tried so far to achieve this - tried upgrading the sonarqube by taking a backup of the db from 8.0 version and mapping to 25.x, 24.12 and 9.9.8 version but doesnt work.

Thanks in Advance

Hi,

The upgrade path is: 8.0 > 8.9.10 > 9.9.8 > 24.12 > 25.12.

Check the documentation for more instructions: Determining the update path | SonarQube Community Build | Sonar Documentation