Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SonarQube 6.2 upgrade to 6.4 Missing projects and users

On Debian Jessie I had an installed version of SonarQube 6.2 using Postgresql (latest on Jessie ) Java 8 installed I went through the upgrade process (to v. 6.4)Here

When it came back online all the projects were missing. I can get to them by manually typing in the URL to the project like:

https://[address of server]/dashboard?id=[Name of Project]

Also the in the user admin section (Administration>Security>Users) I see no users. However if I go to groups (Administration>Security>Groups) my sonar user group says it has users. In my case its 14 - but I cannot see any of them. Can anyone help bring this stuff back? I did do a DB back-up before the upgrade - so I can always go back, but I would like to not have to do that.

like image 631
Keeper of the Grove Avatar asked Jun 06 '17 19:06

Keeper of the Grove


People also ask

How long does SonarQube upgrade take?

Last night, we upgraded SonarQube from 6.7. 6 to 7.9. 6, and the Database Migration took us around 7-8 hours. As additional information, our database size was around 215GBs and hosted MSSQL server.

Where is project settings in SonarQube?

A project-level Background Tasks page is available at Project Settings > Background Tasks to allow project administrators to check their projects' processing. It offers analysis report details and logs.


1 Answers

As answered here, this seems to be a bad ElasticSearch index. Stop your server. Delete $SONARQUBE_HOME/data and restart.

like image 118
G. Ann - SonarSource Team Avatar answered Oct 19 '22 10:10

G. Ann - SonarSource Team