Upgrade SonarQube from 8.9.8 to 9.5 developer edition

Hello all,

I am reaching out an issues we have encountered following an upgrade of our SonarQube instance.

Details of the Upgrade:

  • Previous SonarQube Version: 8.9.8.54436
  • Previous PostgreSQL Version: 9.6.10
  • New SonarQube Version: 9.9.5.90363
  • New PostgreSQL Version: 15

the new SonarQube is in a Docker compose yaml file.

Issue : Web UI Not Starting The database upgrade was completed successfully. However, after the upgrade, we are experiencing a critical issue where the web UI is not starting.

Error Details: The logs indicate the following error message:

2024.05.23 11:10:00 INFO web[o.s.s.r.RegisterRules] Register rules

2024.05.23 11:10:03 WARN web[o.s.s.r.RegisterRules] Could not retrieve rule with uuid %s referenced by a deprecated rule key. The following deprecated rule keys seem to be referencing a non-existing rule

Additionally, there is an error stating “Repository must be set,” which seems to be the primary issue preventing the web UI from starting.

I have attached the full log file to this email for your reference.
web.log (2.5 MB)

Best regards

Hey there.

Something seems really wrong here. Do you have a backup of your SonarQube v8.9 LTS instance you can restore and make sure you’re starting from a solid foundation? If I had to guess (just by looking at the logs) I’d say something went wrong moving the data in the database (moving to the new Postgres 15 db, perhaps?)

Hey Colin, I started all from scratch and worked. thx for answer