Base URL Update Fails

I am a JIRA admin on a system running JIRA 7.3.0 and attempted to update the base URL, by going to Admin -> System -> General Config -> Base URL, then updating with a new value which is not taking affect. 

I see the expected URL when running the query 

select propertyvalue from propertyentry PE
join propertystring PS on PE.id=PS.id
where PE.property_key = 'jira.baseurl';

I am seeing multiple broken image URLs and on the home page I am getting the message at the bottom of the screen saying

"Dashboard Diagnostics: Mismatched URL Hostname
JIRA is reporting that it is running on the hostname 'jira.qa.bar.com', which does not match the hostname used to run these diagnostics, 'jira-qa.foo.com'. This is known to cause JIRA to construct URLs using the incorrect hostname, which will result in errors in the dashboard, among other issues."

JIRA has been reindexed and restarted just to see if there is a gremlin in the works. What am I missing here. 

2 answers

1 accepted

Figured it out shortly after asking the question. We have JIRA set to run SSL so I had additional values to update in my <install-dir>/jira/conf/server.xml file as per https://confluence.atlassian.com/adminjiraserver073/integrating-jira-with-apache-using-ssl-861253896.html

 

Once I updated the URL in this file to match my new URL, and restarted, I had a case of angels singing, unicorns, and rainbows. 

 

Thanks for updating to include the answer, Casey!

0 vote
Ann Worley Atlassian Team May 22, 2017

Please make sure the name can be resolved for the URL being used for the Base URL. To be resolved to an IP address, it needs to be in the local hosts file or else in your company's DNS. Please see:

HostName Mismatch: UrlHostnameMismatchException

If you are using a proxy, make sure proxyName and proxyPort are in the server.xml connector directive as in Dashboard Diagnostics: Mismatched URL Scheme.

Ann Worley Atlassian Team May 22, 2017

Oh, derp, I answered while you were updating us.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

800 views 2 19
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