Unable to Remove or Upgrade Subversion Plugin

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After following the default uninstall procedure and removing all JARs, configuration files and restarting JIRA, you notice that the Subversion Plugin shows up in the System Information and you are also unable to install it again:

___ User Plugins ____________________________
     Number                                        : 1
     JIRA Subversion plugin                        : com.atlassian.jira.plugin.ext.subversion
          Version                                       : 0.10.11.1
          Status                                        : disabled
          Vendor                                        : Atlassian Pty Ltd
          Description                                   : A plugin to integrate JIRA with Subversion.

 

The following error may also be observed in atlassian-jira.log after attempting to install or upgrade a more recently release version of the Subversion plugin.

2015-06-26 10:03:06,971 ajp-bio-38790-exec-640 ERROR user 603x431632x1 user 10.3.2.10 /secure/ViewSubversionRepositories.jspa [jira.config.webwork.JiraActionFactory] Error autowiring Action 'com.atlassian.jira.plugin.ext.subversion.action.ViewSubversionRepositoriesAction'.
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.atlassian.jira.plugin.ext.subversion.action.ViewSubversionRepositoriesAction': Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]: : No unique bean of type [com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]: expected at least 1 matching bean

Cause

There might be JARs related to the Subversion plugin in the lib directory that is used by Tomcat. Check inside JIRA-INSTALL/lib:

  • atlassian-jira-subversion-plugin-#.#.#.jar
  • svnkit-#.#.#.jar
  • trilead-ssh2-build213-svnkit-#.#-patch.jar

Resolution

Follow the steps below and after that you will notice that there's no more mention to the Subversion Plugin in the System Information and you will be able to upgrade / install it again:

  • Stop JIRA.
  • Remove the files from your JIRA-INSTALL/WEB-INF/lib.
  • Start JIRA again.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.