ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube

Error when starting SonarQube LTS on Ubuntu Linux 20.04, Can any one help? here is an extract of the web.log file: thanks, neil

2021.12.20 19:17:00 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list_definitions
2021.12.20 19:17:00 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/count_binding
2021.12.20 19:17:00 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/validate
2021.12.20 19:17:00 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info
2021.12.20 19:17:00 INFO  web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2021.12.20 19:17:00 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2021.12.20 19:17:00 INFO  web[][com.sonarsource.C.G] Loaded virtual plugin License for SonarLint
2021.12.20 19:17:00 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2021.12.20 19:17:00 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2021.12.20 19:17:00 INFO  web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2021.12.20 19:17:00 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2021.12.20 19:17:00 INFO  web[][o.s.s.s.RegisterMetrics] Register metrics
2021.12.20 19:17:00 INFO  web[][o.s.s.r.RegisterRules] Register rules
2021.12.20 19:17:11 INFO  web[][o.s.s.r.RegisterRules] Disable rule java:S4603
2021.12.20 19:17:22 INFO  web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2021.12.20 19:17:22 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2021.12.20 19:17:22 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile cpp/Sonar way
2021.12.20 19:17:23 EERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQubeRROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
org.sonar.server.exceptions.BadRequestException: Rule with UUID AXjQOL4zCGEDrcJVman_ not found
        at org.sonar.server.exceptions.BadRequestException.create(BadRequestException.java:57)
        at org.sonar.server.exceptions.BadRequestException.create(BadRequestException.java:61)
        at org.sonar.server.exceptions.BadRequestException.checkRequest(BadRequestException.java:44)
        at org.sonar.server.qualityprofile.RuleActivationContext.doSwitch(RuleActivationContext.java:224)
        at org.sonar.server.qualityprofile.RuleActivationContext.reset(RuleActivationContext.java:208)
        at org.sonar.server.qualityprofile.RuleActivator.activate(RuleActivator.java:76)
        at org.sonar.server.qualityprofile.BuiltInQProfileUpdateImpl.update(BuiltInQProfileUpdateImpl.java:73)
        at org.sonar.server.qualityprofile.RegisterQualityProfiles.update(RegisterQualityProfiles.java:132)
        at org.sonar.server.qualityprofile.RegisterQualityProfiles.lambda$start$1(RegisterQualityProfiles.java:93)
        at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:405)
        at org.sonar.server.qualityprofile.RegisterQualityProfiles.start(RegisterQualityProfiles.java:88)
        at org.sonar.core.platform.StartableCloseableSafeLifecyleStrategy.start(StartableCloseableSafeLifecyleStrategy.java:40)
        at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
        at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
        at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
        at org.picocontainer.behaviors.Stored.start(Stored.java:110)
        at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)

Hi all, we can close this issue, it was fixed using the latest product installer with log4j . thanks, neil

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