New Project not showing on Projects Dashboard Page

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
    sonarqube-7.6

  • error observed (wrap logs/code around triple quote ``` for proper formatting)
    It is only showing 11 projects on the Projects Dashboard page.
    I can see the 12th project if I go to - Adminstration>Projects>Management

  • steps to reproduce
    Added 11 projects.
    Add new project.
    It is not visible on the Projects Dashboard page.

  • potential workaround
    I can see the 12th project if I go to - Adminstration>Projects>Management

Hi,

What state is that 12th project in? Provisioned by not analyzed? Provisioned and analyzed? (This shouldn’t matter, BTW, but I’m trying to understand what’s going on.)

It’s possible you have a corrupt Elasticsearch index. Since your instance is apparently so small, it won’t take too long to rebuild all the indices. You do that by

  • stop the server
  • delete $SONARQUBE_HOME/data/es5
  • restart the server

 
Ann

3 Likes

Hi Ann,

the project was both provisioned and analysed.

I followed your recommendation and it solved the issue.
I now see 12 projects on the dashboard.

Thank you very much.

Ruben Vilhena

Hi Ruben,

Thanks for the info. I’m glad you got it sorted out.

 
:slight_smile:
Ann

Hi Ann,

Thanks for your short and efficient response.

I am on a docker container using docker-compose.

  • Stop the container: docker-compose stop svn
  • …/volumes/_data/data/es6 # You may have a different path
  • Start the container: docker-compose start svn

Francis

1 Like