Issue upgrading Jira from 5.2.9 to 6.1.4

Following the instructions at https://confluence.atlassian.com/display/JIRA/Upgrading+JIRA+Using+a+Rapid+Upgrade+Method

when executing the atlassian-jira-6.1.4.bin file:

1) I choose Upgrade existing Jira installation

2) It finds the correct Jira install directory

3) I type 'y' to backup Jira Home Directory

However, when "checking for local modifications" I get the following error:

List of modifications made within JIRA directories.

An error occurred:

java.lang.OutOfMemoryError: Java heap space

Error log: /usr/local/atlassian/install4jError3236897897978096157.log

java.lang.OutOfMemoryError: Java heap space

at java.util.Arrays.copyOf(Unknown Source)

at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)

at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)

at java.lang.AbstractStringBuilder.append(Unknown Source)

at java.lang.StringBuffer.append(Unknown Source)

at com.install4j.runtime.util.StringUtil.replaceVariable(Unknown Source)

at com.install4j.runtime.installer.InstallerVariables.replaceVariables(Unknown Source)

at com.install4j.runtime.installer.frontend.components.HtmlDisplay.getOrLoadText(Unknown Source)

at com.install4j.runtime.installer.frontend.components.HtmlDisplay.handleConsole(Unknown Source)

at com.install4j.runtime.beans.screens.InfoScreen.handleConsole(Unknown Source)

at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.handleScreen(Unknown Source)

at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.execute(Unknown Source)

at com.install4j.runtime.installer.controller.Controller$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Finishing installation ...

3 answers

I have increased the heap memory using the Jira specific directions directions found here: https://confluence.atlassian.com/display/JIRA/Increasing+JIRA+Memory

I went up as high as 2GB, which would seem unnecessary with such a small install. However, this does not fix my problem. I'm still unable to upgrade, and am getting the same error at the same point in the process.

What is your database stats and machine specs? Are you on x64 OS and JIRA installer?

Machine Specs:

Virtual Machine

4 GB RAM

CentOS (64 bit)

Dual Core Intel(R) Xeon(R) CPU E5-2667 0 @ 2.90GHz

Specifically what database stats do you need?

I don't think this is a resource issue as Jira has been working quite snappy and without a hitch for some time now. I've done upgrades before and never had this issue.

Since it appears no one has encountered this, I will try using an alternate method of upgrading.

I was considering just doing a manual upgrade which would involve a fresh install to a new jira install directory pointed to a copy of the original jira home directory. I would connect the new Jira to an empty external database and then do a restore from an XML backup of the current Jira.

Does anybody see a downside to this beside that manual migration of the old Jira configuration?

Before I attempt a manual upgrade, would it be better to try to upgrade to an intermediate version of Jira (such as 6.0.1)? Could this be the problem?

Any help would be greatly appreciated. Thanks!

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

846 views 3 12
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