Hello All,
I'm not sure what is the best practice here, but i'm looking to move our jira instance over to another server, as well as upgrade from 4.4.3 => 5. The Atlassian Docs don't seem to cater for this situation, if you look at the documetation for upgrading it suggests you do a migration, and if you look at the migration doc it says you should look into upgrading. This, to me, suggests that I would either need to uprade 4.4 => 5 then migrate to the new box (running JIRA5 ), or just migrate 4.4 to 4.4 on the other box then upgrade to JIRA 5?
Either way i'm sure it will be ok, as it is I'm looking at migrating over to another 4.4 box then doing the upgrade to 5.
If anyone has done this, or knows more about the underlying app and could let me kow what would be the best course of action, they will recieve an e-cookie. :)
Many thanks in advance.
Wow Thanks Dieter! yes I'm familiar with MySQL enough to do dumps / restores. This very much seems like the way it would work having dealt with other apps.I thought it strange that the official migration guide reccomended using the XML bakcup. Your advice has been very useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep process (more or less) goes as such.
I think that should more or less corver it. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since database changes can occur at any update level, I would highly suggest you migrate first verses putting the upgraded release on the new server first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, the procedure you have said is correct. There is nothing that will point to A, except for the base.url which you can change in your General Configuration once B is up.
Just a hint, when you move your old directory, remember that you have the dbconfig.xml also coming in. This will be pointing to A's database, and remember to point it to the new blank database for JIRA 5. To summarize in simple steps.
And be aware of this problem which can come up while moving from MS SQL to MySQL - https://confluence.atlassian.com/display/JIRAKB/XML+Import+to+MS+SQL+fails+due+to+a+GenericEntityException+-+Date+Format+Error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, dont copy old installation
1. Create NEW DATABASE with required permissions for NEW JIRA USER
2. Install NEW JIRA pointing to NEW DATABASE
3. SQL DUMP procedure : a) Shut down OLD JIRA so no new issues will be created. b) make a SQL dump of OLD database
3. XML BACKUP procedure: a) Backup JIRA data from frontend and create xml zip file at jira-home/export location b) Shut down OLD JIRA so no new issues will be created. c) Move file to jira-home/import of NEW JIRA
4. copy all compatible version plugins as of OLD JIRA
5. Start NEW JIRA if it is shutdown
6. Go to Restore DATA from XML section under Jira admin
7. point the zip filename (zip file should be pointed not extracted xml)
9. copy OLD JIRA-HOME data/attachments folder to NEW JIRA-HOME data/attachments
8. if jira-home location is changed create a soft link at original jira-home location pointing to new one e.g OLD JIRA_HOME => /opt/jira/jira-home and NEW JIRA_HOME=/opt/app/jira/jira-home; create /opt/jira emty directory and "ln -s /opt/app/jira/jira-home jira-home". Make sure NEW JIRA USER have all permissions to /opt/jira Best is to make NEW JIRA USER an owner of /opt/jira directory.
9. After 100% completion of backup Jira will restart
Hope this will help you for future upgrades as I am late to reply :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The question is, if you migrate from host A to host B, and just import your database data and the $JIRA_HOME directory to B, won't starting up Jira on B fail because everything points to A's location? (IP/DNS)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a similar case: I need to migrate from Jira 4.4 (MS SQL) and standup a new server with Jira 5.2 (MySQL). As far as planning this I have come to the following conclusion:
1) Install Jira 5.x on the new server (a new DB gets created and populated with default Jira data)
2) Install all plugins of the old server onto the 5.x Jira installation (make sure everything works post install)
3) Copy the old jira_home to the new box and have Jira 5 point to it (jira-application.properties)
4) Wipe the Jira database on the new server (it was created during the 5.x installation)
5) Create a new database for the 5.x installation and start Jira
6) Import the old database (.xml) via the Jira web interface that appears upon starting (since we just wiped the old one).
7) ...
Am I missing something here? Someone mentioned I should also copy the old install directory, but I see no need for that. I tried this and got a data error at the last part of importing the data.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You came to the correct conclusion. Migrate 4.X over to the new server and then upgrade on the new server. It is the safest approach in that the old server continues to run and if the migration fails for some reason the original server is still running. Any issues of upgrading (missing plugins for example) will not affect your user base.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So Going by what's been said here i should install 4.4 on the new server migrate accross and then in place upgrade it to 5 ?
Sounds like thats what i'll probably do :).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.