Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to fix update failure of Atlassian Universal Plugin Manager Plugin from 4.0.4 to 4.0.7?

br1984 October 1, 2019

Jira version 8.2.3 on CentOS 7.5 x64

"An error was encountered while updating the UPM. See the logs for more details."

 

Screen Shot 2019-09-26 at 13.29.25.pngScreen Shot 2019-09-26 at 13.29.16.png


Log tail immediately after several attempts:

2019-09-27 10:26:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:31:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:33:19,776 Caesium-1-3 WARN ServiceRunner     [c.a.j.p.dvcs.service.RepositorySyncServiceImpl] Repo list had updates when DB reconciled with bitbucket. [cache-token, barlist-token] repos deleted, [] new repos

2019-09-27 10:36:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:41:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:46:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:51:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:52:17,818 Caesium-1-1 INFO ServiceRunner     [c.a.j.p.h.service.connect.InstallGlancesJobHandler] Running InstallGlancesJobHandler...

2019-09-27 10:52:17,818 Caesium-1-1 INFO ServiceRunner     [c.a.j.p.h.service.connect.InstallGlancesJobHandler] There is no link to Hipchat, no need to install glances.

2019-09-27 10:52:20,878 Caesium-1-1 INFO ServiceRunner     [c.a.j.p.h.service.ping.RefreshConnectionStatusJobHandler] Running RefreshConnectionStatusJobHandler...

2019-09-27 10:55:32,826 http-nio-8081-exec-1 WARN ted 655x3207x2 qxb748 66.96.193.16,162.158.165.234,127.0.0.1 /rest/plugins/1.0/installed-marketplace [c.a.upm.pac.PacClientImpl] The request to check for add-on updates may take longer than expected because 195 user-installed add-ons are installed. This may impact the performance of loading the Manage Add-ons page.

2019-09-27 10:56:40,993 plugin-transaction-0 INFO      [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:147, numberEndEvents:147, numberSendEvents:114, numberEventsInTransactions:832

2019-09-27 10:56:41,555 UpmAsynchronousTaskManager:thread-2 INFO ted 787x683x1 16mjpew 66.96.193.16,172.69.135.172,127.0.0.1 /rest/plugins/1.0/ [c.a.plugin.loaders.ScanningPluginLoader] No plugins found to be installed

2019-09-27 10:56:41,781 UpmAsynchronousTaskManager:thread-2 INFO ted 787x683x1 16mjpew 66.96.193.16,172.69.135.172,127.0.0.1 /rest/plugins/1.0/ [c.a.plugin.manager.DefaultPluginManager] Updating plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin' from version '4.0.4' to version '4.0.4'

2019-09-27 10:56:41,801 UpmAsynchronousTaskManager:thread-2 INFO ted 787x683x1 16mjpew 66.96.193.16,172.69.135.172,127.0.0.1 /rest/plugins/1.0/ [c.a.plugin.loaders.ScanningPluginLoader] Removed plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin'

2019-09-27 10:56:56,985 UpmAsynchronousTaskManager:thread-3 INFO ted 794x1143x2 16mjpew 66.96.193.16,172.69.135.94,127.0.0.1 /rest/plugins/1.0/installed-marketplace [c.a.plugin.loaders.ScanningPluginLoader] No plugins found to be installed

2019-09-27 10:56:57,207 UpmAsynchronousTaskManager:thread-3 INFO ted 794x1143x2 16mjpew 66.96.193.16,172.69.135.94,127.0.0.1 /rest/plugins/1.0/installed-marketplace [c.a.plugin.manager.DefaultPluginManager] Updating plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin' from version '4.0.4' to version '4.0.4'

2019-09-27 10:56:57,230 UpmAsynchronousTaskManager:thread-3 INFO ted 794x1143x2 16mjpew 66.96.193.16,172.69.135.94,127.0.0.1 /rest/plugins/1.0/installed-marketplace [c.a.plugin.loaders.ScanningPluginLoader] Removed plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin'

2019-09-27 10:57:15,679 UpmAsynchronousTaskManager:thread-4 INFO ted 795x1179x1 16mjpew 66.96.193.16,172.69.135.94,127.0.0.1 /rest/plugins/1.0/ [c.a.plugin.loaders.ScanningPluginLoader] No plugins found to be installed

2019-09-27 10:57:15,921 UpmAsynchronousTaskManager:thread-4 INFO ted 795x1179x1 16mjpew 66.96.193.16,172.69.135.94,127.0.0.1 /rest/plugins/1.0/ [c.a.plugin.manager.DefaultPluginManager] Updating plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin' from version '4.0.4' to version '4.0.4'

2019-09-27 10:57:15,930 UpmAsynchronousTaskManager:thread-4 INFO ted 795x1179x1 16mjpew 66.96.193.16,172.69.135.94,127.0.0.1 /rest/plugins/1.0/ [c.a.plugin.loaders.ScanningPluginLoader] Removed plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin'

 

2 comments

Sudhir_Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2019

Hi @br1984 ,

Please check if your BASE URL and the url you logged in are the same. For example, if your base url is abcd.com then access with abcd.com.

Follow this link Updating the universal plugin manager for more information on how to update the Universal plugin manager(UPM).

Regards,
Sudhir

br1984 October 1, 2019

How do I check the "BASE URL"?  Where is this displayed?

I don't see anything relevant here: https://confluence.atlassian.com/upm/updating-the-universal-plugin-manager-273875702.html

Sudhir_Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2019

Hi @br1984

Under Systems ->General Configuration->Settings, you can find the Base URL. Try to access the JIRA instance with the Base URL and try to update UPM.

base-url.png

Update UPM by file replacement

If for any reason you cannot update UPM through the administration page, you can update the UPM file by replacing the UPM file in the directory instead. Before starting, get the version of the plugin that you want to install from the Atlassian Marketplace. Then follow the instructions as below:

JIRA applications

To update the UPM  in JIRA applications:

  1. Shut down the JIRA application.
  2. Remove the existing UPM JAR file from this directory in your JIRA home directory: 
    plugins/installed-plugins
    The name of the JAR file may be prepended with a number, such as: 
    846688264762062110.atlassian-universal-plugin-manager-plugin-2.7.6.jar
  3. Copy the new UPM JAR file into the same directory.
  4. Restart your JIRA application.

Please check if this workaround helps.

Regards,
Sudhir

Like # people like this
br1984 October 8, 2019

Yes the base URL is the same as the login URL.  Here it also specifies the port that Jira is running on (8443) if that matters?

 

Like ThomasEdinson likes this
br1984 October 8, 2019

This worked.  Thanks!

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events