What is the default username and password for SonarQube?

67

8

What is the default username and password for a fresh installation of SonarQube? Or how do you create a user?

MikeFHay

Posted 2013-08-27T19:22:40.587

Reputation: 2 334

Answers

100

MikeFHay

Posted 2013-08-27T19:22:40.587

Reputation: 2 334

1Unfortunately this doesn't work in SonarQube 6. – IgorGanapolsky – 2016-10-11T14:37:27.113

@IgorG. I'm using SonarQube 6.6 with docker compose and admin/admin works just fine.

– Simon Forsberg – 2017-11-11T22:12:42.160

4It was just too hard for them to put that in the doc I guess... – jeremyjjbrown – 2014-03-11T20:09:42.727

1

If you are like me and have installed Sonarqube 6.4 using jdk 9 / jre 9 the login will always fail. This is due to the fact that java 9 is not supported. Please change the java version to 8 that is supported.

You can also point to a different java version in the conf/wrapper.conf file:

wrapper.java.command=/some/path/to/proper/jdk8

Valid jdk/jre options are found here: https://docs.sonarqube.org/display/SONAR/Requirements

Tobias

Posted 2013-08-27T19:22:40.587

Reputation: 111

0

In Bitnami's official Docker implementation, the defaults are:

username: admin

password: bitnami

This worked for me on SonarQube 7.9.1.

jfmercer

Posted 2013-08-27T19:22:40.587

Reputation: 221