Sonarqube can't resolve issue

747 views Asked by At

I'm using SonarQube 5.1 to analyse a C#/Typescript project.

All is working fine, except the issues seem to do what they want. First, I have a much higher number of issues (4000) in the issue search, while the dashboard shows 1700 issues.

Furthermore, I can't close many issues, I get an error message like "Key '0d3d04ad-3684-4fde-8f02-535ad8b8b26d' not found". I deactivated several rules after issues have been found and the issues remained (I somehow expected them to be removed).

Even stranger is the fact, that the "issues" table in the SQL database had ~2200 entries. I don't get where the 4000 are coming from.

Is there any way to get rid of obsolete issues? (where rules are disabled)

1

There are 1 answers

2
Mithfindel On BEST ANSWER

It seems that the ElasticSearch index of issues is out of sync. This should be fixed by stopping the server, removing the $SQ_HOME/data/es folder and restarting the server.