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.
- SonarQube Enterprise Edition Version 9.6.1 (build 59531)
- Firefox 108.0.1 (64-bit), also happens with Google Chrome.
- Windows 11
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
- Restart SonarQube
The indices will be rebuilt automatically.
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.
After trying the suggested fix and upgrading our SonarQube server to 188.8.131.52466 the problem still exists.
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.
Thanks for checking. I’ve flagged this for more expert eyes.
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?