Jira 4.1.1 to 4.4 updgrade using in-place database upgrade fails

The documentation says: your existing osuser.xml and crowd.properties files MUST be available to JIRA 4.3 (or later) before the upgrade process is started.

and:

ensure that you copy the osuser.xml and crowd.properties files from the atlassian-jira/WEB-INF/classes directory of your old installation to the atlassian-jira/WEB-INF/classes directory of the new installation.

I get: Sorry, but we are unable to automatically upgrade your version of JIRA:

[jira@liferay-it01 ~]$ ./atlassian-jira-4.4-x64.bin
Unpacking JRE ...
Starting Installer ...
You do not have administrator rights to this machine. This means you will not be able to install JIRA as a service. Are you sure you want to continue?
Yes [y, Enter], No [n]
y

This will install JIRA 4.4 on your computer.
OK [o, Enter], Cancel [c]

If JIRA is already installed on this machine, please read the following information carefully.
Please choose between creating a new JIRA installation or upgrading an
existing JIRA installation.
Create a new JIRA installation. [1, Enter], Upgrade an existing JIRA installation. [2]
2
Existing JIRA installation directory:
[/var/opt/jira/atlassian/jira]
/var/opt/jira/atlassian/jira-4.1.1
Sorry, but we are unable to automatically upgrade your version of JIRA

How exactly do I copy those files to the NEW location, when the installer supposedly CREATES that??

8 answers

1 accepted

The manual gz install is what I ended up doing. Once I got Jira set as its own user (not root) and the file structure more closely aligned with what Atlassian expects, subsequent installs worked with the installer.

Please check to see which user owns your current installation files. I suspect you will need to root to install.

Nope:

[root@liferay-it01 jira]# ./atlassian-jira-4.4-x64.bin
Unpacking JRE ...
Starting Installer ...

This will install JIRA 4.4 on your computer.
OK [o, Enter], Cancel [c]

If JIRA is already installed on this machine, please read the following information carefully.
Please choose between creating a new JIRA installation or upgrading an
existing JIRA installation.
Create a new JIRA installation. [1, Enter], Upgrade an existing JIRA installation. [2]
2
Existing JIRA installation directory:
[/var/opt/jira/atlassian/jira-4.4.5]
/var/opt/jira/atlassian/jira-4.1.1
Sorry, but we are unable to automatically upgrade your version of JIRA
Finishing installation ...

Hmm. Without breaking into the code and figuring out why you are getting the message, I would try a manual install using tar.gz format instead of the bin format. Just make sure you read all the upgrade notes (general and version specific) and follow directions if there are any related to your setup.

When I attempted an upgrade from 4.2.x to 4.3 on Windows 7, I encountered the same issue. I eventually gave up and performed a side-by-side install. I was also lost in the documentation. The 4.3 upgrade instructions were pretty straight-forward, but when it refers you to the General upgrade instructions, they appear to be written for upgrading to JIRA 5.0

0 vote
Colin Goudie Community Champion Jun 24, 2012

I don't use the installer but it could just be related to the fact that until JIRA 4.3, Atlassian didn't officially support in place database upgrades. The recommended approach from 4.1 is to export the XML backup and import it

https://confluence.atlassian.com/display/JIRA/JIRA+4.3+Upgrade+Guide#JIRA43UpgradeGuide-In-placedatabaseupgradeisnowtherecommendedmethod

I agree Colin. Actually, I prefer the side-by-side install method. The only issues I encountered were with the new installer being able to stop the existing service and to create a new service (can't remember the exact error messages). I had difficulty following the instructions as to should I follow the 4.3 upgrade instructions first, or should I follow the General upgrade procedures first? But I did finally finish the upgrade.

try sudo, it worked for me:

sudo ./atlassian-jira-4.4-x64.bin

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

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...

94 views 0 5
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