Hi,
Can some one help on this urgently. i am USING Sonar version
- Version 9.3 (build 51899)- facing the above referenced issue.
- Background initialization error - after seeing DB errors and restarting Pods.
2022.10.21 21:28:20 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
org.sonar.server.exceptions.BadRequestException: Rule with UUID AX9QeQ0IaY1Ig7aAz3r- 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)
We tried to restore the DBs from previous backups but the issue seems to be in the backup as well.
We also redeployed the app and we still get the same issue.
Any help will be greatly appreciated,
Thanks