Docker Sonarqube 10.0/Latest

just ran the latest version local in my machine:
DOCKER_DEFAULT_PLATFORM=linux/arm64 docker run --rm -d --name sonarqube -p 9000:9000 arm64v8/sonarqube

it doesn’t work.

2023.04.07 16:33:16 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2023.04.07 16:33:16 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:33619]
2023.04.07 16:33:16 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/elasticsearch]: /opt/java/openjdk/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/elasticsearch -Des.path.conf=/opt/sonarqube/temp/conf/es -Des.distribution.type=tar -cp /opt/sonarqube/elasticsearch/lib/*:/opt/sonarqube/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2023.04.07 16:33:16 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.04.07 16:33:18 INFO  es[][o.e.n.Node] version[8.6.1], pid[102], build[tar/180c9830da956993e59e2cd70eb32b5e383ea42c/2023-01-24T21:35:11.506992272Z], OS[Linux/5.15.49-linuxkit/aarch64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.6/17.0.6+10]
2023.04.07 16:33:18 INFO  es[][o.e.n.Node] JVM home [/opt/java/openjdk], using bundled JDK [false]
2023.04.07 16:33:18 INFO  es[][o.e.n.Node] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -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, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=/opt/sonarqube/logs/es_hs_err_pid%p.log, -Xlog:disable, -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, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=tar, --module-path=/opt/sonarqube/elasticsearch/lib, --add-modules=jdk.net, -Djdk.module.main=org.elasticsearch.server]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [apm]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-aggregate-metric]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-core]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-security]
2023.04.07 16:33:18 INFO  es[][o.e.p.PluginsService] no plugins loaded
2023.04.07 16:33:19 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (overlay)]], net usable_space [5.1gb], net total_space [80.3gb], types [overlay]
2023.04.07 16:33:19 INFO  es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2023.04.07 16:33:19 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [7TZQqbWBTqGRB-98Gfrh9A], cluster name [sonarqube], roles [ingest, data_frozen, ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold]
2023.04.07 16:33:19 INFO  es[][o.e.x.s.Security] Security is disabled
2023.04.07 16:33:19 INFO  es[][o.e.t.n.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]
2023.04.07 16:33:19 INFO  es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2023.04.07 16:33:19 INFO  es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2023.04.07 16:33:20 INFO  es[][o.e.n.Node] initialized
2023.04.07 16:33:20 INFO  es[][o.e.n.Node] starting ...
2023.04.07 16:33:20 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:33619}, bound_addresses {127.0.0.1:33619}
2023.04.07 16:33:20 INFO  es[][o.e.c.c.ClusterBootstrapService] this node has not joined a bootstrapped cluster yet; [cluster.initial_master_nodes] is set to [sonarqube]
2023.04.07 16:33:20 INFO  es[][o.e.c.c.Coordinator] setting initial configuration to VotingConfiguration{7TZQqbWBTqGRB-98Gfrh9A}
2023.04.07 16:33:20 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {sonarqube}{7TZQqbWBTqGRB-98Gfrh9A}{FyS9ft-3TTaJK4PwBPSwPA}{sonarqube}{127.0.0.1}{127.0.0.1:33619}{cdfhilmrstw} completing election], term: 1, version: 1, delta: master node changed {previous [], current [{sonarqube}{7TZQqbWBTqGRB-98Gfrh9A}{FyS9ft-3TTaJK4PwBPSwPA}{sonarqube}{127.0.0.1}{127.0.0.1:33619}{cdfhilmrstw}]}
2023.04.07 16:33:20 INFO  es[][o.e.c.c.CoordinationState] cluster UUID set to [qn7ldeYhQryNUYPPoJM9Ig]
2023.04.07 16:33:20 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{7TZQqbWBTqGRB-98Gfrh9A}{FyS9ft-3TTaJK4PwBPSwPA}{sonarqube}{127.0.0.1}{127.0.0.1:33619}{cdfhilmrstw}]}, term: 1, version: 1, reason: Publication{term=1, version=1}
2023.04.07 16:33:20 INFO  es[][o.e.r.s.FileSettingsService] starting file settings watcher ...
2023.04.07 16:33:20 INFO  es[][o.e.r.s.FileSettingsService] file settings service up and running [tid=29]
2023.04.07 16:33:20 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2023.04.07 16:33:20 INFO  es[][o.e.n.Node] started {sonarqube}{7TZQqbWBTqGRB-98Gfrh9A}{FyS9ft-3TTaJK4PwBPSwPA}{sonarqube}{127.0.0.1}{127.0.0.1:33619}{cdfhilmrstw}{rack_id=sonarqube, xpack.installed=true}
2023.04.07 16:33:20 INFO  es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2023.04.07 16:33:20 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [7TZQqbWBTqGRB-98Gfrh9A][sonarqube][/opt/sonarqube/data/es8] free: 5.1gb[6.4%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2023.04.07 16:33:20 INFO  es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{7TZQqbWBTqGRB-98Gfrh9A}] is selected as the current health node.
2023.04.07 16:33:20 INFO  es[][o.e.l.LicenseService] license [eff00da5-253b-4471-ac74-75c6187f4d8f] mode [basic] - valid
2023.04.07 16:33:20 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2023.04.07 16:33:20 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/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 --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-10.0.0.68432.jar:/opt/sonarqube/lib/jdbc/h2/h2-2.1.214.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process10900807491544586910properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-10.0.0.68432.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2023.04.07 16:33:20 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2023.04.07 16:33:21 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 10.0.0.68432 / 75dae6a655f49ac78b0a786f6c19b15085561af9
2023.04.07 16:33:21 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Starting embedded database on port 9092 with url jdbc:h2:tcp://127.0.0.1:9092/sonar;NON_KEYWORDS=VALUE
2023.04.07 16:33:21 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database started. Data stored in: /opt/sonarqube/data
2023.04.07 16:33:21 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:h2:tcp://127.0.0.1:9092/sonar;NON_KEYWORDS=VALUE
2023.04.07 16:33:21 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2023.04.07 16:33:21 INFO  web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection conn2: url=jdbc:h2:tcp://127.0.0.1:9092/sonar user=
2023.04.07 16:33:21 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2023.04.07 16:33:21 WARN  web[][o.s.db.dialect.H2] H2 database should be used for evaluation purpose only.
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2023.04.07 16:33:21 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2023.04.07 16:33:21 INFO  web[][o.s.s.p.d.m.h.MigrationHistoryTableImpl] Creating table schema_migrations
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 8.55.0.65544 / 4605cba422c91e5cceed45acd828ed3a59de9c4f
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Configuration detection fot Code Quality and Security / 1.2.0.267 / 4f37ba9ffb37a96d5883e52ad392ed32c5c6eaab
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.8.0.3166 / 01f66bdddc678966c81a9064ed139156a6a89c97
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.12.0.4259 / 06ef2d2a9be88686d62673ee8b01b2e15df73f29
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.7.1.3306 / d720acc6860c6d8b69ec4d17570a398a1e216da1
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.15.0.3752 / 74263d696caa730771bab5bb9e91281aa8cf056e
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 7.17.0.31219 / ef8feb77b48adf8d590484f0526729ced496e921
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 10.1.0.21143 / 5e1c02be16c9090ab819c13f8e32b0048a7eafe7
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.13.0.2116 / 98cf12b05e770d5805ac50cd08792cede7447e3c
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.28.0.9490 / 4e7d15956b7b6fd26daa2d73eb515be50d8e2c81
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 4.1.0.11333 / 50b9bb959fb9cd6ecc2cae0251a2f99a7eb89dfb
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.12.0.4259 / 06ef2d2a9be88686d62673ee8b01b2e15df73f29
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.12.0.4259 / 06ef2d2a9be88686d62673ee8b01b2e15df73f29
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.0.2.1090 / 7eb026363b98f5f98b43c603772b5177869c2c6a
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 8.55.0.65544 / 4605cba422c91e5cceed45acd828ed3a59de9c4f
2023.04.07 16:33:21 INFO  web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.7.0.3820 / 656bccc1910d50c8984536bd2dfd917066b858e6
2023.04.07 16:33:22 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2023.04.07 16:33:22 WARN  web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2023.04.07 16:33:22 WARN  web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2023.04.07 16:33:22 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2023.04.07 16:33:22 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2023.04.07 16:33:22 INFO  web[][o.s.s.p.d.m.AutoDbMigration] Automatically perform DB migration on fresh install
2023.04.07 16:33:22 INFO  web[][DbMigrations] Executing DB migrations...
2023.04.07 16:33:22 INFO  web[][DbMigrations] #1 'Create initial schema'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #1 'Create initial schema': success | time=145ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #2 'Populate initial schema'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #2 'Populate initial schema': success | time=16ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100000 'Remove orphan rules in Quality Profiles'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100000 'Remove orphan rules in Quality Profiles': success | time=3ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100001 'Drop index 'projects_module_uuid' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100001 'Drop index 'projects_module_uuid' in the 'Components' table': success | time=2ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100002 'Drop column 'module_uuid' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100002 'Drop column 'module_uuid' in the 'Components' table': success | time=11ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100003 'Drop column 'module_uuid_path' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100003 'Drop column 'module_uuid_path' in the 'Components' table': success | time=4ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100004 'Drop column 'b_module_uuid' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100004 'Drop column 'b_module_uuid' in the 'Components' table': success | time=4ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100005 'Drop column 'b_module_uuid_path' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100005 'Drop column 'b_module_uuid_path' in the 'Components' table': success | time=5ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100006 'Drop index 'projects_root_uuid' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100006 'Drop index 'projects_root_uuid' in the 'Components' table': success | time=2ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100007 'Drop column 'root_uuid' in the 'Components' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100007 'Drop column 'root_uuid' in the 'Components' table': success | time=4ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100008 'Update value of 'user_local' in the 'users' table'...
2023.04.07 16:33:23 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 0 rows processed (0 items/sec)
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100008 'Update value of 'user_local' in the 'users' table': success | time=4ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100009 'Make column 'user_local' not nullable in the 'users' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100009 'Make column 'user_local' not nullable in the 'users' table': success | time=5ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100010 'Create 'scim_groups' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100010 'Create 'scim_groups' table': success | time=2ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100011 'Create unique index on scim_groups.group_uuid'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100011 'Create unique index on scim_groups.group_uuid': success | time=1ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100012 'Log a warning message if 'sonar.scim.enabled' is used'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100012 'Log a warning message if 'sonar.scim.enabled' is used': success | time=6ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100013 'Drop 'sonar.scim.enabled' property'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100013 'Drop 'sonar.scim.enabled' property': success | time=2ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100014 'Drop any SCIM User provisioning, turning all users local'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100014 'Drop any SCIM User provisioning, turning all users local': success | time=1ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100015 'Add ncloc to 'Projects' table'...
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100015 'Add ncloc to 'Projects' table': success | time=3ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100016 'Populate ncloc in 'Projects' table'...
2023.04.07 16:33:23 INFO  web[][o.s.s.p.d.m.s.MassUpdate] 0 rows processed (0 items/sec)
2023.04.07 16:33:23 INFO  web[][DbMigrations] #100016 'Populate ncloc in 'Projects' table': success | time=4ms
2023.04.07 16:33:23 INFO  web[][DbMigrations] Executed DB migrations: success | time=239ms
2023.04.07 16:33:23 INFO  web[][o.s.s.p.Platform] Database has been automatically updated
2023.04.07 16:33:23 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@1578fa9 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2023.04.07 16:33:23 INFO  web[][o.s.w.s.DispatcherServlet] Initializing Servlet 'app'
2023.04.07 16:33:23 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2023.04.07 16:33:23 INFO  web[][o.s.s.e.IndexCreator] Create index [metadatas]
2023.04.07 16:33:23 INFO  es[][o.e.c.m.MetadataCreateIndexService] [metadatas] creating index, cause [api], templates [], shards [1]/[0]
2023.04.07 16:33:23 INFO  es[][o.e.c.r.a.AllocationService] current.health="RED" message="Cluster health status changed from [YELLOW] to [RED] (reason: [reconcile-desired-balance])." previous.health="YELLOW" reason="reconcile-desired-balance"
2023.04.07 16:33:24 INFO  web[][o.s.w.s.DispatcherServlet] Completed initialization in 1043 ms
2023.04.07 16:33:24 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000




2023.04.07 16:34:20 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [7TZQqbWBTqGRB-98Gfrh9A][sonarqube][/opt/sonarqube/data/es8] free: 5gb[6.2%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2023.04.07 16:34:24 INFO  web[][o.s.s.e.IndexCreator] Create mapping metadatas
2023.04.07 16:34:24 INFO  es[][o.e.c.m.MetadataMappingService] [metadatas/ziO2C62NS0CPduSLk02txQ] create_mapping
2023.04.07 16:34:54 WARN  es[][r.suppressed] path: /metadatas/_doc/dbVendor, params: {stored_fields=value, index=metadatas, id=dbVendor}
org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [metadatas][dbVendor]: routing [null]]
	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:201) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.start(TransportSingleShardAction.java:178) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:97) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:50) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:86) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:61) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.tasks.TaskManager.registerAndExecute(TaskManager.java:202) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.client.internal.node.NodeClient.executeLocally(NodeClient.java:112) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.client.internal.node.NodeClient.doExecute(NodeClient.java:90) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.client.internal.support.AbstractClient.execute(AbstractClient.java:380) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.client.internal.support.AbstractClient.get(AbstractClient.java:480) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.rest.action.document.RestGetAction.lambda$prepareRequest$0(RestGetAction.java:85) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:103) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.xpack.security.rest.SecurityRestFilter.doHandleRequest(SecurityRestFilter.java:123) ~[?:?]
	at org.elasticsearch.xpack.security.rest.SecurityRestFilter.handleRequest(SecurityRestFilter.java:92) ~[?:?]
	at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:398) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:532) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:313) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:379) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:460) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:353) ~[elasticsearch-8.6.1.jar:?]
	at org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.handlePipelinedRequest(Netty4HttpPipeliningHandler.java:128) ~[?:?]
	at org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:118) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[?:?]
	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[?:?]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[?:?]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[?:?]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
2023.04.07 16:34:54 WARN  web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@253d9f73-org.sonar.server.es.IndexCreator': Initialization of bean failed; nested exception is org.sonar.server.es.ElasticsearchException: Fail to execute es requestES get request for key 'dbVendor' on index 'metadatas'
2023.04.07 16:34:54 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@253d9f73-org.sonar.server.es.IndexCreator': Initialization of bean failed; nested exception is org.sonar.server.es.ElasticsearchException: Fail to execute es requestES get request for key 'dbVendor' on index 'metadatas'
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:187)
	at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:80)
	at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:656)
	at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:214)
	at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:194)
	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:362)
	at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:113)
	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:346)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.sonar.server.es.ElasticsearchException: Fail to execute es requestES get request for key 'dbVendor' on index 'metadatas'
	at org.sonar.server.es.EsClient.execute(EsClient.java:309)
	at org.sonar.server.es.EsClient.get(EsClient.java:174)
	at org.sonar.server.es.metadata.MetadataIndexImpl.getMetadata(MetadataIndexImpl.java:92)
	at org.sonar.server.es.metadata.MetadataIndexImpl.getDbVendor(MetadataIndexImpl.java:83)
	at org.sonar.server.es.metadata.EsDbCompatibilityImpl.hasSameDbVendor(EsDbCompatibilityImpl.java:37)
	at org.sonar.server.es.metadata.EsDbCompatibilityImpl.markAsCompatible(EsDbCompatibilityImpl.java:43)
	at org.sonar.server.es.IndexCreator.checkDbCompatibility(IndexCreator.java:191)
	at org.sonar.server.es.IndexCreator.start(IndexCreator.java:87)
	at org.sonar.core.platform.StartableBeanPostProcessor.postProcessBeforeInitialization(StartableBeanPostProcessor.java:33)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
	... 17 common frames omitted
Caused by: org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=no_shard_available_action_exception, reason=No shard available for [get [metadatas][dbVendor]: routing [null]]]
	at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:178)
	at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:2484)
	at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:2461)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2184)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:2105)
	at org.elasticsearch.client.RestHighLevelClient.get(RestHighLevelClient.java:986)
	at org.sonar.server.es.EsClient.lambda$get$17(EsClient.java:174)
	at org.sonar.server.es.EsClient.execute(EsClient.java:307)
	... 28 common frames omitted
	Suppressed: org.elasticsearch.client.ResponseException: method [GET], host [http://localhost:9001], URI [/metadatas/_doc/dbVendor?stored_fields=value], status line [HTTP/1.1 503 Service Unavailable]
{"error":{"root_cause":[{"type":"no_shard_available_action_exception","reason":"No shard available for [get [metadatas][dbVendor]: routing [null]]"}],"type":"no_shard_available_action_exception","reason":"No shard available for [get [metadatas][dbVendor]: routing [null]]"},"status":503}
		at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:347)
		at org.elasticsearch.client.RestClient.performRequest(RestClient.java:313)
		at org.elasticsearch.client.RestClient.performRequest(RestClient.java:288)
		at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2699)
		at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171)
		... 33 common frames omitted
2023.04.07 16:34:54 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
2023.04.07 16:34:54 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown initiated...
2023.04.07 16:34:54 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown completed.
2023.04.07 16:34:54 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database stopped
2023.04.07 16:34:54 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2023.04.07 16:34:54 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.04.07 16:34:54 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2023.04.07 16:34:54 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

warnings and errors you can see in the logs above

solved :point_up_2:

basically was my disk space availability to containers. I have reclaimed all space and ran it again with success using the same command.

DOCKER_DEFAULT_PLATFORM=linux/arm64 docker run --rm -d --name sonarqube -p 9000:9000 arm64v8/sonarqube

1 Like