jira upgrade jira 6 war distribution to 7.05

Hello,

I'm trying to upgrade JIRA 6 war distribution to JIRA 7.0.5. I choose the option "Upgrade an existing JIRA installation" but the installer says "The directory you have selected is not a valid JIRA Software installation directory" when I give the war path :

/app/local/jiraprod/atlassian-jira-6.3.12.war

I also try /app/local/jiraprod/atlassian-jira-6.3.12.war/WEB-INF

Do you have an idea about the issue?

Thanks,

Chakib

4 answers

1 vote

It's because it's a WAR version - the installers can only upgrade a standard setup of JIRA. 

You'll either need to unpack and rebuild the WAR from a clean install of a new JIRA, or migrate the 6.3.12 to an installed version that you can then upgrade.

Hello,

Thanks for the answer

I had unpack and rebuild the War from a new install. But when I try to start the tomcat I can see this error in logs :

déc. 31, 2015 11:29:39 AM org.apache.catalina.core.StandardContext start

GRAVE: Error listenerStart

déc. 31, 2015 11:29:39 AM org.apache.catalina.core.StandardContext start

GRAVE: Erreur de démarrage du contexte [/jiraprod] suite aux erreurs précédentes

déc. 31, 2015 11:29:39 AM org.apache.coyote.http11.Http11BaseProtocol start

That's the problem with re-packing - you've probably missed some settings in the config of the WAR. But there's no way to know what you've missed. You could spend weeks working this out, it would be far easier to migrate to an installed version.

I'd be interested in hearing if anyone has experience in upgrading from JIRA 6.4.12 WAR to 7.0.5, and if so, how they went about doing so. Some background: I've been upgrading JIRA the same way for the last 12 upgrades going back to version 4.1.2. I use the web archive build method with customizations and let the new version perform its upgrade tasks on my database (I have everything backed up, of course). Atlassian's recommended practice is to export database data via XML and then import it into the new database; I've never run into trouble just letting the new JIRA upgrade the database data in place.

Here's what I'm planning on doing to upgrade from JIRA 6.4.12 WAR to 7.0.5:

  1. Run the JIRA 7.0.5 installer (Linux 64-bit) as a non-root user, and let it create the jira and jira-data directories in /tmp using ports not currently in use by my production instance.
  2. Stop the JIRA 7.0.5 instance, remove the jira-data directory and use jira directory as the "new" JIRA 7.0.5 webapp (before customization).
  3. Customize the "new" JIRA 7.0.5 by changing setenv.sh, server.xml, jira-application.properties, log4j.properties, install the MySQL connector, etc., as I've done in all past upgrades.
  4. Starting the "new" JIRA 7.0.5 and let it upgrade the data in my MySQL database.

Thoughts? Comments?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

182 views 1 17
Join discussion

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