This question is in reference to Atlassian Documentation: Upgrading JIRA applications using a rapid upgrade method
Under Instructions for prestaging and testing, Hyperlinks are not working. They still point to old dead pages.
DISCLAIMER: Take care, this howto is not for everyone. I have done this 100's of times and know it from the top of my head. Doing it wrong and not being able to recover is not an option, i will not help you to recover if you mess it up.
Url's are hardcoded in the database in million places. I use linux tools for this job.
This is how i do it:
#dump the production database to a database dump: mysqldump jira -ujira -pjirapassword > jira.sql #use sed replace to change all hostnames to the new hostname of the testsystem: cat jira.sql | sed 's/http:\/\/jira\./http:\/\/jira-testing\./g' | sed 's/https:\/\/jira\./https:\/\/jira-testing\./g' | sed 's/http:\/\/confluence\//http:\/\/confluence-testing\//g' | sed 's/https:\/\/confluence\//https:\/\/confluence-testing\//g' > new.jira.sql #copy the new.jira.sql to the test server #..and import it: mysql jira -ujira -pjirapassword < new.jira.sql
Before you ask:
Other useful tips:
As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot