Sonar upgrade from 9.3 to 9.9 LTS changed the ServerId and wiped the configuration

Make sure to tell us:

  • What version are you upgrading from?
  • System information (Operating system, Java version, Database provider/version)
    9.9 LTS, Java 11, Postgres 12.3
  • What’s the issue you’re facing?

When I was trying to upgrade the version from 9.3 to 9.9 using helm values it is pointing to H2 database instead of postgres though we have the configuration for postgres database
Also getting this error org.sonar.api.utils.SonarException: Fail to download: (no proxy)

Also ServerId has changed which makes us to add the ServerId tot he existign license


Welcome to the community!

Once you get 9.9 pointed at your old database, you should get your old server ID back. Its change was just a side effect of connection to H2.

Regarding your problem connecting to Postgres, you should take a look at your envvars. Some of the names changed late in the 9-series.


Managed to change the values for postgres but now the sonarqube container is not getting started it is in failed state.

Moreover while ugprading to 9.9 LTS there are many parameters got changed and new images we downloaded as well

Is there is any documents available for the list of configuration for LTS version?


What do your server logs say?


A post was split to a new topic: Problems reusing old database during upgrade