Hi everyone, I´ve tried to install Sonarqube 8.8 on Ubuntu 20.04 with Postgresql and Nginx, but I get Error 502 Bad Gateway on web server. When I execute netstat, port 9000 is not open, and ufw is inactive. Any suggestion?
Hello @Luism.cortes.tirado and welcome to the community
hmm this looks like your sonarqube instance is not running. can you check your
$SONARQUBE_HOME/logs directory? each part of sonarqube will create a log file there and hopefully they will give insight why your instance is not running
The information what edition your are running, which java version you have installed and how you start sonarqube would also be helpful
I’ve installed Sonarqube Community Edition on this link: https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-18.104.22.168792.zip
That versions of Java And Postgresql:
psql (PostgreSQL) 13.2 (Ubuntu 13.2-1.pgdg20.10+1)
And followed this tutorial, changing to latest versions of Java, Postgresql and Sonarqube:
On log file “/opt/sonarqube/logs/sonar.20210419.log” I receive the following error message:
warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release
Unrecognized VM option ‘UseConcMarkSweepGC’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Thanks for the information.
Removed Java 15, installed Java 11 and restarted all services. Now it’s working without problems. Thanks
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.