10.4 Version not showing previous issues

  • which versions are you using: 10.4 Version
  • How is SonarQube deployed: zip using EC2 Linux machine

Hi Team,

After I updated the SonarQube version, it is not showing old issues for “Security”, ”Reliability”, ”Maintainability” and “Hotspots”. It is just showing a “dash” for all the projects as shown in the screenshots. I tried multiple times to stop and start the sonar server but that didn’t help.

Hi,

You need to reanalyze your projects.

The upgrade instructions are pretty clear on that. Usually you can get away without it, but this time we really mean it. :nerd_face:

 
HTH,
Ann

But we can’t reanalyze all 2000 projects. Is there a way to still see our old data?

This is a very annoying and bad 10.4 update for me. It does not show the data for any long-lived branches, feature branches, or pull requests for old data. In 2000 projects you can imagine how many branches and pull requests are available.

Hi,

Well… It’s actually the ratings that I would have expected to be blank, rather than the issue counts. It’s worth regenerating your Elasticsearch indices:

  • stop the server
  • delete $SONARQUBE-HOME/data/es8
  • restart the server

 
HTH,
Ann

I deleted and restarted the server multiple times. All the time just I see dashes.

Hi,

I guess you mean the es8 directory? Then yeah, you’ll need to reanalyze.

 
Ann

Yes, es8 directory.
What is the benefit of this change? to reanalyze all the projects and branches if you want to see the data. I have to reach multiple teams to explain and the time it takes to reanalyze all the projects.

Hi,

We’ve made some underlying changes and the measures need to be recomputed.

 
Ann

Thank you Ann

One last question - when is the next LTS version release?

Hi,

We haven’t set a date yet. I think it’s expected at the end of the year, but to be conservative, I would assume 2025Q1.

 
Ann