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

After trying the suggested fix and upgrading our SonarQube server to 9.9.0.65466 the problem still exists. :frowning:

In the browser debug tools I can see that the list of projects is returned by the API. Although no project is shown when sort=name.

Hi,

Thanks for checking. I’ve flagged this for more expert eyes.

 
Ann

Hello @ckadluba-post

First of all, thank you for your report.
I was trying to replicate your issue in both versions and couldn’t.
Could you please share a print copy/paste from the errors you’re getting on your console?
Are you using any extension (ad block)? And could you please try on incognito mode?

Kevin