Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check compatibility of installed plugins
    • If the SonarQube server is not connected to the Internet, check for minimum required versions listed in this page.
    • If the SonarQube server is connected to the Internet, the Update Center lists all the plugins to upgrade or to uninstall:

  2. Read upgrade notes below for each version
  3. Stop Sonarthe SonarQube server:

    Code Block
    bin/<SYSTEM>/sonar stop
  4. Download and unzip the new SonarQube distribution in a fresh directory, let's say NEW_SONARQUBE_HOME
  5. Update the content of the sonar.properties and wrapper.conf files located in the NEW_SONARQUBE_HOME/conf directory with the content of the related files in the OLD_SONARQUBE_HOME/conf directory (web server URL, database settings, etc.)
  6. Copy the OLD_SONARQUBE_HOME/extensions/plugins directory into NEW_SONARQUBE_HOME/extensions/plugins (replace plugins with compatible versions if necessary)
  7. If a custom JDBC driver is used, copy it into NEW_SONARQUBE_HOME/extensions/jdbc-driver/<dialect>
  8. Back up your database
  9. Start the web server:

    Code Block
     NEW_SONARQUBE_HOME/bin/<SYSTEM>/sonar start
  10. Browse to http://localhost:9000/setup (replace "localhost:9000" by your own URL) and follow the setup instructions
  11. Analyze your projects to get fresh measures

...

Release Upgrade Notes

Usually Sonar the SonarQube releases come with some specific recommendations for upgrading from the previous version. You have to read the upgrade notes for all versions between your current version and the target version.

...