Comments on How to Install SonarQube on Ubuntu 16.04

SonarQube is a free and open source quality management system platform that can be used to automate code inspection. It can analyze source code files, calculate a set of metrics and show the result on the web based dashboard. It is written in Java language and also supports other languages like Perl, PHP, and Ruby.

10 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Utku Sonmez

jdbc url seems wrong for your blog post, it has to be like this -> localhost:3306/sonardb

 

sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false

By: Positron

I face this error when try to access :

-------------

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

-----------

Thank's for help !

By: Julian

It seems that SonarQube does not officially support MariaDB. I've tried your tutorial but SonarQube does not start. (see /opt/sonar/log/web.log for detailed reason)

It may solves the issue of "Positron" above. I'll head to MySQL 5.7 database.

https://docs.sonarqube.org/display/SONAR/Requirements

 

By: GG001

Bonjour  :: est ce que vous avez les commande pour installer H2 sur Ubuntu !!!

Je serais  tres  intéressé !!!

A+     GG

By: Jan

After learning it myself the hard way, Sonarqube does NOT support (like in it will NOT install on) MariaDB. So don't waste your time trying. There is a hack which I would not recommend unless you really need to have this running on Maria: https://stackoverflow.com/questions/37026631/sonarqube-5-5-and-mariadb/37026848#37026848

 

More details can be read here: https://groups.google.com/forum/#!topic/sonarqube/32x5fsWHfCQ

Quite a sad story of a great product :-(

 

Jan

By: Madura Tharinda

One of my friend(Mr.Kalana Weerarathne at Scicom Lanka) gave me an idea about sonar.jdbc.url for MariaDB. I went through it and got success by changing the jdbc url as below. I am sure that this will be helpful you to solve confusions of combination of SonarQube and MariaDB

sonar.jdbc.url=jdbc:mariadb://localhost:3306/sonardb?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false

By: shraddha

cant access the url http://192.168.15.189

By: till

Replace IP 192.168.15.189 with the IP address of your server.

By: geetha

URL http://192.168.15.189 url is not opening

By: Fares

Very Good tuto ;

systemctl enable mariadb.service 

instead of 

systemctl enable mysql