Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- Was using 9.5 and just upgraded to 9.9 LTS
- what are you trying to achieve
- Run the upgraded version of sonarqube 9.9
Hello,
I just installed my sonarqube from 9.5 to 9.9 and seeing errors in log files generated by sonarqube. When I execute the following commands serially “systemctl daemon-reload”, and “systemctl status sonarqube.service”, it succeeds but get some warnings, as seen in the screenshot below. Also, the website runs but says the “Sonarqube under maintainance”.
But, as soon as I run the “./sonar.sh start” the website doesnt work anymore, it says “502 bad gateway”. Also, I get the following output:
I caught two errors in log files. Looking at the sonar.log, it says “connection refused”. Next, looking at es.log shows “org.elasticsearch.bootstrap” is trying to run under the root. But I have already run the following command “chown -R sonar:sonar /opt/sonarqube/”, and checked that the sonarqube directory is assigned sonar as user and group, as shown in the picture below and also the sonarqube.service file has both group and user as “sonar”.
I have attached all fresh logs generated by the sonarqube.
Also, I had updated my java to “openjdk 17.0.6 2023-01-17 LTS”
Thanks,
Avay
sonar.log (321.7 KB)
nohup.log (80.9 KB)
es.log (141.2 KB)
web.log (1.1 MB)
sonarqube.service.txt (429 Bytes)