Help upgrading.

I'm working with a custom installation of Jira nd confluence in a WAR setup. I'd like to try and get them installed in a non-WAR setup if possible. I'm running on a test server copy of the production server. The first issue I'm running into is that I can't get the export function to work. After a few minutes I get an out of momory related error. I've tried upping the mempry in the startup script to 2G and it still doesn't work. Any ideas? If that *doesn't* work, how should I go about upgrading using a mysqldump?

Any help would be appreciated. Thanks

James

2 answers

0 vote

First it's important we know what version you are upgrading from and to.

In some cases, you may be able to complete an upgrade by pointing a standalone installation to a copy or restored SQL dump of your WAR installation database and then starting up. JIRA would automatically detect an older version database and run the tasks to upgrade the database. Ofcourse this is not recommended depending on the version you're upgrading from due to major schema changes accross versions.

Always have backups of your database, data directories etc. and test every upgrade attempt/method on a test installation... as a precautionary measure, so that you always have rollback alternatives.

You can have an overview of what upgrade methods are available to your case using: https://confluence.atlassian.com/display/JIRA/upgrading+jira

I've tried to follow some of the upgrade docs (as linked) without any sucess as of yet, mainly due to the fact that I can't get the xml export to work, and I can't seem to find upgrade instructions involving a mysqldump.

Jira is currently 4.3.3, upgrading to 6.0.8

Confluence is 3.1.2 not sure which version we're upgrading to yet.

installed on debian with mysql.

0 vote

If you're still getting an out of memory error when you try to export XML perhaps you should give your JIRA instance a little more memory.

However according to the upgrade paths in the page I gave you previously you should be able to perform a direct upgrade from 4.3 (i.e. you don't even need the backup). You can simply run the JIRA 6+ standalone installation package, it would give you an option to select upgrading an existing installation. Select your existing 4.3.3, and the installer will take care of the rest. Please follow all the backup steps(backup your JIRA home, database and modified files) in the documentation in case you run into any further difficulty.

By the way James, regarding SQL dump, did you try my previous suggestion of importing your dump into a new database using your native database tools and then configuring a fresh installation of JIRA 6 to use this new database? How did it go?

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 4 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

16 views 0 3
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