I am currently configuring a sonarqube instance with version of 5.1 and after several analyzes there are ghost projects appearing in issues tab on main page. Currently there is only one project that is being analyzed with same identifier and when i check database for those projects there is only one project and all issues in the corresponding table has same project_uuid. But the problem arises when i want to list all issues related to every project on server. On left side when i choose Project filter there should be one project but there are unnamed projects appear and when i choose an issue within a ghost project sonarqube gives error with message "Parameter 'uuid' is missing". when i check the URL for the uuid of the ghost project, i could not find any trace for that uuid in database either. Is there a way to remove these ghost projects or i am running sonar-runner with a wrong configuration?
Edit - config:
sonar.projectKey=x
sonar.projectName=x
sonar.projectVersion=1.0
sonar.modules=a,b,c
a.sonar.projectBaseDir=modules/a
b.sonar.projectBaseDir=modules/b
c.sonar.projectBaseDir=modules/c
sonar.sources=src
sonar.tests=test
sonar.java.binaries=../**/classes/production,../**/classes/test
sonar.java.libraries=../../libraries/repository
sonar.junit.reportsPath=junit/
sonar.java.coveragePlugin=jacoco
sonar.jacoco.reporthPath=coverage/jacoco.exec
sonar.language=java
sonar.sourceEncoding=UTF-8
If these are showing up on issues tab only, it seems like an issue with indexing, somehow the search index seems to be corrupted. You can try to delete the ES index and see if it fixes the issue for you. The ES index is stored in
<sonar-install-dir>/data/es
folder.