Reputation: 21
We are facing issue in SonarQube upgradation, Current Version of SonarQube running in production is : 5.6.5 (OSS- Community Edition) and expected version is 7.2.
Migration Path tried: (As suggested in Sonarqube upgrade guide)
Current Version | Higher Version
Trial1 : 5.6.5 => 6.7 => 7.2
Trial2 : 5.6.5 => 6.2 => 6.7
Trial3 : 5.6.5 => 6.0 => 6.2
Trial4 : 5.6.5 => 5.6.7
Trail5 : 5.6.5 => 5.6.6
Database in use: Postgres SQL Server OS where Sonarqube hosted is RHEL 7 (For upgradation we tried with both windows and RHEL)
Highlights :
We have tried restarting Sonarqube after deleting es directory after upgrade.
Upvotes: 0
Views: 122
Reputation: 22824
First, there's no need to upgrade to intermediate, non-LTS versions.
Now regarding your missing projects post-upgrade, it's likely that you have corrupt Elasticsearch indices. Try:
$SONARQUBE_HOME/data/es
(or /es5
depending on the version)It will take a little while for your indices to rebuild, but then you should be good.
Upvotes: 1