How to remove a rogue project?

(Jason Stanley) #1

SonarQube 6.7.2 LTS

I have a project listed when I click on Issues -> Projects

The project is some odd string that I did not create.


When I click on Administration -> Projects -> Management

It does not appear in the list.

Does anyone know how I can remove this project?

(Julien Lancelot) #2

Hi Jason,

When you select this project, do you see the list of issues of it ?
What is the name displayed in the issue card ?


(Jason Stanley) #3

This is what I see when I click on this project.

(Julien Lancelot) #4

Ok, It seems that your elasticsearch index is corrupted.
Could you please try to remove the {SONARQUBE}/data folder and restart SonarQube ?


(Nicolas Bontoux) #5

In fact you may want to delete more specifically data/es5, that’s where the ElasticSearch data lives (and in case you’re on H2 embedded db, you wouldn’t want to delete that). Note that subsequent startup may take slightly longer than usual, due to ES data rebuild (which is not a usual operation, always better to investigate it first as you did here).

(Jason Stanley) #6

Thanks, that fixed my problem.