Port 9000 doesn't open when installing Sonarqube 8.8 on Ubuntu 20.04

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 :wave:

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 :slight_smile:

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-8.8.0.42792.zip

That versions of Java And Postgresql:
openjdk-15-jdk
psql (PostgreSQL) 13.2 (Ubuntu 13.2-1.pgdg20.10+1)

And followed this tutorial, changing to latest versions of Java, Postgresql and Sonarqube:
https://medium.com/@isaalop/sonarqube-8-3-en-ubuntu-20-04-lts-ff0ed30158e5

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.

we currently require java 11 as documented here. remove java 15 and install java 11 and start sonarqube again.
please also take a look at the platform notes that you need to fulfill for sonarqube.

Removed Java 15, installed Java 11 and restarted all services. Now it’s working without problems. Thanks :clap:

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