Failed to install plugin due to Failed to install OBR jar artifact error message
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
Symptoms
Confluence fails to install a new plugin from the interface. This can happen when using third party plugins as well.
The following appears in the atlassian-confluence.log
:
1
2
3
4
5
6
[atlassian.upm.impl.ObrPluginInstallHandler] installPlugin Failed to remove local OBR repository resources
com.atlassian.upm.PluginInstallException: Failed to install OBR jar artifact
at com.atlassian.upm.impl.ObrPluginInstallHandler.installPlugin(ObrPluginInstallHandler.java:101)
at com.atlassian.upm.PluginInstaller.execute(PluginInstaller.java:164)
at com.atlassian.upm.PluginInstaller.install(PluginInstaller.java:119)
at com.atlassian.upm.rest.resources.install.InstallTask.installFromFile(InstallTask.java:110)
Cause
There are 2 reasons for this issue.
1) The max packet size in MySQL is set to a low value which does not allow the plugin to be installed
2) The UPM is running an old version and must be updated to the latest one for the Confluence version.
Note there might be other reasons rather than the ones above which were not found yet.
Resolution
Follow these steps to setup a higher value to the MySQL max packet size.
Upgrade the UPM to the latest available version
Restart the application and try to install the plugin again.
Was this helpful?