10.7 | Server upgrade and maintenance | Upgrade | Upgrading the server | Performing the upgrade
Performing the server upgrade
Now that you have determined your upgrade path and tested your upgrade, you can perform your upgrade.
Before you start
Consider the following before starting your upgrade:
- 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.
- Database disk usage recommendations: During your upgrade, tables may be duplicated to speed up the migration process. This could cause your database disk usage to temporarily increase to as much as double the normal usage. Because of this, we recommend that your database disk usage is below 50% before starting a migration.
Upgrading a ZIP file instance
Before you upgrade, make sure you know how to install the server from the ZIP file and check that your environment meets the requirements of the version you're upgrading to.
To upgrade from the ZIP file:
- Download and unzip the SonarQube distribution of your edition in a fresh directory, let's say
<newSonarqubeHome>
. - If you're using third-party plugins, Manually install plugins that are compatible with your version of SonarQube. Use the plugin version matrix to ensure that the versions you install are compatible with your server version. Simply copying plugins from the old server to the new is not recommended; incompatible or duplicate plugins could cause startup errors. Analysis of all languages provided by your edition is available by default without plugins.
- Update the contents of
sonar.properties