Version being used: SonarQube 8.9.9 Community Edition
SonarQube deployed: ZIP installation
Trying achieve: Upgrade SonarQube Community Edition 8.9.9 to Community Edition 10.3.
Tried so far: Noted down all property changes in the sonar.properties.
Questions:
- As per the document, it says below.
To upgrade from the ZIP file:
Stop your old SonarQube Server
Start your new SonarQube Server
Browse to http://yourSonarQubeServerURL/setup and follow the setup instructions
Reanalyze your projects to get fresh data.
PostgreSQL clean-up
Once you’ve finished a technical upgrade, you should rebuild database indexes and refresh database statistics before starting SonarQube and reanalyzing your projects.
For PostgreSQL, that means executing three operations:
VACUUM FULL
REINDEX DATABASE
ANALYZE
My question is when should you perform the PostGreSQL Clean up? As per the document, it says you need to stop the services, start new SonarQube services, browse to http://yourSonarQubeServerURL/setup and follow the setup instructions.
But under the PostgreSQL clean-up, it says you need to perform the dB tasks before you start SonarQube. So which one should be followed?