Start Free
9.9 | Setup and upgrade | Upgrade the server | Before you upgrade

Before you upgrade

On this page

This page contains some concepts and recommendations that you should familiarize yourself with before upgrading. See the upgrade guide for information on the actual upgrade process.

SonarQube version number format

Version numbers have up to three digits with each digit representing part of the release cycle:

Picture explaining how to read the SonarQube version number format

Major version number

The major version number represents a series of releases with high-level objectives for the release cycle. It's incremented with the release following an LTA (Long-Term Active) version (for example, the release following 7.9 LTA was 8.0).

Minor version number

The minor version number corresponds to incremental functional changes within a major release cycle. At the time of an LTA release, the release cycle is closed and the minor version number is frozen.

Patch release number

The patch release number represents patches that fix blockers and critical problems.

Migration path

Upgrading across multiple non-LTA versions is handled automatically. However, if there are one or multiple LTA versions in your migration path, you must first migrate to each intermediate LTA and then to your target version, as shown in Example 3 below.

When upgrading to an LTA version, you should directly upgrade to its latest patch. This allows you to make sure everything runs well (see Practice your upgrade section below) with that patch.

You can upgrade from the latest LTA version to the latest non-LTA version directly. See Example 4 below.

Migration Path Examples:

Example 1 – From 8.1 > 9.8, the migration path is 8.1 > 8.9 LTA > 9.8
Example 2 – From 9.6 > 9.9 LTA, the migration path is 9.6 > 9.9 LTA
Example 3 – From 7.9 LTA > 9.9 LTA, the migration path is 7.9 LTA > 8.9 LTA > 9.9 LTA
Example 4 – From 8.9 LTA > 9.9 LTA, the migration path is 8.9 LTA > 9.9 LTA

Release upgrade notes

Usually SonarQube releases come with some specific recommendations for upgrading from the previous version. You should read the release upgrade notes for each version between your current version and the target version.

Practice your upgrade

We recommend practicing your upgrade to:

  • make sure your infrastructure can run the upgrade.
  • get an idea of how long the upgrade will take.
  • gain a better understanding of the upgrade process and anticipate what you'll need to do when performing the actual upgrade.
  • address any issues you encounter during the practice upgrade on the SonarSource community.

To practice your upgrade, create a staging environment using a recent backup of your production database. You want your staging environment to be as similar to your production instance as possible because the resources and time needed to upgrade depends on what's stored in your database. Use this staging environment to test the upgrade, observing how long it takes to back up and restore systems and complete the process.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License