SonarQube Upgrade

Must-share information (formatted with Markdown):

  • Which versions are you using: (SonarQube developer edition)
  • How is SonarQube deployed: zip.
  • What are you trying to achieve: We are planning to upgrade SonarQube from version 9.9.1.69595 to 10.7.0.96327. In our setup, both GitLab and SonarQube instances are hosted on the same server running Ubuntu 22.04 LTS. We intend to first upgrade GitLab from version 17.3.7-ee to 17.4.4-ee, followed by the SonarQube upgrade. Could you please advise on the minimum hardware requirements (RAM and CPU) needed to perform both upgrades smoothly, and guide us through the recommended upgrade process?
  • What have you tried so far to achieve this: Nothing.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Just a heads up—10.7 has reached End-of-Life (EOL), so you might want to consider upgrading to a currently supported version instead. You can easily find the best upgrade path using the upgrade calculator here.

Regarding your setup, it’s usually not recommended to run GitLab and SonarQube on the same server. Agood approach is to upgrade one application at a time (either GitLab or SonarQube), and keep an eye on your system’s resource usage during each step.

From experience, recent versions of SonarQube usually don’t need much more in terms of server resources compared to 9.9.1, so you shouldn’t run into any big surprises. Be sure to follow the official SonarQube upgrade guide for the safest results.