Can't update UPM
Asked by eugenechernyi:

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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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\\\\](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  

<br />

<br />

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\\\\](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\\\\](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 ..


Answers:
author: Shannon S
body: Hi Eugene,

Could you try to see if you can [manually upgrade the UPM](https://confluence.atlassian.com/confkb/how-to-manually-reset-upm-or-manually-upgrade-upm-818580144.html)? Let us know if you're able to get around the issues this way.

Regards,

Shannon

comments: author: eugenechernyi
body: Hello Shannon,

I've updated UPM manually.

It helped. Thank you very mach !


author: Shannon S
body: You are welcome! Take care and have a pleasant week.

Regards,

Shannon


author: Drew Robinson
body: Hi,

Whats the UPM?


author: Shannon S
body: [@Drew Robinson](/t5/user/viewprofilepage/user-id/1975015),

UPM stands for Universal Plugin Manager and it's what you use within our products to manage your add-ons.

Have a look here for more information:

* [About the Universal Plugin Manager](https://confluence.atlassian.com/upm/about-the-universal-plugin-manager-305759439.html)

Regards,

Shannon