Problem updating plugins from UPM page.

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

7 answers

1 accepted

This widget could not be displayed.

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.

This widget could not be displayed.

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. 

Thanks so much for posting this Gerald. Very helpful! Found myself in the same boat and your solution fixed it.

This widget could not be displayed.

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

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

Our problem was with out firewall. Our IT people fixed it.

This widget could not be displayed.

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

147 views 16 7
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