# Not able to upgrade Sonarqube from 8.9.10 LTS to 9.9 LTS

**URL:** <https://community.sonarsource.com/t/not-able-to-upgrade-sonarqube-from-8-9-10-lts-to-9-9-lts/90793>\
**Category:** SonarQube Server / Community Build\
**Created:** [May 12, 2023, 5:27am UTC](https://community.sonarsource.com/t/not-able-to-upgrade-sonarqube-from-8-9-10-lts-to-9-9-lts/90793 "2023-05-12T05:27:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moses19](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/moses19/32/45083_2.png) [@Moses19](https://community.sonarsource.com/u/Moses19)\
**Post date:** [May 12, 2023, 5:27am UTC](https://community.sonarsource.com/t/not-able-to-upgrade-sonarqube-from-8-9-10-lts-to-9-9-lts/90793/1 "2023-05-12T05:27:16Z")

</div>

Make sure to tell us:

- What version are you upgrading from? 8.9.10 Community Edition
- System information (Operating system, Java version, Database provider/version) : centos7.9 - jdk 17.0.5 - Postgresql 12.11
- What’s the issue you’re facing?  
Hi  
Trying to upgrade from 8.9.10 to 9.9 LTS. Have a feeling plugins causing issues. I tried to match plugins with the [Plugin Version Matrix](https://docs.sonarqube.org/latest/instance-administration/plugin-version-matrix/) but still having issues, the plugin versions when upgrading are as below: could you please advise if they are compatible or not?  
aamrules 1.6  
groovy plugin 1.8  
pmd plugin 3.4.0  
fxcop 1.4.2 snapshot2  
findbugs 4.2.3  
Swift 0.4.6 (however some says this is now built in but is that only developer and enterprise versions?)  
Checkstyle-plugin 10.9.3  
Community-branch plugin 1.14.0  
Powershell plugin 0.5.1  
AstUiPath plugin 1.2

web.log

```auto
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@2f333739-org.sonar.server.rule.RegisterRules': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: 'org.sonar.api.server.rule.RulesDefinition$NewRule org.sonar.api.server.rule.RulesDefinition$NewRule.setDebtSubCharacteristic(java.lang.String)'

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)

        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)

        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:187)

        at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:80)

        at org.sonar.server.platform.platformlevel.PlatformLevelStartup.access$001(PlatformLevelStartup.java:55)

        at org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:127)

       at org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:45)

        at org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:124)

        at org.sonar.server.platform.PlatformImpl.executeStartupTasks(PlatformImpl.java:183)

        at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:344)

        at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:107)

        at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:328)

        at java.base/java.lang.Thread.run(Thread.java:833)

Caused by: java.lang.NoSuchMethodError: 'org.sonar.api.server.rule.RulesDefinition$NewRule org.sonar.api.server.rule.RulesDefinition$NewRule.setDebtSubCharacteristic(java.lang.String)'

        at org.sonar.squidbridge.rules.SqaleXmlLoader.processRule(SqaleXmlLoader.java:124)

        at org.sonar.squidbridge.rules.SqaleXmlLoader.processSubChar(SqaleXmlLoader.java:92)

        at org.sonar.squidbridge.rules.SqaleXmlLoader.processRoot(SqaleXmlLoader.java:78)

        at org.sonar.squidbridge.rules.SqaleXmlLoader.loadXmlResource(SqaleXmlLoader.java:65)

        at org.sonar.squidbridge.rules.SqaleXmlLoader.load(SqaleXmlLoader.java:52)

        at org.sonar.plugins.fxcop.CSharpFxCopProvider$CSharpFxCopRulesDefinition.lambda$0(CSharpFxCopProvider.java:135)

        at org.sonar.plugins.fxcop.FxCopRulesDefinition.define(FxCopRulesDefinition.java:49)

        at org.sonar.server.rule.RuleDefinitionsLoader.load(RuleDefinitionsLoader.java:56)

        at org.sonar.server.rule.RegisterRules.start(RegisterRules.java:125)

        at org.sonar.core.platform.StartableBeanPostProcessor.postProcessBeforeInitialization(StartableBeanPostProcessor.java:33)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)

        ... 19 common frames omitted

```

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [May 15, 2023, 4:24pm UTC](https://community.sonarsource.com/t/not-able-to-upgrade-sonarqube-from-8-9-10-lts-to-9-9-lts/90793/2 "2023-05-15T16:24:46Z")

</div>

Hi,

Yup. This is related to plugins:

> [@Moses19](#):
>
> ` at org.sonar.plugins.fxcop`

Since you couldn’t match up all the plugins in the plugin version matrix, I’d start with none of them loaded and add them one by one.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![Moses19](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/moses19/32/45083_2.png) [@Moses19](https://community.sonarsource.com/u/Moses19)\
**Post date:** [May 26, 2023, 1:59am UTC](https://community.sonarsource.com/t/not-able-to-upgrade-sonarqube-from-8-9-10-lts-to-9-9-lts/90793/3 "2023-05-26T01:59:04Z")

</div>

Thank you Ann for your reply. We managed to get the plugin issues sorted and that was helpful. However now that we are on 9.9 reporting issues with:  
The last project Anlysis on this project (origin/master) failed and the Error is  
Current edition does not support branch feature.  
Comparing release notes between Community edition 8.9 (previous build we were on) and 9.9 (community edition) I cant see any diffs except the default main branch name changed form master to main that I set it back to master. But still having trouble. could you please help with this?  
Thank you

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [May 31, 2023, 2:40pm UTC](https://community.sonarsource.com/t/not-able-to-upgrade-sonarqube-from-8-9-10-lts-to-9-9-lts/90793/4 "2023-05-31T14:40:57Z")

</div>

Hi,

A new question deserves a new thread. 🙂

And it’s quick enough to tell you that Community Edition doesn’t support branches, just like error says. If you have further questions, please create a new thread.

&nbsp;  
Ann
