Information about Installation
Using embedded database Derbis
Problem :
I run bin/windows-x86-32/StartSonar.bat
and then click http://localhost:9000
On clicking this, I get the following error:
We're sorry, but something went wrong.
Please try back in a few minutes and contact support if the problem persists.
<%= link_to "Go back to the homepage", home_path %>
Do you know what to do with that error message.
To install SonarQube on Windows, download the latest version, I got 6.2, from the website (https://www.sonarqube.org/downloads/). Unzip the contents of the zip file and put them somewhere. I simply unzipped the sonarqube-6.2 folder to C:\ . Now, we need to hook up SonarQube to the database.
I usually get that message when the database isn't correctly set (either the local has an issue, in which case I try a fresh installation).
Or the mysql database you can associate has an issue (wrong 'sonar.jdbc.username
' or 'sonar.jdbc.password
' in sonar.properties
file.).
Or the default port for the embedded database (jdbc:derby://localhost:1527/sonar;create=true
) isn't available on your server/workstation.
If you are using a Mysql database (not your case), you need to create it first:
mysql [localhost] {root} ((none)) > CREATE DATABASE IF NOT EXISTS sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
Query OK, 1 row affected (0.01 sec)
mysql [localhost] {root} ((none)) > grant all privileges on sonar.* to 'sonar'@'localhost' identified by 'sonar';
Query OK, 0 rows affected (0.00 sec)
mysql [localhost] {root} ((none)) > flush privileges;
Query OK, 0 rows affected (0.00 sec)
http://localhost:9000/setup will initialize the database and correct this error
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With