SonarQube won't start up

Hi,

OS: Windows 11 x64 Pro
SonarQube: sonarqube-10.4.1.88267
JAVA_HOME=C:\Program Files\Java\jdk-21
SONAR_JAVA_PATH=C:\Program Files\Java\jdk-17\bin\java.exe

My SonarQube is suddenly not starting up.

When I go to localhost:9000/setup, it says my database is up to date.
When I go to localhost:9000, it’s stuck on SonarQube is starting up

The only changes I’ve made in sonar.properties are:

sonar.jdbc.username=sonarqube
sonar.jdbc.password=xxx
sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=SonarQube;encrypt=false

SQL Server is up and running. I’ve confirmed the credentials are working / not expired, etc.

when I run startsonar.bat, all I get is:

Starting SonarQube...
2024.03.15 10:35:27 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Program Files\sonarqube-10.4.1.88267\temp
2024.03.15 10:35:27 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:51356]
2024.03.15 10:35:27 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\Program Files\sonarqube-10.4.1.88267\elasticsearch]: C:\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\Program Files\sonarqube-10.4.1.88267\elasticsearch -Des.path.conf=C:\Program Files\sonarqube-10.4.1.88267\temp\conf\es -Des.distribution.type=tar -cp C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\*;C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2024.03.15 10:35:27 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.03.15 10:35:32 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2024.03.15 10:35:32 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [C:\Program Files\sonarqube-10.4.1.88267]: C:\Program Files\Java\jdk-17\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Program Files\sonarqube-10.4.1.88267\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.4.1.88267.jar;C:\Program Files\sonarqube-10.4.1.88267\lib\jdbc\mssql\mssql-jdbc-12.4.2.jre11.jar org.sonar.server.app.WebServer C:\Program Files\sonarqube-10.4.1.88267\temp\sq-process7095439973581970789properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/C:/Program%20Files/sonarqube-10.4.1.88267/lib/sonar-application-10.4.1.88267.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release

It never gets past that line. When I CTRL-C to kill it, I can’t even do that. I have to close the terminal Window and then go into Task Manager and kill the Java instances.

This was working on this machine at some point very recently :(. Not sure what changed.

Hey there.

What do the other log files say?

@Colin

access.log is just full of:

(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "-" 48
0:0:0:0:0:0:0:1 - - [16/Mar/2024:20:02:23 -0700] "GET /api/system/status HTTP/1.1" 200 - "http://localhost:9000/maintenance?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "-" 49
0:0:0:0:0:0:0:1 - - [16/Mar/2024:20:02:28 -0700] "GET /api/system/status HTTP/1.1" 200 - "http://localhost:9000/maintenance?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "-" 0

es.log:

2024.03.16 20:02:13 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[issues][4]]])." previous.health="YELLOW" reason="shards started [[issues][4]]"
2024.03.16 20:02:13 INFO  es[][o.e.c.m.MetadataMappingService] [issues/ugar386PTU-6iF9drd_tQg] create_mapping
2024.03.16 20:02:14 INFO  es[][o.e.c.m.MetadataCreateIndexService] [views] creating index, cause [api], templates [], shards [5]/[0]
2024.03.16 20:02:14 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.16 20:02:14 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[views][4]]])." previous.health="YELLOW" reason="shards started [[views][4]]"
2024.03.16 20:02:14 INFO  es[][o.e.c.m.MetadataMappingService] [views/drSxf_AbSNCEhJx3xCtnXw] create_mapping

sonar.log:

2024.03.16 19:55:10 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Program Files\sonarqube-10.4.1.88267\temp
2024.03.16 19:55:10 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:56701]
2024.03.16 19:55:10 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\Program Files\sonarqube-10.4.1.88267\elasticsearch]: C:\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\Program Files\sonarqube-10.4.1.88267\elasticsearch -Des.path.conf=C:\Program Files\sonarqube-10.4.1.88267\temp\conf\es -Des.distribution.type=tar -cp C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\*;C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2024.03.16 19:55:10 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.03.16 19:55:15 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2024.03.16 19:55:15 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [C:\Program Files\sonarqube-10.4.1.88267]: C:\Program Files\Java\jdk-17\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Program Files\sonarqube-10.4.1.88267\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.4.1.88267.jar;C:\Program Files\sonarqube-10.4.1.88267\lib\jdbc\mssql\mssql-jdbc-12.4.2.jre11.jar org.sonar.server.app.WebServer C:\Program Files\sonarqube-10.4.1.88267\temp\sq-process8599416049214224849properties
2024.03.16 20:02:03 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Program Files\sonarqube-10.4.1.88267\temp
2024.03.16 20:02:03 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:56759]
2024.03.16 20:02:03 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\Program Files\sonarqube-10.4.1.88267\elasticsearch]: C:\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\Program Files\sonarqube-10.4.1.88267\elasticsearch -Des.path.conf=C:\Program Files\sonarqube-10.4.1.88267\temp\conf\es -Des.distribution.type=tar -cp C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\*;C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2024.03.16 20:02:03 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.03.16 20:02:09 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2024.03.16 20:02:09 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [C:\Program Files\sonarqube-10.4.1.88267]: C:\Program Files\Java\jdk-17\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Program Files\sonarqube-10.4.1.88267\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.4.1.88267.jar;C:\Program Files\sonarqube-10.4.1.88267\lib\jdbc\h2\h2-2.2.224.jar org.sonar.server.app.WebServer C:\Program Files\sonarqube-10.4.1.88267\temp\sq-process8859837261942648586properties
2024.03.16 20:02:28 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2024.03.16 20:02:28 INFO  app[][o.s.a.SchedulerImpl] Sonarqube has been requested to stop
2024.03.16 20:02:28 INFO  app[][o.s.a.SchedulerImpl] Stopping [Compute Engine] process...
2024.03.16 20:02:28 INFO  app[][o.s.a.SchedulerImpl] Stopping [Web Server] process...

web.log:

2024.03.16 20:02:09 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2024.03.16 20:02:09 INFO  web[][o.s.s.a.TomcatHttpConnectorFactory] Starting Tomcat on port 9000
2024.03.16 20:02:09 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 10.4.1.88267 / b4b21d73b333be40b994dbbc4730efb54374dff7
2024.03.16 20:02:09 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
2024.03.16 20:02:09 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database started. Data stored in: C:\Program Files\sonarqube-10.4.1.88267\data
2024.03.16 20:02:09 INFO  web[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:h2:tcp://127.0.0.1:9092/sonar;NON_KEYWORDS=VALUE
2024.03.16 20:02:09 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2024.03.16 20:02:09 INFO  web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection conn2: url=jdbc:h2:tcp://127.0.0.1:9092/sonar user=
2024.03.16 20:02:09 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2024.03.16 20:02:09 WARN  web[][o.s.db.dialect.H2] H2 database should be used for evaluation purpose only.
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\Program Files\sonarqube-10.4.1.88267
2024.03.16 20:02:10 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 9.19.0.84025 / 919a72f86bbe46efa58da7cf9c60725489e33005
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Clean as You Code / 2.3.0.1782 / 1db4e32c08cf9d0b999498e7ba4fd5849583dfdd
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.12.0.4568 / e8b2821a05db57b79b8ae85e3db1571f5b744273
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.13.0.4821 / 380c7b2b69ec812c52f58d75873123fad2ad9429
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.26.0.8471 / null
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 7.30.0.34429 / ece994b44873ef9f9de151d7af023dc238733b26
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 10.11.1.25225 / b377dc9f07d77c532bfaa7d819fa3dba46e52d08
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.20.0.4382 / eb22cc4ed915de84e358135dd3f2ea2080de1441
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.33.0.11274 / 89583886fa2f4951991f0550938d64572117fd0c
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 4.14.0.14263 / 17b124821fadcb914376e4dab20f358056a8486f
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.8.0.1635 / null
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 9.19.0.84025 / 919a72f86bbe46efa58da7cf9c60725489e33005
2024.03.16 20:02:10 INFO  web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.10.0.4108 / 34b16ba369117f6befc0b1e0866a069a80f6db2e
2024.03.16 20:02:11 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://127.0.0.1:9001]
2024.03.16 20:02:11 WARN  web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2024.03.16 20:02:11 WARN  web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2024.03.16 20:02:11 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2024.03.16 20:02:11 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2024.03.16 20:02:11 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@79f5a6ed [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2024.03.16 20:02:11 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2024.03.16 20:02:12 INFO  web[][o.h.v.i.util.Version] HV000001: Hibernate Validator null
2024.03.16 20:02:12 INFO  web[][o.s.s.e.IndexCreator] Delete Elasticsearch indices (DB vendor changed)
2024.03.16 20:02:12 INFO  web[][o.s.s.e.IndexCreator] Create index [components]
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create mapping components
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create index [projectmeasures]
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create mapping projectmeasures
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create index [rules]
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create mapping rules
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create index [issues]
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create mapping issues
2024.03.16 20:02:13 INFO  web[][o.s.s.e.IndexCreator] Create index [views]
2024.03.16 20:02:14 INFO  web[][o.s.s.e.IndexCreator] Create mapping views
2024.03.16 20:02:14 INFO  web[][o.s.s.s.LogServerId] Server ID: 147B411E-AY5IbRmbvFbNUHp3ZJa6
2024.03.16 20:02:14 WARN  web[][o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL.
2024.03.16 20:02:14 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties
2024.03.16 20:02:28 INFO  web[][o.s.p.ProcessEntryPoint] Gracefully stopping process

Some other notes:

  • 10.4.1.88267 directory is a BRAND NEW folder, so no possible carry over from a “corrupt” folder
  • Also tried a fresh new database in case mine was corrupt

All same result. Going to /setup shows the database is up to date, Going to home shows that it’s stuck in starting mode.

Thanks.

It’s really weird that you have connected SonarQube to Microsoft SQL Server…

But the logs show you connecting to the embedded database:

Do you have any other running Java processes on your server? Another instance of SonarQube, for example (or one that hasn’t shut down all the way)?

No other processes running. Fresh reboot on the PC. I think I was experimenting with using H2 and that didn’t start either. I deleted all my logs and did a fresh run to get clean log files:

es.log:

2024.03.18 08:28:17 INFO  es[][o.e.n.Node] version[8.11.0], pid[19544], build[tar/d9ec3fa628c7b0ba3d25692e277ba26814820b20/2023-11-04T10:04:57.184859352Z], OS[Windows 11/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/17.0.10/17.0.10+11-LTS-240]
2024.03.18 08:28:17 INFO  es[][o.e.n.Node] JVM home [C:\Program Files\Java\jdk-17], using bundled JDK [false]
2024.03.18 08:28:17 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=org.elasticsearch.preallocate, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Program Files\sonarqube-10.4.1.88267\temp, -XX:ErrorFile=C:\Program Files\sonarqube-10.4.1.88267\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=C:\Program Files\sonarqube-10.4.1.88267\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, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=tar, --module-path=C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-core]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [rest-root]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-redact]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-security]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2024.03.18 08:28:18 INFO  es[][o.e.p.PluginsService] loaded module [apm]
2024.03.18 08:28:19 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[(C:)]], net usable_space [1.6tb], net total_space [1.8tb], types [NTFS]
2024.03.18 08:28:19 INFO  es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2024.03.18 08:28:19 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [xySCnKjXTXmsgl_qgYRFKQ], cluster name [sonarqube], roles [ingest, data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen]
2024.03.18 08:28:20 INFO  es[][o.e.x.s.Security] Security is disabled
2024.03.18 08:28:20 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}]
2024.03.18 08:28:20 INFO  es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2024.03.18 08:28:20 INFO  es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2024.03.18 08:28:20 INFO  es[][o.e.n.Node] initialized
2024.03.18 08:28:20 INFO  es[][o.e.n.Node] starting ...
2024.03.18 08:28:20 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:55140}, bound_addresses {127.0.0.1:55140}
2024.03.18 08:28:20 INFO  es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2024.03.18 08:28:20 INFO  es[][o.e.c.c.ClusterBootstrapService] this node is locked into cluster UUID [hZf1m5HURR2Gvg5QTXmbJw] and will not attempt further cluster bootstrapping
2024.03.18 08:28:20 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined in term 31)[_FINISH_ELECTION_, {sonarqube}{xySCnKjXTXmsgl_qgYRFKQ}{2R7nSvghT02w2EI3_uxPYA}{sonarqube}{127.0.0.1}{127.0.0.1:55140}{cdfhilmrstw}{8.11.0}{7000099-8500003} completing election], term: 31, version: 783, delta: master node changed {previous [], current [{sonarqube}{xySCnKjXTXmsgl_qgYRFKQ}{2R7nSvghT02w2EI3_uxPYA}{sonarqube}{127.0.0.1}{127.0.0.1:55140}{cdfhilmrstw}{8.11.0}{7000099-8500003}]}
2024.03.18 08:28:20 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{xySCnKjXTXmsgl_qgYRFKQ}{2R7nSvghT02w2EI3_uxPYA}{sonarqube}{127.0.0.1}{127.0.0.1:55140}{cdfhilmrstw}{8.11.0}{7000099-8500003}]}, term: 31, version: 783, reason: Publication{term=31, version=783}
2024.03.18 08:28:20 INFO  es[][o.e.c.f.AbstractFileWatchingService] starting file watcher ...
2024.03.18 08:28:20 INFO  es[][o.e.c.f.AbstractFileWatchingService] file settings service up and running [tid=45]
2024.03.18 08:28:20 INFO  es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{xySCnKjXTXmsgl_qgYRFKQ}{2R7nSvghT02w2EI3_uxPYA}{sonarqube}{127.0.0.1}{127.0.0.1:55140}{cdfhilmrstw}{8.11.0}{7000099-8500003}] with reason [completing election]
2024.03.18 08:28:20 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2024.03.18 08:28:20 INFO  es[][o.e.n.Node] started {sonarqube}{xySCnKjXTXmsgl_qgYRFKQ}{2R7nSvghT02w2EI3_uxPYA}{sonarqube}{127.0.0.1}{127.0.0.1:55140}{cdfhilmrstw}{8.11.0}{7000099-8500003}{xpack.installed=true, rack_id=sonarqube}
2024.03.18 08:28:20 INFO  es[][o.e.l.ClusterStateLicenseService] license [5411fd30-1db5-4225-af6c-e253320a481f] mode [basic] - valid
2024.03.18 08:28:20 INFO  es[][o.e.g.GatewayService] recovered [6] indices into cluster_state
2024.03.18 08:28:20 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:20 INFO  es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{xySCnKjXTXmsgl_qgYRFKQ}] is selected as the current health node.
2024.03.18 08:28:20 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:21 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:21 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:21 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:21 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:21 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]])." previous.health="RED" reason="shards started [[metadatas][0]]"
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataDeleteIndexService] [components/MR5l9L1PTbmi_qwy_BQpsQ] deleting index
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataDeleteIndexService] [issues/ugar386PTU-6iF9drd_tQg] deleting index
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataDeleteIndexService] [projectmeasures/3qMnLO6rRbCEOyR_0J4c_w] deleting index
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataDeleteIndexService] [rules/1vxKCyujTWGLK-jBDrz1_w] deleting index
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataDeleteIndexService] [views/drSxf_AbSNCEhJx3xCtnXw] deleting index
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataCreateIndexService] [components] creating index, cause [api], templates [], shards [5]/[0]
2024.03.18 08:28:25 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:25 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[components][4]]])." previous.health="YELLOW" reason="shards started [[components][4]]"
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataMappingService] [components/H_qSbDsKTx-tCXbcKNbfwA] create_mapping
2024.03.18 08:28:25 INFO  es[][o.e.c.m.MetadataCreateIndexService] [projectmeasures] creating index, cause [api], templates [], shards [5]/[0]
2024.03.18 08:28:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:26 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[projectmeasures][4]]])." previous.health="YELLOW" reason="shards started [[projectmeasures][4]]"
2024.03.18 08:28:26 INFO  es[][o.e.c.m.MetadataMappingService] [projectmeasures/PBC4TucgQiis_jBkfydIJA] create_mapping
2024.03.18 08:28:26 INFO  es[][o.e.c.m.MetadataCreateIndexService] [rules] creating index, cause [api], templates [], shards [2]/[0]
2024.03.18 08:28:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:26 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[rules][1]]])." previous.health="YELLOW" reason="shards started [[rules][1]]"
2024.03.18 08:28:26 INFO  es[][o.e.c.m.MetadataMappingService] [rules/L6ZEedl3QqG7rpHXdMDg8g] create_mapping
2024.03.18 08:28:26 INFO  es[][o.e.c.m.MetadataCreateIndexService] [issues] creating index, cause [api], templates [], shards [5]/[0]
2024.03.18 08:28:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:26 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[issues][4]]])." previous.health="YELLOW" reason="shards started [[issues][4]]"
2024.03.18 08:28:26 INFO  es[][o.e.c.m.MetadataMappingService] [issues/ywYLyXtsRHqXdaGvtxTpVA] create_mapping
2024.03.18 08:28:26 INFO  es[][o.e.c.m.MetadataCreateIndexService] [views] creating index, cause [api], templates [], shards [5]/[0]
2024.03.18 08:28:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.03.18 08:28:27 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[views][4]]])." previous.health="YELLOW" reason="shards started [[views][4]]"
2024.03.18 08:28:27 INFO  es[][o.e.c.m.MetadataMappingService] [views/LKg3To56Sl-vaMZ35r3Pgg] create_mapping

sonar.log:

2024.03.18 08:28:16 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Program Files\sonarqube-10.4.1.88267\temp
2024.03.18 08:28:16 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:55140]
2024.03.18 08:28:16 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\Program Files\sonarqube-10.4.1.88267\elasticsearch]: C:\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\Program Files\sonarqube-10.4.1.88267\elasticsearch -Des.path.conf=C:\Program Files\sonarqube-10.4.1.88267\temp\conf\es -Des.distribution.type=tar -cp C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\*;C:\Program Files\sonarqube-10.4.1.88267\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2024.03.18 08:28:16 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.03.18 08:28:21 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2024.03.18 08:28:21 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [C:\Program Files\sonarqube-10.4.1.88267]: C:\Program Files\Java\jdk-17\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Program Files\sonarqube-10.4.1.88267\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.4.1.88267.jar;C:\Program Files\sonarqube-10.4.1.88267\lib\jdbc\mssql\mssql-jdbc-12.4.2.jre11.jar org.sonar.server.app.WebServer C:\Program Files\sonarqube-10.4.1.88267\temp\sq-process2037164901706372737properties

web.log:

2024.03.18 08:28:21 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2024.03.18 08:28:21 INFO  web[][o.s.s.a.TomcatHttpConnectorFactory] Starting Tomcat on port 9000
2024.03.18 08:28:21 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 10.4.1.88267 / b4b21d73b333be40b994dbbc4730efb54374dff7
2024.03.18 08:28:21 INFO  web[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:sqlserver://localhost:1433;databaseName=SonarQube;encrypt=false
2024.03.18 08:28:22 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2024.03.18 08:28:22 INFO  web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection ConnectionID:1 ClientConnectionId: a9cb3b81-8c77-4d41-8f4a-03f7354e9b41
2024.03.18 08:28:22 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2024.03.18 08:28:22 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\Program Files\sonarqube-10.4.1.88267
2024.03.18 08:28:22 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 9.19.0.84025 / 919a72f86bbe46efa58da7cf9c60725489e33005
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Clean as You Code / 2.3.0.1782 / 1db4e32c08cf9d0b999498e7ba4fd5849583dfdd
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.12.0.4568 / e8b2821a05db57b79b8ae85e3db1571f5b744273
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.13.0.4821 / 380c7b2b69ec812c52f58d75873123fad2ad9429
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.26.0.8471 / null
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 7.30.0.34429 / ece994b44873ef9f9de151d7af023dc238733b26
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 10.11.1.25225 / b377dc9f07d77c532bfaa7d819fa3dba46e52d08
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.20.0.4382 / eb22cc4ed915de84e358135dd3f2ea2080de1441
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.33.0.11274 / 89583886fa2f4951991f0550938d64572117fd0c
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 4.14.0.14263 / 17b124821fadcb914376e4dab20f358056a8486f
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.8.0.1635 / null
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 9.19.0.84025 / 919a72f86bbe46efa58da7cf9c60725489e33005
2024.03.18 08:28:23 INFO  web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.10.0.4108 / 34b16ba369117f6befc0b1e0866a069a80f6db2e
2024.03.18 08:28:23 INFO  web[][o.s.s.p.d.m.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2024.03.18 08:28:23 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://127.0.0.1:9001]
2024.03.18 08:28:24 WARN  web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2024.03.18 08:28:24 WARN  web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2024.03.18 08:28:24 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2024.03.18 08:28:24 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2024.03.18 08:28:24 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@7772d266 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2024.03.18 08:28:24 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2024.03.18 08:28:25 INFO  web[][o.h.v.i.util.Version] HV000001: Hibernate Validator null
2024.03.18 08:28:25 INFO  web[][o.s.s.e.IndexCreator] Delete Elasticsearch indices (DB vendor changed)
2024.03.18 08:28:25 INFO  web[][o.s.s.e.IndexCreator] Create index [components]
2024.03.18 08:28:25 INFO  web[][o.s.s.e.IndexCreator] Create mapping components
2024.03.18 08:28:25 INFO  web[][o.s.s.e.IndexCreator] Create index [projectmeasures]
2024.03.18 08:28:26 INFO  web[][o.s.s.e.IndexCreator] Create mapping projectmeasures
2024.03.18 08:28:26 INFO  web[][o.s.s.e.IndexCreator] Create index [rules]
2024.03.18 08:28:26 INFO  web[][o.s.s.e.IndexCreator] Create mapping rules
2024.03.18 08:28:26 INFO  web[][o.s.s.e.IndexCreator] Create index [issues]
2024.03.18 08:28:26 INFO  web[][o.s.s.e.IndexCreator] Create mapping issues
2024.03.18 08:28:26 INFO  web[][o.s.s.e.IndexCreator] Create index [views]
2024.03.18 08:28:27 INFO  web[][o.s.s.e.IndexCreator] Create mapping views
2024.03.18 08:28:27 INFO  web[][o.s.s.s.LogServerId] Server ID: 29CECE6D-AXM-4EtpQvG_gzLQwdzK
2024.03.18 08:28:27 WARN  web[][o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL.
2024.03.18 08:28:27 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties

@Colin Also, my Java 17 is Oracle:

java 17.0.10 2024-01-16 LTS
Java™ SE Runtime Environment (build 17.0.10+11-LTS-240)
Java HotSpot™ 64-Bit Server VM (build 17.0.10+11-LTS-240, mixed mode, sharing)

Only weird stuff I’ve seen in the logs was:

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/C:/Program%20Files/sonarqube-10.4.1.88267/lib/sonar-application-10.4.1.88267.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release

And I also saw a warning about Hibernate validator being null at one point.

I’m fairly confident those aren’t relevant here.

After this message

I’d except to see some very “junk” log messages that are hard to imagine are jamming things up.

2024.03.19 11:40:39 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action saml/validation_init
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/issues/list
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/analysis_cache/get
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/push/sonarlint_events
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/dismiss_message/check
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/security_reports/download
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/regulatory_reports/download
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/governance_reports/download
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info
2024.03.19 11:40:39 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/scim_management/status
2024.03.19 11:40:39 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements

Shot in the dark – can you disable the update center in yoru conf/sonar.properties file and see if you get farther?

sonar.updatecenter.activate=false

@Colin

I set the flag to false and still the same thing. I do get a few of those response examples not set. I did verify the collation is SQL_Latin1_General_CP1_CS_AS. Still hangs.

2024.03.19 05:44:24 INFO  web[][o.s.s.p.d.m.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2024.03.19 05:44:24 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://127.0.0.1:9001]
2024.03.19 05:44:24 WARN  web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2024.03.19 05:44:24 WARN  web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2024.03.19 05:44:24 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2024.03.19 05:44:24 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2024.03.19 05:44:24 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@150d6eaf [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2024.03.19 05:44:24 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2024.03.19 05:44:25 INFO  web[][o.h.v.i.util.Version] HV000001: Hibernate Validator null
2024.03.19 05:44:25 INFO  web[][o.s.s.s.LogServerId] Server ID: 29CECE6D-AXM-4EtpQvG_gzLQwdzK
2024.03.19 05:44:26 WARN  web[][o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL.
2024.03.19 05:44:26 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties

@Colin any further thoughts on this?

es.log (17.4 KB)
sonar.log (4.3 KB)
web.log (44.0 KB)

sonar.log…]()
web.log (44.0 KB)

Above is the logs file from my sonarqube i check all the logs i could find the reason why it is causing it .Colud someone help me out with it.

This seems to be the same issue as reported here:

I’m going to merge the threads and get some eyes on it, since it seems to no longer be a fluke.

Dear @Jonah_TheWhale,

I suspect your issue might be related to insufficient resources. Could you please tell me more about your setup? How does it compare to the recommended requirements? Furthermore, do you specify any custome jvm parameters?

I tried to follow the previous comments. Am I right when I say that you were not able to start SonarQube even when relying on the embedded db?

@carmine.vassallo I am running Windows 11 x64 Pro, all the latest patches. JDK 17 is version Oracle JDK 17.0.10 2024-01-16 LTS. I’ve tried with multiple versions of SonarQube and they all have the same issue. I have 32GB ram + like 2TB free. I am running Microsoft SQL server as the backing store. NOTHING has been modified in the settings except for:

sonar.jdbc.username=sonarqube sonar.jdbc.password=xxx
sonar.jdbc.url=jdbc:sqlserver://localhost;datab…

Yes, you are correct, SonarQube doesn’t start with the embedded db either. I.e. fresh download, fresh directory and ZERO changes to anything.

Please note, I had to resort to running SonarQube in WSL2 Ubuntu which is a giant pain pointing to the SQL server on the host machine to get it to work. Ideally, it would run on the host machine directly.

WSL2 Ubuntu Sonarqube is running on the same machine, so that proves that my resources are fine and the SQL server is set up correctly.

Another observation is that CPU usage of the Java process is 0%, so even more doubtful that its a resource issue and is more likely a deadlock or blocked waiting on something.

If I hit CTRL+C to kill the batch file, the corresponding Java.exe remains hung and I have to kill it in task manager. Another indication of a deadlock or blocked waiting.

Any solution for the above issue.
Please let me know as i am facing same error