Ugrading & Migrating Help - 4.1.2 Windows Jira to Latest Version on Linux

Hey guys,

So we have a working Jira 4.1.2 installation that we're looking to upgrade to 5.2, and also move to run on a Linux server.

Basically I've spent the past 24 hours reading so many different install/upgrade/upgrade manually/migrate/version-specific-upgrade-notes documents that they're coming out of my ears, and I've lost track somewhat of what the proper series of steps I'm supposed to take is.

We have regular backups of our current Jira mySQL database, as well as the attachments folder.

My understanding is that I can install Jira on the Linux server (either 4.4 or another 4.1 to be safe maybe, not sure on this) and point this installation to a backup of our existing db and a copy of our home directory. Then from there just follow the standard upgrade procedure up to 5.2.

Sounds simple enough when you say it like that, but I would really appreciate some clarity and maybe a simple list of steps to follow if that's possible.

(This is all being done on a test server for now, of course.)

2 answers

1 accepted

what i would do...

1. install identical version on linux and make it run (at least accessable via web). maybe use developer lincense for the beginning

2. on windows perform "Backup System"

3. copy windows $jira_home/data to linux $jira_home/data

4. on linux perform "Restore System" after you placed you xml from step 2 into linux $jira_home/import

this should be fine for the beginning.

once your jira moved as expected to linux i would consider an upgrade...which should be working like a charm using the installers upgrade function

tell me how it goes...i can assist you performing the upgrade then.

feel free to add hints/comments if i missed something

*Copied from above*

Hi, I'm not sure if I'll be able to get the powers-that-be to have Jira shutdown in order to do the XML backup, and besides I thought it was recommended to use the database restore method for large Jiras anyway. Do you know of any detailed instructions on migrating Jira with this method?

there is no need to shut down jira for performing "Backup System"

you can't even get there when jira is not running

ok larger installations better be done as you said...using database backup. what size are we talking about...approximately? maybe a xml backup could be used

just dump your windows db . you may add locking option to prevent any update queries beeing sent to the db while you're dumping.

your windows uses external DB ?

The Jira Home directory seems to be ~340mb, however the attachments folder is ~13GB - does that count, or can I just re-add the attachments folder seperately after I restore?

Sorry but I'm not sure what you mean about Windows using an external db?

ah ok.. no problem...the attachment directory will be moved over seperately...

you can safely perform the "Backup System" from admin section...there is a line showing the info

Attachments will not be backed up. This needs to be done manually.

Sorry but I'm not sure what you mean about Windows using an external db?

is your windows hosted jira installation using an external database?

i think it is no big deal if not..your new jira host wether jira is on any kind of DB will get the needed table info from the export

Sorry deleted my previous comment as I misunderstood the question. By external you mean not using the default HSQLDB (?) option? Then yes, we are using an external db.

I'll go ahead and try to get the clean install on linux up and running now and then try your advice, I'll be back to say how it goes. Thanks very much for the help.

Ah right, no we are using our own local servers.

I'll go away and try and get the clean install working on Linux for now, I'll be back after I try your advice, thanks very much.

A new issue has come up in creating the fresh install -_- Related to the database, I created a seperate issue for it here.

Hi Ethan

As the best approach, I would suggest to:

1. Install a new JIRA 4.4.4 instance in a brand new JIRA_HOME folder and database

2. Double check the required plugins compatibilities, before install them, at http://marketplace.atlassian.com/

3. Copy all the data folder to the new JIRA_HOME directory

4. Import a latest XML backup.

Once you have the new JIRA properly running, review all the steps using the latest JIRA version. Regarding the plugins, perhaps you may find a limitation on moving to the next version.

Anyway, you always have the option to seek for an advanced assistance at Atlassian support.

Cheers,

Paulo Renato

Hi, I'm not sure if I'll be able to get the powers-that-be to have Jira shutdown in order to do the XML backup, and besides I thought it was recommended to use the database restore method for large Jiras anyway. Do you know of any detailed instructions on migrating Jira with this method?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

131 views 5 9
Read article

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