SonarQube not restarting after upgrade from v8.9.3 to v9.2.4

Keywords: SonarQube - Microsoft Azure - Technical issue - Upgrade

bndiagnostic ID: 3389c73c-3dbc-bea5-91dd-927abda475af

bndiagnostic output:

? Connectivity: Found possible issues
? Processes: Found possible issues

bndiagnostic failure reason: The suggested guides are not related with my issue

Currently owning an Azure-hosted Bitnami SonarQube environment (linux) and tried to upgrade to the latest version to benefit from the latest C# features syntax.

I followed the guide here but now, SonarQube refuses to start.
Here follows the console log :

$ sudo /opt/bitnami/ start sonarqube
/opt/bitnami/apps/sonarqube/scripts/ : sonarqube could not be started

I have nothing in any *.log file in /opt/bitnami/apps/sonarqube/sonarqube/logs/, they are all empty.

Hi again,

I turns out that the issue seemed to have been caused by Apache, the port on which SQ was trying to bind itself was already bound.

Restarting the VM fixed the issue, after a quick DB update, the server is now up and running !

Furthermore, I should say that the correct permissions to set on the local files were not the ones described in the documentation

sudo chown -R root:sonarqube /opt/bitnami/apps/sonarqube/sonarqube

did not work, but

sudo chown -R sonarqube /opt/bitnami/apps/sonarqube/sonarqube

did the trick. After that I was able to get logs again and troubleshoot the main issue.

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