Sonarqube stoped


I have this error, could you help me to understand, when I check the log I found

web.log:

2023.09.16 17:45:27 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@579bb367-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.09.16 17:45:28 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
2023.09.16 17:45:28 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown initiated...
2023.09.16 17:45:28 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown completed.
2023.09.16 17:45:28 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database stopped

es.log:

2023.09.16 17:45:28 INFO  es[][o.e.n.Node] stopping ...
2023.09.16 17:45:28 INFO  es[][o.e.r.s.FileSettingsService] shutting down watcher thread
2023.09.16 17:45:28 INFO  es[][o.e.r.s.FileSettingsService] watcher service stopped
2023.09.16 17:45:28 INFO  es[][o.e.n.Node] stopped
2023.09.16 17:45:28 INFO  es[][o.e.n.Node] closing ...
2023.09.16 17:45:28 INFO  es[][o.e.n.Node] closed

I’m using java 17.0.8, sonarqube: 10.2.0.77647
Can somebody please help me, thanks

Hi,

Welcome to the community!

I’m not sure what’s causing the problem, but I see from your error messages that you’re using the H2 database. Since that’s only for initial evaluation, can you try connecting SonarQube to a production DB and trying again?

 
Ann