JIRA refresh from PROD to DEV server goes to Setup Wizard

Reading some other answers on this site, it appears that I ought to be able to refresh my DEV JIRA (5.1) data from my PROD instance by doing the following:

1) shut down my DEV Jira instance

2) have my DBA restore the PROD DB on top of my DEV JIRA

3) restart DEV JIRA

When I do this, however, JIRA goes into the setup wizard. If I punch through and answer all the questions, JIRA comes up, but there is *nothing* from PROD. WTH?

This doc https://confluence.atlassian.com/display/JIRA051/Establishing+Staging+Server+Environments+for+JIRA indicates I ought to be able to do pretty much the same as above, but I should copy over the jira-home and jira-install trees and make local mods to point the instance to DEV. OK, so I tried that as well, with exactly the same result. WTH#2?

Advice?

2 answers

1 accepted

So the problem was that after dumping the DB and copying over jira-home and jira-install directories and doing appropriate mods, I copied in my previous dbconfig.xml file (to set the correct non-PROD DB) but the Schema name was different. This seemed to cause the instance to go into setup mode to create all the tables under the new schema name, and cause the app to appear to have no data.

Hi Tom,

I suppose you need to restore prod JIRA to Dev JIRA , then you can use any of the following methods:

1) XML restore

https://confluence.atlassian.com/display/JIRA/Restoring+Data

2) DB restore:

Take DB backup from Prod & dump it in Dev env

Change dbname,dbuser name according to dev env in db config.xml

Reindex

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,012 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot