Questions tagged [sonarqube-ops]

Related to operating a SonarQube instance. This implies for example configuration, installation, administration and plugin management.

243 questions
1
vote
1 answer

Sonarqube background tasks running forever

We have running SonarQube 5.6.4 for a while now. Then we observed suddenly that the queue of background tasks is increasing. In the logs we see messages like that: 2017.07.24 13:56:10 INFO [o.s.s.es.BulkIndexer] 0 requests processed (0…
Michael
  • 43
  • 1
  • 6
1
vote
1 answer

Shrink SonarQube database

I am running SonarQube 6.4 on Windows with a SQL Express database. The database has now reached the 10Gb limit of SQL Express and I would like to make it smaller. I have remove some old projects and changed the 'Database Cleaner' settings but the…
Neil
  • 2,677
  • 1
  • 16
  • 9
1
vote
1 answer

Sonarqube fail to execute database migration from 5.6.6 LTS to 6.4

I tried to upgrade Sonarqube from 5.6.6 (LTS) to 6.4 and got this exception in web.log file, after Database Migration Failed message: 2017.06.29 11:21:32 ERROR web[][DbMigrations] #1241 'Clean orphan rows in table DUPLICATION_INDEX': failure |…
Junio
  • 311
  • 2
  • 9
1
vote
1 answer

How to see integration test coverage in Sonarqube 6.2

As of now with Sonarqube LTS (5.6), this doc (https://docs.sonarqube.org/display/PLUG/Generic+Test+Coverage) can be used to import generic test report in sonarqube . Also this property (sonar.genericcoverage.itReportPaths) can be used to see…
Nikhil
  • 194
  • 1
  • 8
1
vote
1 answer

How to install or uninstall SonarQube plug-ins with HTTP?

I'm trying to install and uninstall SonarQube plug-ins via HTTP. If I call http://localhost:9000/api/plugins/installed I get a list of installed plug-ins as expected: {"plugins": [ { "key": "csharp", "name": "C#", "description":…
deamon
  • 89,107
  • 111
  • 320
  • 448
1
vote
2 answers

Docker memory leak with sonarqube

I am trying to run a docker container which contains SonarQube. After build container, I did below command to run the container. For first several moment it looks fine(I guess since I can find up status in docker ps -a), but I exit automatically…
Juneyoung Oh
  • 7,318
  • 16
  • 73
  • 121
1
vote
1 answer

In sonarqube 5.6.6. I am unable to register secret key

I am following the instructions here: https://docs.sonarqube.org/display/SONAR/Settings+Encryption I am in step 2. I have created the secret file with a custom path. I set the sonar.secretKeyPath property appropriately and rebooted the…
bkilgore
  • 129
  • 1
  • 7
1
vote
1 answer

SonarQube purge (LTS 5.6.1) takes ages for project

Every time a specific project runs its analysis, the purge db takes forever. The complete background task is about 11 minutes, of which usually 8-10 minutes are consumed by purge DB. How can I avoid that the purge makes my analysis slow? 2017.03.24…
1
vote
1 answer

SonarQube - Elasticsearch could not bind

Last week SonarQube loaded in, worked nice and dandy. Now it throws this warning in sonar.log: 2017.03.16 11:58:47 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled. 2017.03.16 11:58:47 INFO es[o.elasticsearch.node] …
MattSom
  • 2,097
  • 5
  • 31
  • 53
1
vote
0 answers

Error msg when i open the „System Info“ in sonarqube

I have updated sonarqube 5.3 up to sonarqube 5.6.6. The update process passed without errors. When I open the “System Info” site in sonarqube then I get a empty site. In the sonarqube logfile “sonar.log” there are an error message like this: ERROR…
NEG
  • 11
  • 1
1
vote
2 answers

Sonar 5.6.4 and 6.1 fails to install on fresh MS SQL Server 2012

When I start Sonar on fresh (empty) MS SQL Server 2012 DB it runs some migration code which fails. I get error below. I can provide full log if anyone is able to create issue in Sonar JIRA. Could it be problem with locale set on driver side? …
1
vote
2 answers

Restricting sonarqube access only via Apache Reverse proxy server

I have configured my Sonarqube server to be accessed using the reverse proxy mechanism provided by Apache server mod_proxy module. My question here is, even after the above setup i will be able to access the sonarqube server by hitting the direct…
Raghu
  • 43
  • 9
1
vote
0 answers

Sonarqube: why: "H2 database should be used for evaluation purpose only" when there is (evidently) a postgres connection?

When I start the sonarqube 6.1 server, the log contains the message "H2 database should be used for evaluation purpose only". However, the log also indicates that evidently sonarqube is correctly connecting to postgres. Furthermore, this post…
Rex D
  • 497
  • 3
  • 9
1
vote
0 answers

Exception while installing Sonarqube6.1 on Linux

While installing Sonarqube6.1 on Linux 64 bit, I'm getting this error in the log file: 2016.12.01 20:18:56 ERROR web[][o.a.c.c.C.[.[.[/sonar]] Exception sending context initialized event to listener instance of class…
1
vote
1 answer

SonarQube server can not be reached by Jenkins using Docker

I have added a SonarQube Scanner analysis step to my Jenkins build, but the step fails: [Test_gitlab] $ /var/jenkins_home/tools/hudson.plugins.sonar.SonarRunnerInstallation/http_INTERNAL_DOCKER_IP_ADDRESS_9000/bin/sonar-scanner -e…
RotS
  • 2,142
  • 2
  • 24
  • 30