-
Suggestion
-
Resolution: Unresolved
-
None
-
23
-
Problem Definition
Upgrading UPM triggers all apps/applications to restart because of the licensing API provided by UPM. This can cause Jira to return 404 and other errors while the UPM upgrade is in progress, effectively causing downtime.
Impact
Depending on the plugins in the instance, this can cause 404 and 500 errors on (at least) the following pages:
- Dashboard.jpsa
- JiraHome.jspa
- Viewing any issue
This effectively renders Jira unavailable for the time it takes to update the UPM, which can be 5-10 minutes.
In some situations, dashboards will not render gadgets and the situation does not recover by itself.
- Embedded plugins and custom plugins do not render their gadgets on dashboards
- Log excerpt:
2022-05-20 10:28:41,122+0000 http-nio-8080-exec-7508 url: /, /secure/MyJiraHome.jspa, /secure/Dashboard.jspa; user: admin WARN admin 628x67403986x10 lir6e2 xxx.xxx.xxx.xxx,yyy.yyy.yyy.yyy / [c.a.g.renderer.internal.GadgetSpecFactoryImpl] Error occurred while retrieving gadget spec for rest/gadgets/1.0/g/com.arsenalesystems.dataplane:arsenaleDataplaneGadget/gadgets/dataplane/gadget.xml
2022-05-20 10:23:36,363+0000 http-nio-8080-exec-7450 url: /secure/AjaxIssueAction.jspa; user: admin WARN admin 623x67396865x8 1tcu78o xxx.xxx.xxx.xxx,yyy.yyy.yyy.yyy /secure/AjaxIssueAction.jspa [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'org.eclipse.gemini.blueprint.service.importer.ServiceProxyDestroyedException - service proxy has been destroyed'. 2022-05-20 10:23:36,386+0000 http-nio-8080-exec-7521 url: /internal-error ERROR [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=c5949b5d-f2db-4ca5-8afa-dfe68e3966b4, interpretedMsg=, cause=java.lang.IllegalArgumentException: Root page 'com.atlassian.jira.gadgets:dashboard-page' does not exist!, stacktrace=java.lang.IllegalArgumentException: Root page 'com.atlassian.jira.gadgets:dashboard-page' does not exist! at com.atlassian.plugin.webresource.assembler.DefaultWebResourceAssembler$2.requirePage(DefaultWebResourceAssembler.java:211) [atlassian-plugins-webresource-4.3.6.jar:?] at com.atlassian.jira.web.action.Dashboard.doExecute(Dashboard.java:187) [classes/:?] at webwork.action.ActionSupport.execute(ActionSupport.java:165) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) [jira-api-8.20.6.jar:?] at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) [webwork-1.4-atlassian-30.jar:?]
- In those situations, the following can help:
- Disabling / enabling custom plugins
- Clearing plugin cache and restarting Jira for issues with embedded plugins' gadgets
- Detecting disabled plugins / modules in the database:
SELECT * FROM pluginstate where pluginenabled = 'false';
- The solution here would be to delete those particular modules and restart Jira:
DELETE FROM pluginstate WHERE pluginkey='<pluginkey from query above>';
- The solution here would be to delete those particular modules and restart Jira:
Suggested Solution
- As a Jira Server admin I want to update UPM, but I don't want all other apps/applications to depend on UPM.
- Provide a way to schedule UPM update during the following Jira restart.
Workaround
Unfortunately there is no workaround at this time. Instances that are affected by this should have the UPM updated in a scheduled maintenance window.
- is related to
-
JRASERVER-72909 Universal Plugin Manager flushing jira.properties cache causing contention and performance problem
-
- Closed
-
-
JSWSERVER-25345 Universal plugin manager throws class cast exception after upgrading it
-
- Gathering Impact
-
-
JRASERVER-69958 More information about the impact of upgrading an app
- Gathering Interest
-
JRASERVER-69961 Add possibility to do a rolling apps update (extend ZDU functionality)
- Gathering Interest
-
JRASERVER-69962 Eliminate apps downtime while performing app update in Jira Server
- Not Being Considered
-
BSP-538 Loading...
-
BSP-539 Loading...
- relates to
-
JRASERVER-64908 UPM actions may flush internal caches, leading to performance problems
-
- Closed
-
-
JSWSERVER-15815 Updating UPM temporarily disables Jira Software and required bundled plugins
-
- Closed
-
-
JRASERVER-72442 Customfield Cache Management is sensitive to Administrator's Locale
-
- Gathering Impact
-
-
MIG-987 JCMA disables dependent plugins during update, which can resort in a partial outage
- Gathering Interest
- causes
-
HOT-100387 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
We recently encountered an issue where one of our disabled addons was failing to re-enable, in an attempt to resolve this issue and encouraged by the prominent message at the top of manage apps page (recommending UPM update), we attempted UPM update (with a single click that presented no other warnings) which disabled all our addons including native Jira functionality rendering Jira unusable for 2 hours for all our users, until we were able to resolve the issue with support from Atlassian. In high insight UPM update should have been tested in lower environments and scheduled for an out of hours maintenance window. But the key point I want to highlight is that UPM update should also not pose the risk of such devastating impact on the application as rendering it unusable for all users and if it has to carry such risk hen the update prompt should come with appropriate warnings. I was referred to this suggestion by Atlassian support, who seemed familiar with this problem and am surprised to see this scenario being described as by design (with a feature request/suggestion) rather than a bug, which is how I'd see it. Can this please be prioritised and converted to a bug if possible? For those unfortunate enough to encounter same issue below is how it was resolved in our instance...