Related to operating a SonarQube instance. This implies for example configuration, installation, administration and plugin management.
Questions tagged [sonarqube-ops]
243 questions
1
vote
1 answer
SonarQube Plugins Directory on NFS (Kubernetes)
So, I have built my SonarQube server in Kubernetes (We're using it for GoLang code quality). We have everything working and we're happy with it, but in order to have some resiliency, we want to put the Plugins directory on an NFS Share so they are…

DC.Skells
- 830
- 1
- 8
- 18
1
vote
0 answers
update sonarqube to 7.0 not possible because of sonar-10131 fix
I was trying to update to sonarqube 7.0 (from 6.7.2)
The fix for ticket SONAR-10131 "purge of db Table Project measures is incomplete", prevents us from updating. The running time for each statement takes longer then 14 hours, and we have 492…

Andreas Zschorn
- 21
- 4
1
vote
1 answer
SonarQube error running main: java.lang.NoSuchMethodError: ch.qos.logback.classic.LoggerContext.initCollisionMaps()V
Struggling to get SonarQube to run as a service. start seems to work:-
sudo /etc/init.d/sonar restart
Stopping SonarQube...
SonarQube was not running.
Starting SonarQube...
Started SonarQube.
but running status i get:-
sudo /etc/init.d/sonar…

ThurstonLevi
- 664
- 13
- 34
1
vote
0 answers
SonarQube upgrade to 6.7.1 LTS: Unrecoverable Indexation Failures
I have successfully upgraded SonarQube to ver. 6.5, including the database upgrade, and I am currently trying to upgrade SonarQube to ver. 6.7.1 LTS. The New SonarQube version is being installed on a Linux 64 bit system and is connected to a 2014…

pjd010
- 11
- 3
1
vote
1 answer
SonarQube background tasks runs past 4 hour
We are upgrading our SonarQube from 4.5.X to 5.6.X, compute engine is a new concept and on the paper is pretty shinny. But when put to work, it does not perform much! help me get through if you had made it
I choose a test projects that was scanned…

Shiva
- 717
- 9
- 22
1
vote
0 answers
What is the proper way to know the size of DB needed for SonarQube?
From what I have seen on the web they say:
2.The amount of disk space you need will depend on how much code you analyze with SonarQube. As an example, SonarCloud the public instance of SonarQube, has more than 30 millions lines of code under…

Juan Jose Jaramillo
- 13
- 5
1
vote
1 answer
Sonarqube docker container fails to restart, offline
Background: I have a system behind a proxy/firewall. I can access docker to pull images, but do not have a username/password to access any other sites. Therefore my docker container of sonarqube is essentially offline.
Question: The docker…

jeubank12
- 891
- 9
- 17
1
vote
1 answer
SonarQube Server trust issue with MSBuild
I want to run a SonarQube analysis of a .NET project.
I have set up a docker image with the prerequisites described here.
When following the instructions:
mono /msbuild/SonarQube.Scanner.MSBuild.exe begin /d:sonar.login=…

pkaramol
- 16,451
- 43
- 149
- 324
1
vote
2 answers
SonarQube Update Database for Version 7 Fails
We are running setup to update our SonarQube to version 7.0 - we get a database failure (see stack trace below).
Any idea how we can get past this?
2018.02.07 07:16:47 INFO web[][o.s.s.p.d.m.DatabaseMigrationImpl] Starting DB Migration and…

Bruce Phillips
- 2,740
- 3
- 18
- 17
1
vote
0 answers
Background initialization failed. Stopping SonarQube
I am updating the sonarqube (5.6.3 > 6.7.1) and the following error is occurring:
2018.02.01 20:37:21 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Unrecoverable indexation…

Caio Carlo Candido
- 11
- 1
- 3
1
vote
1 answer
How do I stop SonarQube from assigning issues to the alphabetically "smallest" username?
When running analyses against our codebase, we've found that with the default assignee unset, sonar picks whichever user has the alphabetically "smallest" login, and assigns any issues it can't figure out to them.
By "smallest", I mean given the…

tzrlk
- 848
- 1
- 13
- 30
1
vote
1 answer
Can SonarQube notification email quantity be reduced via batching?
We've been doing a bunch of bulk fixing of issues in our codebase (deprecated code usage, mostly) and every time the analysis kicks off next, everyone gets 10-100-1000 individual emails detailing the status changes that occurred.
Is there any way to…

tzrlk
- 848
- 1
- 13
- 30
1
vote
0 answers
Database for SonarQube.. MYSQL or Oracle? Same server or external
As my team is planning to install SonarQube on a central platform where it will be used by projects across organization please suggest which database is recommended for handling multiple projects in Sonarqube MYSQL or Oracle ?
Also, does it matter…

Jyotsna Saroha
- 678
- 6
- 13
1
vote
1 answer
Database migration in a 5.6.1 to 6.5 upgrade is exceptionally slow
I'm attempting to upgrade a 5.6.1 sonarqube instance to 6.5, it runs on linux against an Oracle database.
I have added the following plugins;
groovy 1.5
ldap 2.2.0.608
oracle driver is ojdbc6-11.2.0.2.0
jdk is 1.8.0_144
the process(es) start but…

Matt
- 8,367
- 4
- 31
- 61
1
vote
1 answer
Sonar database cleanup
We use SonarQube 5.6.6 running a docker container connected to a mysql database. We have default settings in database cleaner configured. However, we recently found out that the database is not at all getting cleaned up.
I cannot find any log…

S N
- 21
- 1
- 4