Upgrading SonarQube Community Edition Version 8.9.6 (build 50800) LTS to 9.9.0.65466 LTS

Make sure to tell us:

Currently we are using SonarQube * Community Edition * Version 8.9.6 (build 50800) LTS version and we are planning to upgrade to 9.9.0.65466 version.

  • System information (Operating system, Java version, Database provider/version)

OS is Linux RHEL7, JDK11, PostgreSQL 9.6

I have followed SonarQube upgrade guide and performed below steps.

  1. Downloaded SonarQube sonarqube-9.9.0.65466.zip
  2. Unzipped sonarqube-9.9.0.65466.zip file
  3. Updated sonar.properties file for sonarqube-9.9.0
  4. Downloaded jdk-17.0.4.1

Now, the question is, SonarQube 9.9 does not support PostgreSQL 9.6 version, so if we install PostgreSQL 12/13/14 version, how the database will be migrated from old database (PostgreSQL 9.6) to new database (PostgreSQL 12/13/14)?

Hey there.

You can upgrade your existing Postgres database to a newer version, or migrate the data into a new Postgres database.

Take a look at the documentation on pg_upgrade.

Thanks for the details, will check with our DBA team for the same.