SonarQube failed to start after upgrade from 8.9LTS to 9.9LTS

Make sure to tell us:

  • What version are you upgrading from? sonarqube-8.9.7.52159
  • System information (Operating system, Java version, Database provider/version)
    RHEL 8.5, java jdk 17. Oracle 19c
  • What’s the issue you’re facing?
    I performed the upgrade, started 9.9, performed the Database upgrade, it appears that the upgrade crashed sonarqube. When I tried to restart it begins then fails with
java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.pollConnect(Native Method)
        at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
        at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        at java.base/java.lang.Thread.run(Thread.java:833)

Hi,

Welcome to the community!

Can we see the full server log that shows the crash during upgrade and what lead up to this Connection refused error?

 
Ann

after the initial start of SonaQube and the Database upgrade portion is when it crashed. I had the DB restarted and that fixed my issue. I did not see any errors relating to the database upgrade portion in the logs, just the connection refused.
I am working now so this can be closed. Thank you for getting back to me