[Portfolio is not available for projects post migration/upgrade to new sonarqube version]
- Migration Path
From 6.5 > 6.7.7 LTS > 7.9.4 LTS > 8.0
- Database used source path as mysql and target path as postgresql
- Portfolio won’t available for projects post migration from sonarqube 6.5 to 8.0 - Need solution to address portfolio issue as part of migration and provide detailed steps to fix this. Please note i have tried reindexing the ES but could not achieve.
- Have done migration to new version of sonarqube 8.0 so far. Detail steps which i followed given below.
1.Download and unzip the SonarQube versions in a fresh directory as per migration path given above , let’s say $NEW_SONARQUBE_HOME
2.Used plugins that are compatible with version of SonarQube.
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.).
4.Stop old SonarQube Server
5.Start new SonarQube Server by deleting data & tmp folder
6.Browse to http://SonarQubeServerURL/setup and follow the setup instructions
7.Reanalyze your projects to get fresh data