Project list is empty until a filter is selected

I have noticed a problem with the web UI of SonarQube regarding the project list (https://sonarqube.example.com/projects?sort=name). With default filters the project list is empty (displaying only the text “0 of 0 shown”). Only after a filter is changed (like “sort by name descending” https://sonarqube.example.com/projects?sort=-name) all 286 project are displayed in the list.

Environment:

  • SonarQube Enterprise Edition Version 9.6.1 (build 59531)
  • Firefox 108.0.1 (64-bit), also happens with Google Chrome.
  • Windows 11

Hi,

Welcome to the community and thanks for this report!

Are there any errors in your browse console?

If not, this could be a corrupt Elasticsearch index. The easiest thing to do in that case is

  • Shut SoanrQube down
  • Delete $SONARQUBE-HOME/data/es7
  • Restart SonarQube

The indices will be rebuilt automatically.

 
HTH,
Ann

Thank you for the hint. We will try it out and let you know.

In the browser debug console I can see the following errors.

Some cookies are misusing the recommended “SameSite“ attribute 12
InstallTrigger is deprecated and will be removed in the future.

1 Like