Sonarqube is failing to startup

This is something weired, I got sonarqube up and running before but it was working only with one instance and I dont remember what security group changes I made to inbound group but now unfortunately that instance is terminated and I am not able to connect sonarqube with other instances,
Can some one help me what needs to be updated looking into below logs?

  • versions used : 9.0.1.46107
  • error observed:
> Aug 20, 2021 @ 13:57:57.187	2021.08.20 08:27:57 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped	
> 	Aug 20, 2021 @ 13:57:57.135	2021.08.20 08:27:57 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped	
> 	Aug 20, 2021 @ 13:57:57.135	2021.08.20 08:27:57 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1	
> 	Aug 20, 2021 @ 13:57:57.134	could not find java in ES_JAVA_HOME at /opt/java/openjdk/bin/java	
> 	Aug 20, 2021 @ 13:57:57.129	2021.08.20 08:27:57 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running	
> 	Aug 20, 2021 @ 13:57:57.057	2021.08.20 08:27:57 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch	
> 	Aug 20, 2021 @ 13:57:56.853	2021.08.20 08:27:56 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:37235]	
> 	Aug 20, 2021 @ 13:57:56.724	2021.08.20 08:27:56 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp

Hi @girish ,

i guess sonarqube is running in docker? if yes then this looks related to the problem described in this thread. can you try the suggested workarounds?