Message apearing once sonarqube.bat is ran, 'ltsversion should be defined'

sonarqube

(Sam Milward) #1

Recently I have just started to run SonarQube 7.5.
This is a completly new server (not an existing server being upgraded)

Sonar is configured to work with PostgresSQL 10 (x86)

Once I have run StartSonar.bat, the sonar qube server starts and runs/functions as intended, however two messages appear (and repeat)

jvm 1 | ltsVersion should be defined
jvm 1 | ltsVersion seems wrong as it is not listed in SonarQube versions

Does anyone know what is causing these messages? Or if it causes any issues that I am not yet aware about?


(G Ann Campbell) #2

Hi,

Could you clarify where you’re seeing these log lines? Also, can your SonarQube instance reach the internet, or is it walled off?

 
Ann


(Sam Milward) #3

Hello

These lines are showing in the powershell window I used to run the Startsonar.Bat
They are also showing in sonarqube-7.5/logs/sonar.txt

It should be able to access the internet itself, but the server itself wont be accessable if you tried to connect to the GUI over a browser.


(Julien Lancelot) #8

Hi Sam,

Have you customized the settings in sonar.properties, expect the database ones ?
Which plugin have you installed ?

Regards,
Julien Lancelot


(Sam Milward) #9

Hi Julien

The properties I have changed are:
sonar.jdbc.username
sonar.jdbc.password
sonar.jdbc.url=jdbc:postgresql://
sonar.web.host
sonar.web.port
sonar.search.port=0

I have also changed the following in the wrapper.config file
wrapper.ntservice.name=SonarQube7.5
wrapper.ntservice.displayname=SonarQube7.5
wrapper.ntservice.description=SonarQube7.5

The plugin I have installed is sonarqube-prometheus-exporter

Sam Milward


(Julien Lancelot) #10

It seems that there is nothing wrong in your configuration.

Are you behind a proxy ?
Are you able to download https://update.sonarsource.org/update-center.properties ?

Regards,
Julien Lancelot