If you followed my blog on How to setup a SonarQube server in Azure using this blog will show you how to upgrade it.
- Take inventory for plugins installed on current version.
- Download desired version from https://www.sonarqube.org/downloads/
- Once the download is complete unblock the file
- Right-click the zip
- Click the unblock button
- Unzip into new location leaving the old server folder
- Using Services stop your SonarQube
- Using the batch file in \bin of current server run UninstallNTService.bat
- Using Sql Server Management Studio to back up your database
- Copy settings from \conf\sonar.properties file to new install
- Do not copy entire file
- Using the batch file in \bin of new server run InstallNTService.bat
- Using Services change the Log on as as described in I can’t run SonarQube as a Windows Service
- Using Services start server
- Visit http://yourserver/setup and follow the directions
- Re-install/Upgrade plugins