Having problems updating plugins frum the UPM page. Only works about 20% of the time.
The message for the last plugin I tried to update is:
Problem accessing add-on file at https://marketplace.atlassian.com/download/plugins/org.swift.jira.cot/version/320.
I'm running JIRA 5.1.7, UPM version 2.9.1
I found a solution for my problem. It turned out to be the SSL certificate of CloudFront.
According to this documentation the Universal Plugin Manager needs access to *.atlassian.com and https://dq1dnt4af4eyy.cloudfront.net/ to get Plugins and Updates from the Market Place. Since everything else worked (DNS, wget to both addresses) this was the only thing left I could think of.
Following this article I used portecle to download the SSL certificate of dq1dnt4af4eyy.cloudfront.net and add it as a trusted certificate to the systemwide certification store (/etc/ssl/certs/java/cacerts in my case). After a restart of Confluence (I had the problem with all Atlassian Tools on this server instance) it worked flawlessly.
Downside: The certificate expires this year on November 14th, so when this happens I'll try to get the chain right.
Commands to easily add the certificates to cacerts:
echo -n | openssl s_client -connect marketplace.atlassian.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > atlassian.cert
sudo keytool -import -alias atlassian.com -file atlassian.cert -keystore /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
Make sure the path to cacerts matches to your installation.
Did you try to download this plugin's .jar file and upload it into JIRA?
To do this, just click on "upload file" in the "Manage Add-Ons" tab and try to perform the upgrade like this.
Also, there is the other possiblity which is to do the "manual" procedure. To do this method, just shutdown JIRA, browse through <<JIRA_HOME>>/plugins and look for the .jar file of this plugin inside the installed-plugins folder. Completely delete this .jar file and then paste the downloaded version inside this folder (so you can have the latest version installed in JIRA without passing by the web upgrade process).
A reindex may be needed after the second procedure.
I hope this helps!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG