# Sonarqube showing incorrect count of issues on dashboard

**URL:** <https://community.sonarsource.com/t/sonarqube-showing-incorrect-count-of-issues-on-dashboard/2647>\
**Category:** SonarQube Server / Community Build\
**Created:** [September 17, 2018, 11:31pm UTC](https://community.sonarsource.com/t/sonarqube-showing-incorrect-count-of-issues-on-dashboard/2647 "2018-09-17T23:31:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![NicoB](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicob/32/3_2.png) [@NicoB](https://community.sonarsource.com/u/NicoB)\
**Post date:** [September 18, 2018, 9:26am UTC](https://community.sonarsource.com/t/sonarqube-showing-incorrect-count-of-issues-on-dashboard/2647/3 "2018-09-18T09:26:14Z")

</div>

> [@julienlancelot](#):
>
> Then, to fix your issue, you need to remove data/es folder and restart the server.

And to give some insights into why that is the recommendation here: `data/es` (or more recently `data/es5`) is where the backend data is cached for better performance (especially when searching data). Any server install/migration, or any database URL swap, should be accompanied with a proper rebuild of that data cache, otherwise there’s a risk of having data out-of-synch with what is truly persisted in the database.

The approach when gives this recommendation to rebuild ES data is: stop SQ, delete `data/es5` , restart. Note that subsequent startup may take slightly longer than usual, due to ES data rebuild. Be aware that none of this is a usual operation, and it’s always better to investigate it first as you did here.

---

_[View the full topic](https://community.sonarsource.com/t/sonarqube-showing-incorrect-count-of-issues-on-dashboard/2647)._
