Duplicate plugin found (installed version is the same or older) and could not be unloaded
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
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
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
The plugin was recently updated.
On the error above, Jira Subversion Plugin was recently upgraded to 0.10.12.
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.
Solution
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:
1 2 3 4 5
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.
Was this helpful?