Sonarqube not starting after upgrading to 7.9 version

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube 7.9
  • what are you trying to achieve
    I upgraded from 7.2 to 7.9 by installing 7.9 version.
    After I added the Database entries(same databse which was used by version 7.2) under sonar.properties and restarted the service it did not come back up.
--> Wrapper Started as Service
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2020.11.12 14:58:39 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory D:\sonarqube-7.9\temp
2020.11.12 14:58:40 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2020.11.12 14:58:40 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [D:\sonarqube-7.9\elasticsearch]: C:\Program Files\Java\jdk-11.0.9\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=D:\sonarqube-7.9\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -Des.enforce.bootstrap.checks=true -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=D:\sonarqube-7.9\elasticsearch -Des.path.conf=D:\sonarqube-7.9\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
2020.11.12 14:58:40 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020.11.12 14:58:42 INFO  app[][o.e.p.PluginsService] no modules loaded
2020.11.12 14:58:42 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2020.11.12 14:59:18 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2020.11.12 14:59:18 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [D:\sonarqube-7.9]: C:\Program Files\Java\jdk-11.0.9\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=D:\sonarqube-7.9\temp --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*;D:\sonarqube-7.9\lib\jdbc\mssql\mssql-jdbc-7.2.2.jre11.jar org.sonar.server.app.WebServer D:\sonarqube-7.9\temp\sq-process6419117673105757509properties
2020.11.12 14:59:32 INFO  app[][o.s.a.SchedulerImpl] Process[web] is stopped
2020.11.12 14:59:32 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2020.11.12 14:59:32 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped

Hi @vmadaan,

Welcome to the Community! :smiley:

The first place to check for errors in this situation is the log files. Can you take a look at your web.log, es.log and sonar.log files and see if there’s anything that can shed some light?

Regards,

Cameron.