Latest | Setup and upgrade | Upgrade the server | Determining the upgrade path

On this page

Determining the server upgrade path

This section explains SonarQube release cycle model and the principles to follow in order to determine if you can perform the upgrade directly or must upgrade first to intermediary version(s).

SonarQube release cycle model

SonarQube follows semantic versioning. A new major or minor version is released every 2 months, and a new Lont Term Support (LTS) release is declared approximately every 18 months. Only the latest major release receives active support (updates and patches). During that time, the previous major release receives LTS support (security patches and fixes of blocker bugs) until the next LTS is declared. 

SonarQube version follows the MAJOR.MINOR.PATCH model as shown below.

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 LTS version (for example, the release following 7.9 LTS 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 LTS release, the release cycle is closed and the minor version number is frozen.

Patch release number

Only on LTS versions, the patch release number represent patches to an LTS that fixed blocker or critical problems. 

Upgrade path determination principles

To determine your upgrade path, consider the following principles:

  • You can upgrade directly from a non-LTS version to another if there is no LTS version in your upgrade path.
  • If there is at least one LTS version in your upgrade path, you must first upgrade to each intermediate LTS and then to your target version.
  • When upgrading to an LTS version, you should directly upgrade to its latest patch. 
  • You can upgrade from the latest LTS version to the latest non-LTS version directly. 
  • If you're migrating from an earlier patch version of an LTS, you can upgrade directly to the next LTS. You don't need to install any intermediate patch versions.

Upgrade path examples

From versionTo versionUpgrade path
8.9 LTS9.9 LTS8.9 LTS > 9.9 LTS (direct)
7.9 LTS9.9 LTS7.9 LTS > 8.9 LTS > 9.9 LTS (one intermediary step)
9.9 LTS10.19.9 LTS > 10.1 (direct)
9.6 LTS9.9 LTS9.6 > 9.9 LTS (direct)
9.610.19.6 > 9.9 LTS > 10.1 (one intermediary step)

© 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