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
We think our problem may be related in part to our firewall rules. So I'll just keep working with our helpdesk to get this working.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks so much for posting this Gerald. Very helpful! Found myself in the same boat and your solution fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
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!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does work manually, but I'd like to know if there is a way to fix it so it works the way it should (via UPM). It's a lot faster updating plugins via the UPM than it is doing it manually as I don't have to stop/start services when I do it via UPM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So has this cropped up as an issue for you again Gerald? I tried your solution below and I assumed it would fix the issue, but actually it did not. Now I'm wondering if it's just a temporary problem Atlassian is having.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Our problem was with out firewall. Our IT people fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem. I can download the file from the link provided and install it manually, it's just the automatic update that doesn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I’ve forwarded your fix to our IT people to see if this is what they did OR in case your solution was better than theirs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.