SonarQube fails to start

Hi ,

I am also getting the same error. Can you please help .

web.log:

2021.03.27 14:41:05 INFO web[o.s.p.ProcessEntryPoint] Starting web
2021.03.27 14:41:06 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2021.03.27 14:41:07 INFO web[o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2021.03.27 14:41:07 INFO web[o.s.s.p.LogServerVersion] SonarQube Server / 8.7.0.41497 / 95518cab3f7fcbf534519de0aad00eee058468ef
2021.03.27 14:41:07 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://localhost/sonarqube
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube/sonarqube-8.7.0.41497
2021.03.27 14:41:09 INFO web[o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.18.0.27296 / 9aa523cd53b79837cfb707e036b65deb12b334bd
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin CSS Code Quality and Security / 1.3.2.1782 / e5e9afed0350d3a3f5a8d016565abd6af8a5ed96
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.0.2294 / 64746e0c588ddd44f3216ae1ee02a01bcf6b2dac
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.2.1946 / e5d905c22abff18761b80fa66a2d92c2aeb6dcf7
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.3.0.2534 / 18c0ca03dae915ebe9bc9bd71345b3290db1d5a5
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.0.898 / f65b288e6c2888393bd7fb72ad7ac1425f88eebf
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 6.12.0.24852 / be1719d9a06eab7d4d8903dc3264a5839c73e26a
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 7.2.0.14938 / 8f58cd77d8fb0f0d31ab14a9e5762eea438d01ee
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 1.8.2.1946 / e5d905c22abff18761b80fa66a2d92c2aeb6dcf7
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.15.0.7197 / d9ce5c6caa9e8e60e9100578ca035cbb5b1a2899
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.2.0.7856 / d0e59d398e2f615bd40b8cd37d7685e5202fd980
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.2.1946 / e5d905c22abff18761b80fa66a2d92c2aeb6dcf7
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.2.1946 / e5d905c22abff18761b80fa66a2d92c2aeb6dcf7
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin SonarXML / 2.0.1.2020 / c5b84004face582d56f110e24c29bf9c6a679e69
2021.03.27 14:41:09 INFO web[o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.18.0.27296 / 9aa523cd53b79837cfb707e036b65deb12b334bd
2021.03.27 14:41:10 INFO web[o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2021.03.27 14:41:10 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@dcd0200 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, …], exclusions=[/api/components/update_key, …]}]
2021.03.27 14:41:10 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2021.03.27 14:41:11 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2021.03.27 14:41:13 ERROR web[o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.NullPointerException: null
at org.sonar.server.es.metadata.MetadataIndexImpl.getMetadata(MetadataIndexImpl.java:98)
at org.sonar.server.es.metadata.MetadataIndexImpl.getDbVendor(MetadataIndexImpl.java:85)
at org.sonar.server.es.metadata.EsDbCompatibilityImpl.hasSameDbVendor(EsDbCompatibilityImpl.java:37)
at org.sonar.server.es.IndexCreator.checkDbCompatibility(IndexCreator.java:204)
at org.sonar.server.es.IndexCreator.start(IndexCreator.java:94)
at org.sonar.core.platform.StartableCloseableSafeLifecyleStrategy.start(StartableCloseableSafeLifecyleStrategy.java:40)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
at org.picocontainer.behaviors.Stored.start(Stored.java:110)
at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)
at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)
at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:90)
at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:576)
at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:213)
at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:187)
at org.sonar.server.platform.PlatformImpl.access$500(PlatformImpl.java:46)
at org.sonar.server.platform.PlatformImpl$1.lambda$doRun$0(PlatformImpl.java:120)
at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:370)
at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:120)
at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:354)
at java.base/java.lang.Thread.run(Thread.java:834)
2021.03.27 14:41:13 INFO web[o.s.p.ProcessEntryPoint] Hard stopping process

sonar.log:

2021.03.27 14:41:05 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process486449192566886390properties
2021.03.27 14:41:13 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:41:13 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:41:13 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:41:13 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:41:14 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:41:14 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:44607]
2021.03.27 14:41:14 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:41:14 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:41:37 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:41:37 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process18011286710687289826properties
2021.03.27 14:41:45 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:41:45 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:41:45 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:41:45 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:41:46 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:41:46 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:36475]
2021.03.27 14:41:46 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:41:46 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:42:09 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:42:09 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process16176040152314029136properties
2021.03.27 14:42:17 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:42:17 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:42:17 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:42:17 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:42:18 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:42:18 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:39913]
2021.03.27 14:42:18 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:42:18 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:42:43 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:42:43 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process18422676041067248248properties
2021.03.27 14:42:51 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:42:51 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:42:51 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:42:51 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:42:52 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:42:52 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:42157]
2021.03.27 14:42:52 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:42:52 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:43:15 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:43:15 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process8444021630247345466properties
2021.03.27 14:43:23 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:43:23 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:43:23 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:43:23 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:43:24 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:43:24 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:42129]
2021.03.27 14:43:24 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:43:24 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:43:48 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:43:48 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process8786901526193752257properties
2021.03.27 14:43:59 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:43:59 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:43:59 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:43:59 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:44:00 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:44:00 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:44393]
2021.03.27 14:44:00 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:44:00 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:44:28 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:44:28 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process9660728706778348790properties
2021.03.27 14:44:39 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:44:39 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:44:39 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:44:39 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:44:40 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:44:40 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:45335]
2021.03.27 14:44:40 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:44:40 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:45:12 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:45:12 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process1675183395245486488properties
2021.03.27 14:45:22 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:45:22 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:45:22 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:45:22 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:45:23 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:45:23 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:38309]
2021.03.27 14:45:23 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:45:23 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:45:48 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:45:48 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process4259060550717590680properties
2021.03.27 14:45:56 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:45:57 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:45:57 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:45:57 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
2021.03.27 14:45:58 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-8.7.0.41497/temp
2021.03.27 14:45:58 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:35909]
2021.03.27 14:45:58 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch]: /opt/sonarqube/sonarqube-8.7.0.41497/elasticsearch/bin/elasticsearch
2021.03.27 14:45:58 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.03.27 14:46:21 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2021.03.27 14:46:21 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-8.7.0.41497]: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-8.7.0.41497/temp -XX:-OmitStackTraceInFastThrow --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 -server -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/sonarqube-8.7.0.41497/lib/jdbc/postgresql/postgresql-42.2.17.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-8.7.0.41497/temp/sq-process8596694219096909813properties
2021.03.27 14:46:29 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.03.27 14:46:29 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.03.27 14:46:29 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.03.27 14:46:29 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped

Try these steps from Troubleshooting: Recovering from Elasticsearch read-only indices:

  1. Stop SonarQube
  2. Delete the data/es7 directory
  3. Restart SonarQube

Hi @Mohit_Sharma

In addition to my colleague’s good advice, I’ve split your thread into its own. Please don’t bump old threads.