SonarQube doesn't start

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    • sonarqube:10.2.1-developer
  • how is SonarQube deployed: zip, Docker, Helm
    • Docker
  • what are you trying to achieve
    • No action
  • what have you tried so far to achieve this
    • restart

Here are the console output:

10:55:50.240 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl -- Configuration file not found: /opt/sonarqube/conf/sonar.properties

19/10/2023 12:55:50 2023.10.19 10:55:50 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp

19/10/2023 12:55:50 2023.10.19 10:55:50 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:42139]

19/10/2023 12:55:50 2023.10.19 10:55:50 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

19/10/2023 12:55:50 2023.10.19 10:55:50 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running

19/10/2023 12:55:53 2023.10.19 10:55:53 INFO es[][o.e.n.Node] version[8.7.0], pid[106], build[tar/09520b59b6bc1057340b55750186466ea715e30e/2023-03-27T16:31:09.816451435Z], OS[Linux/5.15.0-71-generic/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.8.1/17.0.8.1+1]

19/10/2023 12:55:53 2023.10.19 10:55:53 INFO es[][o.e.n.Node] JVM home [/opt/java/openjdk], using bundled JDK [false]

19/10/2023 12:55:53 2023.10.19 10:55:53 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, -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=/opt/sonarqube/elasticsearch/lib, --add-modules=jdk.net, -Djdk.module.main=org.elasticsearch.server]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [aggregations]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [apm]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [blob-cache]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [old-lucene-versions]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [parent-join]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [reindex]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-aggregate-metric]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-core]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-profiling]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] loaded module [x-pack-security]

19/10/2023 12:55:54 2023.10.19 10:55:54 INFO es[][o.e.p.PluginsService] no plugins loaded

19/10/2023 12:55:56 2023.10.19 10:55:56 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (//macc.priv/informatiquesharepriv/Rancher_forge)]], net usable_space [22.5gb], net total_space [149.9gb], types [cifs]

19/10/2023 12:55:56 2023.10.19 10:55:56 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]

19/10/2023 12:55:56 2023.10.19 10:55:56 INFO es[][o.e.n.Node] node name [sonarqube], node ID [8wDWc_AsSk6JvVbg08r9Vg], cluster name [sonarqube], roles [ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold, ingest, data_frozen]

19/10/2023 12:55:57 2023.10.19 10:55:57 INFO es[][o.e.x.p.ProfilingPlugin] Profiling is enabled

19/10/2023 12:55:57 2023.10.19 10:55:57 INFO es[][o.e.x.s.Security] Security is disabled

19/10/2023 12:55:57 2023.10.19 10:55:57 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}]

19/10/2023 12:55:57 2023.10.19 10:55:57 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]

19/10/2023 12:55:57 2023.10.19 10:55:57 INFO es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]

19/10/2023 12:55:58 2023.10.19 10:55:58 INFO es[][o.e.n.Node] initialized

19/10/2023 12:55:58 2023.10.19 10:55:58 INFO es[][o.e.n.Node] starting ...

19/10/2023 12:55:58 2023.10.19 10:55:58 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:42139}, bound_addresses {127.0.0.1:42139}

19/10/2023 12:55:58 2023.10.19 10:55:58 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks

19/10/2023 12:55:58 2023.10.19 10:55:58 WARN es[][o.e.c.c.ClusterBootstrapService] this node is locked into cluster UUID [Ss0O7ftYR-eQ7NydZ8JFJw] but [cluster.initial_master_nodes] is set to [sonarqube]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts; for further information see https://www.elastic.co/guide/en/elasticsearch/reference/8.7/important-settings.html#initial_master_nodes

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{pO166-fNR3iUQvh26rxhaQ}{sonarqube}{127.0.0.1}{127.0.0.1:42139}{cdfhilmrstw}{8.7.0} completing election], term: 15, version: 347, delta: master node changed {previous [], current [{sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{pO166-fNR3iUQvh26rxhaQ}{sonarqube}{127.0.0.1}{127.0.0.1:42139}{cdfhilmrstw}{8.7.0}]}

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{pO166-fNR3iUQvh26rxhaQ}{sonarqube}{127.0.0.1}{127.0.0.1:42139}{cdfhilmrstw}{8.7.0}]}, term: 15, version: 347, reason: Publication{term=15, version=347}

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.r.s.FileSettingsService] starting file settings watcher ...

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.r.s.FileSettingsService] file settings service up and running [tid=35]

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.n.Node] started {sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{pO166-fNR3iUQvh26rxhaQ}{sonarqube}{127.0.0.1}{127.0.0.1:42139}{cdfhilmrstw}{8.7.0}{xpack.installed=true, rack_id=sonarqube}

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{pO166-fNR3iUQvh26rxhaQ}{sonarqube}{127.0.0.1}{127.0.0.1:42139}{cdfhilmrstw}{8.7.0}] with reason [completing election]

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.l.LicenseService] license [162c86eb-c5cf-4c32-bc8e-e2ff95de9e8f] mode [basic] - valid

19/10/2023 12:55:59 2023.10.19 10:55:59 INFO es[][o.e.g.GatewayService] recovered [6] indices into cluster_state

19/10/2023 12:56:00 2023.10.19 10:56:00 INFO es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}] is selected as the current health node.

19/10/2023 15:00:30 2023.10.19 13:00:30 INFO es[][o.e.c.r.a.DiskThresholdMonitor] low disk watermark [85%] exceeded on [8wDWc_AsSk6JvVbg08r9Vg][sonarqube][/opt/sonarqube/data/es8] free: 22.4gb[14.9%], replicas will not be assigned to this node

20/10/2023 00:55:58 2023.10.19 22:55:58 WARN es[][o.e.c.c.ClusterBootstrapService] this node is locked into cluster UUID [Ss0O7ftYR-eQ7NydZ8JFJw] but [cluster.initial_master_nodes] is set to [sonarqube]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts; for further information see https://www.elastic.co/guide/en/elasticsearch/reference/8.7/important-settings.html#initial_master_nodes

20/10/2023 01:02:03 2023.10.19 23:02:03 INFO es[][o.e.c.r.a.DiskThresholdMonitor] low disk watermark [85%] no longer exceeded on [8wDWc_AsSk6JvVbg08r9Vg][sonarqube][/opt/sonarqube/data/es8] free: 32.8gb[21.9%]

sonar.log

2023.10.19 10:50:13 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] Sonarqube has been requested to stop
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] Stopping [Compute Engine] process...
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] Stopping [Web Server] process...
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] Stopping [ElasticSearch] process...
2023.10.19 10:53:10 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.10.19 10:53:10 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
2023.10.19 10:55:50 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2023.10.19 10:55:50 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:42139]
2023.10.19 10:55:50 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.10.19 10:55:50 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running

web.log

2023.10.19 10:07:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240014ms
2023.10.19 10:09:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
I have no name!@sonarqube-developer-6885c84cc-r5n7b:/opt/sonarqube/logs$ tail -n500 web.log
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:176)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:137)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
        at org.sonar.server.platform.web.RedirectFilter.doFilter(RedirectFilter.java:56)
        at jdk.internal.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.base/javax.security.auth.Subject.doAsPrivileged(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:176)
    ....
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.security.InvalidKeyException: IOException : algid parse error, not a sequence
        at java.base/sun.security.pkcs.PKCS8Key.decode(Unknown Source)
        at java.base/sun.security.pkcs.PKCS8Key.<init>(Unknown Source)
        at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(Unknown Source)
        at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(Unknown Source)
        at java.base/sun.security.rsa.RSAKeyFactory.generatePrivate(Unknown Source)
        ... 161 common frames omitted
2023.10.19 09:00:45 ERROR web[AYq8RX+/PF8mEtvfCXFs][o.s.a.s.SamlAuthenticator] Error in parsing service provider private key, please make sure that it is in PKCS 8 format.
2023.10.19 09:00:48 ERROR web[AYq8RX+/PF8mEtvfCXFw][c.o.s.s.SettingsBuilder] Error loading privatekey from properties.
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : algid parse error, not a sequence
        at java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(Unknown Source)
        at java.base/java.security.KeyFactory.generatePrivate(Unknown Source)
        at com.onelogin.saml2.util.Util.loadPrivateKey(Util.java:584)
        at com.onelogin.saml2.settings.SettingsBuilder.loadPrivateKeyFromProp(SettingsBuilder.java:1004)
        at com.onelogin.saml2.settings.SettingsBuilder.loadSpSetting(SettingsBuilder.java:751)
        at com.onelogin.saml2.settings.SettingsBuilder.build(SettingsBuilder.java:277)
        at com.onelogin.saml2.settings.SettingsBuilder.build(SettingsBuilder.java:251)
        at org.sonar.auth.saml.SamlAuthenticator.initSettings(SamlAuthenticator.java:136)
        at org.sonar.auth.saml.SamlAuthenticator.initSamlAuth(SamlAuthenticator.java:105)
        at org.sonar.auth.saml.SamlAuthenticator.initSamlAuth(SamlAuthenticator.java:96)
        at org.sonar.auth.saml.SamlAuthenticator.buildUserIdentity(SamlAuthenticator.java:70)
        at org.sonar.auth.saml.SamlIdentityProvider.callback(SamlIdentityProvider.java:95)
        at org.sonar.server.authentication.OAuth2CallbackFilter.handleOAuth2Provider(OAuth2CallbackFilter.java:87)
        at org.sonar.server.authentication.OAuth2CallbackFilter.handleProvider(OAuth2CallbackFilter.java:70)
        at org.sonar.server.authentication.OAuth2CallbackFilter.doFilter(OAuth2CallbackFilter.java:63)
        at org.sonar.server.platform.web.MasterServletFilter$JavaxFilterAdapter.doFilter(MasterServletFilter.java:227)
        at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:198)
      ...
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.security.InvalidKeyException: IOException : algid parse error, not a sequence
        at java.base/sun.security.pkcs.PKCS8Key.decode(Unknown Source)
        at java.base/sun.security.pkcs.PKCS8Key.<init>(Unknown Source)
        at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(Unknown Source)
        at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(Unknown Source)
        at java.base/sun.security.rsa.RSAKeyFactory.generatePrivate(Unknown Source)
        ... 161 common frames omitted
2023.10.19 09:00:48 ERROR web[AYq8RX+/PF8mEtvfCXFw][o.s.a.s.SamlAuthenticator] Error in parsing service provider private key, please make sure that it is in PKCS 8 format.
2023.10.19 09:00:51 WARN  web[AYq8RX+/PF8mEtvfCXFs][o.s.s.a.AuthenticationError] Fail to callback authentication with 'saml'
org.apache.ibatis.exceptions.PersistenceException: 
### Error updating database.  Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Impossible d'insérer une ligne de clé en double dans l'objet « dbo.saml_message_ids » avec un index unique « saml_message_ids_unique ». Valeur de clé dupliquée : (ID_3bef2d6e-ecce-400a-a29b-01c0f5317e27).
### The error may exist in org.sonar.db.user.SamlMessageIdMapper
### The error may involve org.sonar.db.user.SamlMessageIdMapper.insert-Inline
### The error occurred while setting parameters
### SQL: insert into saml_message_ids     (       uuid,       message_id,       expiration_date,       created_at     )     values (       ?,       ?,       ?,       ?     )
### Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Impossible d'insérer une ligne de clé en double dans l'objet « dbo.saml_message_ids » avec un index unique « saml_message_ids_unique ». Valeur de clé dupliquée : (ID_3bef2d6e-ecce-400a-a29b-01c0f5317e27).
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
        at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:199)
        at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184)
        at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62)
        at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:142)
        at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
        at jdk.proxy2/jdk.proxy2.$Proxy95.insert(Unknown Source)
        at org.sonar.db.user.SamlMessageIdDao.insert(SamlMessageIdDao.java:44)
        at org.sonar.auth.saml.SamlMessageIdChecker.check(SamlMessageIdChecker.java:51)
        at org.sonar.auth.saml.SamlAuthenticator.checkMessageId(SamlAuthenticator.java:216)
        at org.sonar.auth.saml.SamlAuthenticator.buildUserIdentity(SamlAuthenticator.java:76)
        at org.sonar.auth.saml.SamlIdentityProvider.callback(SamlIdentityProvider.java:95)
        at org.sonar.server.authentication.OAuth2CallbackFilter.handleOAuth2Provider(OAuth2CallbackFilter.java:87)
        at org.sonar.server.authentication.OAuth2CallbackFilter.handleProvider(OAuth2CallbackFilter.java:70)
        at org.sonar.server.authentication.OAuth2CallbackFilter.doFilter(OAuth2CallbackFilter.java:63)
        at org.sonar.server.platform.web.MasterServletFilter$JavaxFilterAdapter.doFilter(MasterServletFilter.java:227)

        at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:83)
        at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:70)
        at jdk.internal.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.base/javax.security.auth.Subject.doAsPrivileged(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:176)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:137)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
        at org.sonar.server.platform.web.CspFilter.doFilter(CspFilter.java:63)
        at jdk.internal.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.base/javax.security.auth.Subject.doAsPrivileged(Unknown Source)
...
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:137)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
        at org.sonar.server.platform.web.RequestIdFilter.doFilter(RequestIdFilter.java:66)
        at jdk.internal.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.base/javax.security.auth.Subject.doAsPrivileged(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:176)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:137)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
        at org.sonar.server.platform.web.RootFilter.doFilter(RootFilter.java:65)
        at jdk.internal.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.base/javax.security.auth.Subject.doAsPrivileged(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:176)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:137)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:115)
        at jdk.internal.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.base/javax.security.auth.Subject.doAsPrivileged(Unknown Source)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:176)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:137)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
        at ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:267)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Impossible d'insérer une ligne de clé en double dans l'objet « dbo.saml_message_ids » avec un index unique « saml_message_ids_unique ». Valeur de clé dupliquée : (ID_3bef2d6e-ecce-400a-a29b-01c0f5317e27).
        at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:265)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1695)
        at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:620)
        at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:539)
        at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7685)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:4048)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:272)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:246)
        at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:516)
        at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
        at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
        at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:48)
        at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:75)
        at org.apache.ibatis.executor.ReuseExecutor.doUpdate(ReuseExecutor.java:52)
        at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
        at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
        at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197)
        ... 159 common frames omitted
2023.10.19 09:01:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:02:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:02:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240016ms
2023.10.19 09:04:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:06:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:07:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:07:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240016ms
2023.10.19 09:09:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:11:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:12:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:12:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240017ms
2023.10.19 09:14:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:16:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:17:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:17:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240027ms
2023.10.19 09:19:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:21:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:22:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:22:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240014ms
2023.10.19 09:24:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:26:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:27:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:27:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240015ms
2023.10.19 09:29:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:31:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:32:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:32:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240013ms
2023.10.19 09:34:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:36:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:37:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:37:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240013ms
2023.10.19 09:39:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:41:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:42:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:42:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240015ms
2023.10.19 09:42:44 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2023.10.19 09:42:44 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2023.10.19 09:44:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:46:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:47:37 ERROR web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - too many failures [2/2 documents], waiting for next run
2023.10.19 09:47:37 INFO  web[][o.s.s.e.RecoveryIndexer] Elasticsearch recovery - 2 documents processed [2 failures] | time=240013ms
2023.10.19 09:49:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [auth_AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][auth_AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]
2023.10.19 09:51:37 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [_doc], id [AYr7IsLGPj6zERhLjglr], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[components][4] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[components][4]] containing [index {[components][AYr7IsLGPj6zERhLjglr], source[_na_]}]]]]]

ce.log

2023.10.19 09:35:07 INFO  ce[AYtHSAVLPj6zERhLjhBC][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Report branch Quality Gate status to devops platforms | status=SUCCESS | time=1ms
2023.10.19 09:35:07 ERROR ce[AYtHSAVLPj6zERhLjhBC][o.s.c.t.CeWorkerImpl] Failed to execute task AYtHSAVLPj6zERhLjhBC
java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests. Check Elasticsearch logs for further details.
        at org.sonar.server.es.IndexingListener$1.onFinish(IndexingListener.java:42)
        at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:131)
        at org.sonar.server.component.index.EntityDefinitionIndexer.doIndexByEntityUuid(EntityDefinitionIndexer.java:174)
        at org.sonar.server.component.index.EntityDefinitionIndexer.indexOnAnalysis(EntityDefinitionIndexer.java:100)
        at org.sonar.ce.task.projectanalysis.step.IndexAnalysisStep.lambda$getAnalysisIndexerConsumer$1(IndexAnalysisStep.java:63)
        at org.sonar.ce.task.projectanalysis.step.IndexAnalysisStep.execute(IndexAnalysisStep.java:55)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:79)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:70)
        at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:57)
        at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:75)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:212)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:194)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:160)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:135)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:87)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75)
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
2023.10.19 09:35:07 INFO  ce[AYtHSAVLPj6zERhLjhBC][o.s.c.t.CeWorkerImpl] Executed task | project=fr.macc.api:api-parent | type=REPORT | branch=develop | branchType=BRANCH | id=AYtHSAVLPj6zERhLjhBC | submitter=admin | status=FAILED | time=122556ms
2023.10.19 09:37:41 INFO  ce[][o.s.c.t.CeWorkerImpl] Execute task | project=fr.macc.api:api-prospections | type=REPORT | branch=develop | branchType=BRANCH | id=AYtHTEB3Pj6zERhLjhBF | submitter=admin
2023.10.19 09:37:42 INFO  ce[AYtHTEB3Pj6zERhLjhBF][o.s.c.t.s.ComputationStepExecutor] Extract report | status=SUCCESS | time=157ms

es.log

2023.10.19 10:50:22 INFO  es[][o.e.r.s.FileSettingsService] starting file settings watcher ...
2023.10.19 10:50:22 INFO  es[][o.e.r.s.FileSettingsService] file settings service up and running [tid=35]
2023.10.19 10:50:22 INFO  es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{lAfnh-1fTlaKMVHF3OvGpQ}{sonarqube}{127.0.0.1}{127.0.0.1:35693}{cdfhilmrstw}{8.7.0}] with reason [completing election]
2023.10.19 10:50:22 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2023.10.19 10:50:22 INFO  es[][o.e.n.Node] started {sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{lAfnh-1fTlaKMVHF3OvGpQ}{sonarqube}{127.0.0.1}{127.0.0.1:35693}{cdfhilmrstw}{8.7.0}{rack_id=sonarqube, xpack.installed=true}
2023.10.19 10:50:22 INFO  es[][o.e.l.LicenseService] license [162c86eb-c5cf-4c32-bc8e-e2ff95de9e8f] mode [basic] - valid
2023.10.19 10:50:22 INFO  es[][o.e.g.GatewayService] recovered [6] indices into cluster_state
2023.10.19 10:50:22 INFO  es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}] is selected as the current health node.
2023.10.19 10:53:10 INFO  es[][o.e.n.Node] stopping ...
2023.10.19 10:53:10 INFO  es[][o.e.r.s.FileSettingsService] shutting down watcher thread
2023.10.19 10:53:10 INFO  es[][o.e.r.s.FileSettingsService] watcher service stopped
2023.10.19 10:53:10 WARN  es[][r.suppressed] path: /_cluster/health, params: {master_timeout=30s, level=cluster, wait_for_status=yellow, timeout=30s}
org.elasticsearch.node.NodeClosedException: node closed {sonarqube}{8wDWc_AsSk6JvVbg08r9Vg}{lAfnh-1fTlaKMVHF3OvGpQ}{sonarqube}{127.0.0.1}{127.0.0.1:35693}{cdfhilmrstw}{8.7.0}{rack_id=sonarqube, xpack.installed=true}
        at org.elasticsearch.action.admin.cluster.health.TransportClusterHealthAction$3.onClusterServiceClose(TransportClusterHealthAction.java:214) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onClusterServiceClose(ClusterStateObserver.java:319) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onClose(ClusterStateObserver.java:246) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.cluster.service.ClusterApplierService.doStop(ClusterApplierService.java:163) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.component.AbstractLifecycleComponent.stop(AbstractLifecycleComponent.java:63) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.cluster.service.ClusterService.doStop(ClusterService.java:112) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.common.component.AbstractLifecycleComponent.stop(AbstractLifecycleComponent.java:63) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.node.Node.stop(Node.java:1506) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.node.Node.close(Node.java:1531) ~[elasticsearch-8.7.0.jar:?]
        at org.elasticsearch.core.IOUtils.close(IOUtils.java:71) ~[elasticsearch-core-8.7.0.jar:?]
        at org.elasticsearch.core.IOUtils.close(IOUtils.java:87) ~[elasticsearch-core-8.7.0.jar:?]
        at org.elasticsearch.core.IOUtils.close(IOUtils.java:63) ~[elasticsearch-core-8.7.0.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch.shutdown(Elasticsearch.java:448) ~[elasticsearch-8.7.0.jar:?]
        at java.lang.Thread.run(Unknown Source) ~[?:?]
2023.10.19 10:53:10 INFO  es[][o.e.n.Node] stopped
2023.10.19 10:53:10 INFO  es[][o.e.n.Node] closing ...
2023.10.19 10:53:10 INFO  es[][o.e.n.Node] closed

Hey there.

First, make sure this condition stays true (at least 15% free disk space on the server running SonarQube).

Next, I would suggest deleting the /data/es8 folder for your instance (likely in a sonarqube_data) persistent volume if you followed this documentation and then restart.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.