Error upgrading Sonar server from 10.7 to 2025.1

Must-share information (formatted with Markdown):

  • which versions are you using
    – 10.7 Sonarqube server
  • how is SonarQube deployed: zip, Docker, Helm
    – Pod in K8s
  • what are you trying to achieve
    – Successful upgrade from 10.7 to 2025.1
  • what have you tried so far to achieve this
    – I have attached the main error I’m seeing below. I have tried uninstalling all plugins that could be related to ansible or yaml but had no luck getting it work. Please let me know if there is anything else I can provide. Thank you
Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@64b73e7a-org.sonar.server.rule.registration.RulesRegistrant': The rule repository 'ansible' must not be defined for two different languages: yaml and ansible

Hi,

Welcome to the community!

Can you share your log from startup, please?

 
Thx,
Ann

Thanks for getting back to me Ann! I attempted the upgrade again after disabling all plugins except AEM rules and the upgrade completed successfully. I am currently testing to find out which of the plugins we had installed is the problem.

I did have one question post upgrade → The sonar-auth-oidc plugin no longer works on the latest versions of sonar and I was just wandering if there are any plans to support it natively or recommend any third party plugins?

Thank you for the help!

Hi,

I suppose the recommendation would be to switch to SAML?

 
:woman_shrugging:
Ann