Skip to content

Unable to upgrade sonarqube to community 7.9.6 edition due to sonarswift plugin #293

@DeirdreRodgers

Description

@DeirdreRodgers

Question Description

Hello,
I wonder if anyone has had a similar issue to me
I'm currently upgrading my sonarqube app which is hosted in K8s. I am on version 7.8-developer and intend to go to an 8.x developer version. Firstly though I need to upgrade to a community version 7.9.6 as this is an LTS version and there are no official developer images available for that version. It fails however when it tries to load the sonarswift plugin because its a community version. my version of the sonarswift plugin is 4.1 (build 3087)

Since I intend immediately upgrading to a later developer version after the upgrade to 7.9.6 community , would it be feasible to disable or uninstall the plugin before I upgrade and then reinstall when I am back on a developer version? or could this cause issues with my data ?

Or is there some other way around this?

2021.05.31 12:59:25 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Fail to load plugin SonarSwift [swift]
        at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:82)
        at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:543)
        at org.sonar.server.platform.Platform.start(Platform.java:211)
        at org.sonar.server.platform.Platform.startLevel34Containers(Platform.java:185)
        at org.sonar.server.platform.Platform.access$500(Platform.java:46)
        at org.sonar.server.platform.Platform$1.lambda$doRun$0(Platform.java:119)
        at org.sonar.server.platform.Platform$AutoStarterRunnable.runIfNotAborted(Platform.java:371)
        at org.sonar.server.platform.Platform$1.doRun(Platform.java:119)
        at org.sonar.server.platform.Platform$AutoStarterRunnable.run(Platform.java:355)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/sonarsource/plugins/license/api/LicensedPluginRegistration
        at com.sonar.swift.plugin.SwiftPlugin.define(Unknown Source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions