Hello everyone, I am trying to install SonarQube server 9.8.0.63668 in Linux VM. I have unzipped the downloaded setup file and want to use the embedded H2 Database. I already have java 11 installed on this VM Linux machine.
I have made the following changes to sonar.properties file.
1.sonar. embeddedDatabase.port=9092
2.sonar.web.host=my Linux VM Ip Address
3.sonar.web.port=9000
I start the SonarQube server as a non-root user in Linux using command ./sonar.sh start
I do not see any errors in the web.log, sonar.log or nohup.log file.
when i try to open the homepage using URL: Linux VM Ip Address:9000
I see a maintenance page which says. SonarQube is under maintenance.
I don’t want to migrate any old DB as this is a completely fresh installation and there is no existing Db that i want to migrate the data from
Also, when I hit the URL lp-adress:9000/setup, I see the page with the message. Migration not supported
if I add following details in sonar.properties
sonar.embeddedDatabase.username=sonarqube
sonar.embeddedDatabase.password=sonarqube
then server doesn’t start and i see following error message in web.log
Caused by: org.h2.jdbc.JdbcSQLInvalidAuthorizationSpecException: Wrong user name or password [28000-214]
how do i see the admin page at localhost:9000 or Linux VM ip address:9000???
if I’m doing anything wrong, please let me know.
any help would be greatly appreciated.