I've just upgraded to Jira (self-hosted) 7.11.1 on Linux x86_64, from version 7.3.2 and am completing the upgrade of installed plugins.
When attempting to upgrade the Atlassian Universal Plugin Manager Plugin, I get the error message:
Unexpected exception parsing XML document from URL
The logs, starting at the first 'ERROR' line with a timestamp after when I pressed the 'Update' button go as follows:
2018-07-30 16:26:15,483 ThreadPoolAsyncTaskExecutor::Thread 25 ERROR alexis 985x122x1 w835ok 130.183.2.35,192.168.1.8 /rest/plugins/1.0/ [c.a.p.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin'
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle://235.0:0/META-INF/spring/atlassian-plugins-component-imports.xml]; nested exception is java.lang.IllegalStateException: The bundle is uninstalled.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
...
I've googled this, but not found anything that looked applicable. Could anybody advise? Many thanks!
Alexis
Hi Alexis,
It sounds like you might be dealing with plugin cache corruption. Are you able to uninstall the UPM and then restart the Jira instance? Additionally, you may need to clear the plugin cache, which can be done by deleting the following directories while Jira is shutdown:
JIRA_HOME/plugins/.bundled-plugins JIRA_HOME/plugins/.osgi-plugins
All the best,
Cameron
I didn't see any obvious way to uninstall UPM (other plugins have an Uninstall button but not UPM), so I proceeded to clearing the cache, and that worked! Many thanks for the quick response Cameron!
Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got this same error after upgrading from 7.1.9 to 7.13.2 and this fixed the issue for me as well. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also affected Jira 8.5.5
Solution works for me.
Please also see the Issue here: https://jira.atlassian.com/browse/JRASERVER-27314
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.