Failed to install plugin due to Failed to install OBR jar artifact error message

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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:

[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

  1. Follow these steps to setup a higher value to the MySQL max packet size.
  2. Upgrade the UPM to the latest available version

Restart the application and try to install the plugin again.

Last modified on Jan 6, 2025

Was this helpful?

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