Upgrade from 8.7.1 to 9.1.0 SonarQube will not stay running

When upgrading from 8.7.1 to 9.1.0 sonarqube starts at then ends with exit value 143 in sonar.log…
Process exited with exit value [es]: 143

Any help with this error code is appreciated
All logs attachedUpgrade-9.1.0-logs.zip (4.9 KB)

Hi,

Welcome to the community!

There should have been another log in there: ce.log. Anything there? Also, anything other than DB connection values customized in your server config?

 
Ann

There is no ce.log file in the logs directory. Configuration diff from base properties file…

[sonarqube@usmkeftss05 conf]$ diff sonar.properties sonar.properties.orig
18,19c18,19
< sonar.jdbc.username=sonarqube
< sonar.jdbc.password=*****
---
> #sonar.jdbc.username=
> #sonar.jdbc.password=
36c36
< sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube
---
> #sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube?currentSchema=my_schema
412,413c412,413
< sonar.path.data=/var/sonarqube/data
< sonar.path.temp=/var/sonarqube/temp
---
> #sonar.path.data=data
> #sonar.path.temp=temp

Hi,

This error code on exit can have a variety of causes. Since nothing pertinent is showing up in the logs, it looks like SonarQube isn’t doing a controlled shutdown but is being killed from the outside; presumably by the OS. I have vague memories (jogged by SO results from Google) that this can happen when the process grabs more memory than the OS is happy with.

HTH,
Ann

Issue was you can’t upgrade directly from 8.7.1 to 9.1.0. I needed to upgrade from 8.7.1 to 8.9.2 and then to 9.1.0. This was not as clear as it should be in the documentation for 9.1.0

Hi,

I should have spotted that in your OP. Glad you found it!

 
:roll_eyes:
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.