The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrading Jira and Database management

Stewart Meyer
March 4, 2014

We install Jira using the WAR method and our own Tomcat install. When I upgraded from 4.2 to 5.2.11 I was forced to create a new database. I exported all the data to xml, so it was not a disaster, but I am trying to figure out why we cannot do a fresh install to an existing database? I realize that a newer version might have some variations in the database structures, but that should be a separate install method, something that recognizes an existing database and runs and update script, rather than create the whole thing script. Or, am I missing something. I am planning an upgrade from 5.2.11 to the latest version and would rather deploy my WAR and "update" the database, not rebuild it each time.

Thank you

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 4, 2014

A new version being deployed will spot an older database and upgrade it automatically. It doesn't matter if it's a WAR version, the routine is "stop Jira, take backups, create a new Jira install, copy the home directory from old to new, point new Jira at old database, start it, drink tea while the upgrade churns, done"

See https://confluence.atlassian.com/display/JIRA/Upgrading+JIRA

Stewart Meyer
March 5, 2014

I would agree that the data from the previous version seems to be just fine. I completed a test upgrade and all the issues and administrative setup seems to be OK. (Not through testing yet.) So yes, it used the existing database. I had a LOT of problems doing a WAR upgrade. I am sure the other ways are smoother, but the batch file has some flaws I guess and did not create a properly configured WAR file for Tomcat. I was able to do the surgery and fix it, so I am up and running.

TAGS
AUG Leaders

Atlassian Community Events