Questions tagged [sonarqube-ops]

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

243 questions
26
votes
2 answers

Sonar Jacoco for Kotlin Setup not generating code coverage

I'm trying to do Sonar Setup with Jacoco for Kotlin to generate Code Coverage report but it's not showing any code coverage. While checking Sonar Console it showing following error. Anyone has faced this issue before, any suggestion what could be…
CoDe
  • 11,056
  • 14
  • 90
  • 197
19
votes
4 answers

Getting elasticsearch "can not run as root" error after upgrading from SonarQube 6.5 to 6.6. Nothing else changed

Getting elasticsearch "can not run as root" error after upgrading from SonarQube 6.5 to 6.6. Nothing else changed. CentOS release 6.8 (Final) Java(TM) SE Runtime Environment (build 1.8.0_101-b13) java.lang.RuntimeException: can not run elasticsearch…
14
votes
3 answers

How to persist configuration & analytics across container invocations in Sonarqube docker image

Sonarqube official docker image, is not persisting any configuration changes like: creating users, changing root password or even installing new plugins. Once the container is restarted, all the configuration changes disappear and the installed…
VanagaS
  • 3,130
  • 3
  • 27
  • 41
12
votes
3 answers

Sonarqube 5.5 and mariadb

We are trying to upgrade to lastest sonarqube 5.5. We have mariadb 10.1 (latest) and since now we had no problems with sonarqube. Now, with the upgrade, sonarqube will not boot. It says: Unsupported mysql version: 5.5. Minimal supported version is…
cocorossello
  • 1,289
  • 1
  • 17
  • 30
10
votes
3 answers

Automatically remove Sonarqube branch projects when git branch merged / removed

We currently have a jenkins pipeline using Multibranch Workflow plugin. Each git branch execute a sonarqube analysis creating a sonarqube project using the sonar.branch property. This is very useful because each branch is being analyzed before…
F.Rosado
  • 487
  • 4
  • 20
7
votes
1 answer

Sonar setup with MySql

Iam trying to change the sonar Qube 5.5 default database to Mysql.But it is still connecting to default H2 DB. Configuration as below. I have run the below scripts in Mysql DB # Create SonarQube database and user. # # Command: mysql -u root -p <…
Ravi
  • 1,247
  • 4
  • 15
  • 35
6
votes
1 answer

sonarqube failed to start with app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143

We tried to install and see features of LTS sonarqube-6.7.2. When I started sonarqube it failed to start and throwing up an error in sonar.log as below. To make sure Elastic search memory I run command as mentioned here sonarqube-es, which was…
user7486728
6
votes
2 answers

Setting up SonarQube on AWS using EC2

Trying to setup SonarQube on EC2 using what should be basic install settings. List item Setup a standard EC2 AWS LINUX Ami attached to M4 large SSH into EC2 instance Install JAVA Set to use JAVA8 wget…
6
votes
1 answer

Elasticsearch bulk index error on Sonar startup

Would someone be able to assist on the error below? It is occurring on the start up of SonarQube 5.6 running on Java 8u71 and an Oracle database. This instance was just update from 5.2. I had the Puppet addon and uninstalled it as an attempt to…
DuckieHo
  • 95
  • 1
  • 5
6
votes
5 answers

Errors installing SonarQube

I'm trying to run sonarQube Installing through cmd as Admin: InstallNTService.bat StartSonar.bat --> Wrapper Started as Console Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki…
John Miller
  • 513
  • 2
  • 8
  • 23
6
votes
0 answers

SonarQube WebServer process spikes CPU after a while

We're running SonarQube 5.1.2 on an AWS node. After a short period of use, typically a day or two, the Sonar web server becomes unresponsive and spikes the server's CPUs: top - 01:59:47 up 2 days, 3:43, 1 user, load average: 1.89, 1.76,…
raner
  • 1,175
  • 1
  • 11
  • 21
5
votes
1 answer

Why does SonarQube 6.0 temp folder have large amount of old data in it (36GB total)?

Our SonarQube 6.0 instance has a "sonarqube-6.0/temp/ce" folder than contains 35.9GB of data. The oldest data in that folder is almost 3 months old. A graph of disk space usage over time is shown below. This post suggests that this was fixed in…
ASnyder
  • 83
  • 5
5
votes
0 answers

Dockerized Jenkins and Sonarqube - Link to analysis in project incorrect

I'm running Jenkins and SonarQube in containers on Debian. The Jenkins image is started with the options --link sonar:sonar where sonar is the name of the running Sonar container. Hence, Jenkins's /ets/hosts contains a hostname entry pointing to the…
Ronny
  • 51
  • 4
5
votes
5 answers

SonarQube default credentials for internal H2 db?

I'm running SonarQube 5.6.1 and am trying to save a view that I created. To do that, I want to take a peek at H2 DB that Sonar (according to it's own readme) uses for internal embedded DB. I've ran the H2 jar file and in console was able to log in…
5
votes
1 answer

Fail to execute database migration from SonarQube 5.6.1 LTS to 6.0

i recently tried to upgrade from SonarQube 5.6.1 LTS to 6.0. I used the Upgrade Guide but i have got an database migration error. Fail to execute database migration: org.sonar.db.version.v60.CleanUsurperRootComponents …
d1no
  • 143
  • 3
  • 14
1
2 3
16 17