Migration from sonarqube 8.9.1 to soanrqube 9.0.1 not working

Hi,

versions used : soanrqube 9.0.1 enterprise, docker version 19.03.13-ce

error observed : we are trying to upgrade Sonarqube to the latest version (9.0.1) and we have got this error : could not find java in ES_JAVA_HOME at /opt/java/openjdk/bin/java

We are using Amzon ECS to launch docker.
We have made no change on environment variables.

Can you help us please ?

this is the log trace :

00:41:24.026 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties
2021.08.12 00:41:24 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2021.08.12 00:41:24 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:35795]
2021.08.12 00:41:24 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=β€˜es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
could not find java in ES_JAVA_HOME at /opt/java/openjdk/bin/java
2021.08.12 00:41:24 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2021.08.12 00:41:24 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.08.12 00:41:24 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.08.12 00:41:24 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped

Hello @Amiel_E and welcome to the community :wave:

your error seems to be the same one as in this thread. can you try the suggested workarounds?

Hello Tobias,

thnak you for this response.
We are using AWS ECS to launch docker, and we dont know how to modify the file seccomp profile ?
We are not able to modify our image AWS to fix this.