SonarQube does not start

Hello,
Windows Server 2012.
PostgreSQL
Java jdk 11.0.5

I am installing SonarQube 8.0, because I am having problems. After running the file “C: \ sonarqube \ sonarqube-8.0 \ sonarqube-8.0 \ bin \ windows-x86-64 \ StartSonar.bat”.

the logs.

es.txt (3.6 KB)
sonar.txt (3.0 KB)
web.txt (1.5 KB)

configuration files:
Some information has been removed for our safety.*
sonar.properties.txt (19.8 KB)

wrapper.txt (3.2 KB)

please help us.

Welcome to the community.

Your web.log indicate one error :
2019.11.06 16:36:42 ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Current version is too old. Please upgrade to Long Term Support version firstly.

This mean you are currently upgrading from a previous SonarQube version, and the migration path require you to first upgrade to the last LTS before moving on to the 8.X version.

Please upgrade first to the 7.9.1, do the database upgrade, then upgrade to 8.0.

Pierre,

Thanks, tenho o SonarQube na versão 6.5 e o banco na versão 9.6.

Eu posso atualizar diretamente para a versão 7.9.1 e pois para a versão 8.0, ou antes tenho que atualizar para a versão 6.7.7 -> 7.9.1 -> 8.0?

Sorry but this community is english only.

Hi Pierre,
I am also having the same issue but I am going to setup fresh SonarQube 8.0 version and i got enterprise license as well. Should i install the LTS version first to configure the Sonar8.0 version?

Thanks in advance.
Muthu

Hi, for a fresh install you can start with any version you want, as there will be no database update to perform.

Thanks for your quick notes Pierre!

For SonarQube8.0, what version of Postgresql need to be used? Kindly advice me here.

Hi @mmannathanx,

you’ll find all prerequisites and recommendations on this link, in the documentation:
https://docs.sonarqube.org/latest/requirements/requirements/, including DB compatibility.

Carine

Thanks Carine!
I saw that link already and the link says that Postgres 10 can support for SonarQube enterprise 8.0 version. But I had installed postgresql10.5 version 6 months back and I am trying to use that version now.

I configured the ‘sonar.properties’ configuration file as below

sonar.jdbc.username=postgres
sonar.jdbc.password=postgres123

sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube
sonar.web.port=9000
With LDAP configuration

When i start the ‘StartSonar.bat’ i am getting sonarQube stopped.
Error in Web log:-
2019.12.12 22:09:35 ERROR web[o.s.s.p.PlatformImpl] Web server startup failed: Current version is too old. Please upgrade to Long Term Support version firstly.

Warnings in ES Log :-
2019.12.12 22:09:25 WARN es[o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.

Sonar Log :-
2019.12.12 22:09:35 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2019.12.12 22:09:35 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2019.12.12 22:09:35 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped

Kindly guide me what I am doing wrong here.

Thanks
Muthu