Can't update UPM

When I tried to update UPM or other plugins I have got errors:

- - - - - - - - - /var/atlassian/application-data/confluence/logs/atlassian-confluence.log - - - - - - - - - - -
WARN [scheduler_Worker-6] [directory.ldap.cache.EventTokenChangedCacheRefresher] synchroniseAll Possible events during full synchronisation
INFO [scheduler_Worker-6] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache FULL synchronisation complete for directory [ 80084993 ] in [ 2658ms ]
INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
INFO [read-only-transaction:thread-1] [atlassian.confluence.user.DefaultUserAccessor] getUserNamesWithConfluenceAccess Found USE permission with no associated username or group: [USECONFLUENCE,0,null,null]
ERROR [UpmAsynchronousTaskManager:thread-2] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin/version/138902\\ -- url: /rest/plugins/1.0/ | userName: jiraadmin | referer: http://confluence.anchorfree.local/plugins/servlet/upm\\ ERROR [UpmAsynchronousTaskManager:thread-3] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin/version/138902\\ -- url: /rest/plugins/1.0/ | userName: jiraadmin | referer: http://confluence.anchorfree.local/plugins/servlet/upm\\ ERROR [UpmAsynchronousTaskManager:thread-4] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin/version/138902\\ -- url: /rest/plugins/1.0/ | referer: http://confluence.anchorfree.local/plugins/servlet/upm | userName: jiraadmin
ERROR [UpmAsynchronousTaskManager:thread-1] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/org.syllant.atlassian.confluence.plugins.bnb/version/201706081444\\ -- url: /rest/plugins/1.0/ | referer: http://confluence.anchorfree.local/plugins/servlet/upm | userName: jiraadmin
ERROR [UpmAsynchronousTaskManager:thread-2] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/org.syllant.atlassian.confluence.plugins.bnb/version/201706081444\\ -- url: /rest/plugins/1.0/ | userName: jiraadmin | referer: http://confluence.anchorfree.local/plugins/servlet/upm\\ ERROR [UpmAsynchronousTaskManager:thread-3] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/com.atlassian.confluence.plugins.confluence-jira-metadata/version/1007054\\ -- url: /rest/plugins/1.0/ | userName: jiraadmin | referer: http://confluence.anchorfree.local/plugins/servlet/upm\\ ERROR [UpmAsynchronousTaskManager:thread-4] [rest.resources.install.InstallFromUriTask] download Error downloading plugin from https://marketplace.atlassian.com/download/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin/version/138902\\ -- url: /rest/plugins/1.0/ | referer: http://confluence.anchorfree.local/plugins/servlet/upm | userName: jiraadmin

I have tested network connection:
nslookup marketplace.atlassian.com
Server: 10.0.0.15
Address: 10.0.0.15#53

Non-authoritative answer:
marketplace.atlassian.com canonical name = marketplace.prod.public.atl-paas.net.
marketplace.prod.public.atl-paas.net canonical name = marketplace-athreos.us-east-1.prod.public.atl-paas.net.
Name: marketplace-athreos.us-east-1.prod.public.atl-paas.net
Address: 34.236.196.175
Name: marketplace-athreos.us-east-1.prod.public.atl-paas.net
Address: 34.192.77.223
Name: marketplace-athreos.us-east-1.prod.public.atl-paas.net
Address: 34.225.62.19



telnet marketplace.atlassian.com 443
Trying 34.236.196.175...
Connected to marketplace.atlassian.com.
Escape character is '^]'.

I have tried to download file via wget and file was successfully downloaded

cd /opt/atlassian/confluence/temp
[confluence@confluence temp]$ wget https://marketplace.atlassian.com/download/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin/version/138902 ; ls -al ./138902* ; rm ./138902*
--2017-12-14 08:00:49-- https://marketplace.atlassian.com/download/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin/version/138902\\ Resolving marketplace.atlassian.com (marketplace.atlassian.com)... 52.2.89.223, 34.205.61.250, 54.85.105.166
Connecting to marketplace.atlassian.com (marketplace.atlassian.com)|52.2.89.223|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://marketplace-cdn.atlassian.com/files/artifact/12477d47-0c02-45a9-86c2-991c840b5aef/atlassian-universal-plugin-manager-plugin-2.21.5.jar [following]
--2017-12-14 08:00:50-- https://marketplace-cdn.atlassian.com/files/artifact/12477d47-0c02-45a9-86c2-991c840b5aef/atlassian-universal-plugin-manager-plugin-2.21.5.jar\\Resolving marketplace-cdn.atlassian.com (marketplace-cdn.atlassian.com)... 54.192.142.141, 54.192.142.208, 54.192.142.164, ...
Connecting to marketplace-cdn.atlassian.com (marketplace-cdn.atlassian.com)|54.192.142.141|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/java-archive]
Saving to: '138902'

[ <=> ] 8,091,909 7.37MB/s in 1.0s 

2017-12-14 08:00:52 (7.37 MB/s) - '138902' saved [8091909]

-rw-rw-r-- 1 confluence confluence 8091909 Jun 16 11:40 ./138902

Plugins directory permissions: 
ls -al /opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/
total 129032
drwxr-xr-x 2 confluence root 20480 Jan 21 2015 .
drwxr-xr-x 6 confluence root 4096 Jan 21 2015 ..

1 answer

1 accepted

1 vote

Hi Eugene,

Could you try to see if you can manually upgrade the UPM? Let us know if you're able to get around the issues this way.

Regards,

Shannon

Hello Shannon,

I've updated UPM manually.

It helped. Thank you very mach !

You are welcome! Take care and have a pleasant week.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

485 views 19 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you