Data shown in community edition, not in developer edition after upgrade

  • What version are you upgrading from?
    Upgraded from 6.7 → 7.9 → 8.9 → 9.9

  • System information (Operating system, Java version, Database provider/version)

  • Sonarqube is running in AWS ECS
  • Java version: 17
  • Database: PostgreSQL
  • What’s the issue you’re facing?
    We had very old Sonarqube system using version 6.7 with MySQL as its database. Recently we upgraded that to 9.9. We followed recommended practices during upgrade.
  • PostgreSQL RDS was setup
  • Sonarqube 6.7 installed in one of the EC2 instance
  • We used mygrator tool to migrate data from 6.7 Mysql database to 6.7 Postgresql database
  • Upgraded Sonarqube to 7.9
  • Upgraded Sonarqube to 8.9
  • Upgraded Sonarqube to 9.9

Problem is all historical data shown properly in the community edition but not in the developer edition (with license applied)

Check the images attached.

Hey there.

It’s important to reanalyze to get fresh data after upgrading over many versions. Does the data show correctly when you perform a new analysis?

And, you might also try trashing your data/es7 folder on your SonarQube instance and restarting your SonarQube server so that the elasticsearch index rebuilds.

Yes, new data analysis is shown properly.

I raised ticket here because data is shown properly in the community edition but not in developer edition. Do you know what could be the reason for such behavior?

Is it possible you have both running at the same time against the same database? This would cause an issue.

We kept both connected for a while, stopped one of it when problem started. Problem was primarily related to license.