Duplicate plugin found (installed version is the same or older) and could not be unloaded

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  • Jira crashes due to multiple versions of the plugin being installed.
  • Jira fails to start for the same reason.

The following appears in the atlassian-jira.log:

2013-07-01 10:10:48,476 localhost-startStop-1 FATAL      [atlassian.jira.upgrade.PluginSystemLauncher] A fatal error occured during initialisation. JIRA has been locked.
com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. Duplicate plugin found (installed version is the same or older) and could not be unloaded: 'com.atlassian.jira.plugin.ext.subversion'
	at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:681)
	at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:220)
	at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:212)
	at com.atlassian.jira.ComponentManager.start(ComponentManager.java:197)
	at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:23)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: com.atlassian.plugin.PluginParseException: Duplicate plugin found (installed version is the same or older) and could not be unloaded: 'com.atlassian.jira.plugin.ext.subversion'
	at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:689)
	at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178)

Diagnosis

Cause

The previous version was part of Jira's Plugin 1 system, whereas the latest version is Jira's Plugin 2 system. Failing to remove the Plugin 1 version will cause fatal errors in Jira.

Workaround

Remove the latest plugin installed.

Resolution

  • Shutdown Jira.
  • Remove the files associated with the plugins that were copied to Jira's WEB-INF/lib directory when the plugin was initially installed.

    • In Subversion's example above, the files are:

      atlassian-subversion-plugin-*.jar
      javasvn-*.jar (if any)
      svnkit-*.jar (if any)
      ganymed-*.jar (if any)
      trilead-*.jar (if any)
    • Remove the subversion-jira-plugin.properties file from WEB-INF/classes.
    • Remove the plugin's index files by going to the plugin's directory in Jira's index directory (<JIRA_HOME>/caches/indexesV1/plugins/). Then remove the atlassian-subversion-revisions directory.
  • Restart Jira.

Last modified on Feb 1, 2023

Was this helpful?

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