Versions Compared

Key

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

...

  1. Download and unzip the SonarQube distribution of your edition in a fresh directory, let's say $NEW_SONARQUBE_HOME

  2. Install Manually install the non-default plugins that compatible with your version of SonarQube. Use the Compatibility Matrix to ensure that the versions you install are compatible with your server version. Note that the most recent versions of all SonarSource code analyzers available in your edition are installed by default. Simply copying plugins from the old server to the new is not recommended; incompatible or duplicate plugins could cause startup errors. 

  3. Update the contents of sonar.properties and wrapper.conf files (in $NEW_SONARQUBE_HOME/conf) with the settings of the related files in the OLD_SONARQUBE_HOME/conf directory (web server URL, database, ldap settings, etc.). Do not copy-paste the old files.

    1. If you are using the Oracle DB, copy its JDBC driver into $NEW_SONARQUBE_HOME/extensions/jdbc-driver/oracle

  4. Stop your old SonarQube Server
  5. Start your new SonarQube Server
  6. Browse to http://yourSonarQubeServerURL/setup and follow the setup instructions
  7. Analyze your projects (and compute your Views if you own the Governance product) to get fresh data

...