# SonarQube does not start

**URL:** <https://community.sonarsource.com/t/sonarqube-does-not-start/16327>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube\
**Created:** [November 6, 2019, 9:19pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327 "2019-11-06T21:19:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samir\_Ribeiro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/samir_ribeiro/32/7432_2.png) [@Samir\_Ribeiro](https://community.sonarsource.com/u/Samir_Ribeiro)\
**Post date:** [November 6, 2019, 9:19pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/1 "2019-11-06T21:19:43Z")

</div>

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.

**1°** [es.txt](https://community.sonarsource.com/uploads/short-url/s8HknaGiWhjAQEywQy93jES6l75.txt) (3.6 KB)  
**2°** [sonar.txt](https://community.sonarsource.com/uploads/short-url/nCewTSW96zi40miBPA9qf8w2iZ.txt) (3.0 KB)  
**3°** [web.txt](https://community.sonarsource.com/uploads/short-url/cjZUuMdwlfeIfVIsMHUkIpjCksM.txt) (1.5 KB)

**configuration files:**  
**Some information has been removed for our safety.** \*  
[sonar.properties.txt](https://community.sonarsource.com/uploads/short-url/pplfZg8iUYS30zlxJd2v2p9jsDw.txt) (19.8 KB)

[wrapper.txt](https://community.sonarsource.com/uploads/short-url/jmFxVFNfGG8Rm9LIhcxhyKT7acu.txt) (3.2 KB)

**please help us.**

---

<div class="post-metadata">

**Author:** ![pierreguillot](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pierreguillot/32/46022_2.png) [@pierreguillot](https://community.sonarsource.com/u/pierreguillot)\
**Post date:** [November 7, 2019, 9:35am UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/2 "2019-11-07T09:35:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Samir\_Ribeiro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/samir_ribeiro/32/7432_2.png) [@Samir\_Ribeiro](https://community.sonarsource.com/u/Samir_Ribeiro)\
**Post date:** [November 7, 2019, 12:15pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/3 "2019-11-07T12:15:37Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![pierreguillot](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pierreguillot/32/46022_2.png) [@pierreguillot](https://community.sonarsource.com/u/pierreguillot)\
**Post date:** [November 7, 2019, 12:43pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/4 "2019-11-07T12:43:40Z")

</div>

Sorry but this community is english only.

---

<div class="post-metadata">

**Author:** ![mmannathanx](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mmannathanx](https://community.sonarsource.com/u/mmannathanx)\
**Post date:** [December 12, 2019, 11:48am UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/5 "2019-12-12T11:48:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pierreguillot](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pierreguillot/32/46022_2.png) [@pierreguillot](https://community.sonarsource.com/u/pierreguillot)\
**Post date:** [December 12, 2019, 12:59pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/6 "2019-12-12T12:59:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mmannathanx](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mmannathanx](https://community.sonarsource.com/u/mmannathanx)\
**Post date:** [December 12, 2019, 4:23pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/7 "2019-12-12T16:23:32Z")

</div>

Thanks for your quick notes Pierre!

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

---

<div class="post-metadata">

**Author:** ![Carine\_Bayon](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/carine_bayon/32/3223_2.png) [@Carine\_Bayon](https://community.sonarsource.com/u/Carine_Bayon)\
**Post date:** [December 12, 2019, 4:25pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/8 "2019-12-12T16:25:47Z")

</div>

Hi @mmannathanx,

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

Carine

---

<div class="post-metadata">

**Author:** ![mmannathanx](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mmannathanx](https://community.sonarsource.com/u/mmannathanx)\
**Post date:** [December 12, 2019, 5:07pm UTC](https://community.sonarsource.com/t/sonarqube-does-not-start/16327/9 "2019-12-12T17:07:36Z")

</div>

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
