It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Database problem after clone Jira for test or staging purpose

Niki W. Nov 29, 2017

We used system snapshot method to clone a production environment to the other VM server for test/staging purpose.  However, we encountered the problem that everything we changed on the cloned server would change to production one.  Wondering what config. settings should be changed on the staging environment to avoid this problem.  We are using Jira server v6.3.15, BTW.  

Besides, we were thinking maybe we can change the database location via Jira configuration tool but we got "Access Denied" error while testing the connection in the last step.   However, using mySQL command to do the same thing seems to work.  Therefore, we don't know how we can solve the problem.  Can anyone advise the correct step when using system snapshot to clone the environment and how to config. the data to the right clone environment instead of still connecting with production one?  Thanks.Jira_ConfigurationDB_Error.png

 

1 answer

0 votes
Bhushan Nagaraj Atlassian Team Nov 29, 2017

Hey Niki,

You staging and production are pointing to the same database. In your staging environment, go to your JIRA_HOMe folder and review the configuration on the dbconfig.xml file. This should be updated to point to the staging database and not production.

Have a read through https://confluence.atlassian.com/adminjiraserver071/establishing-staging-server-environments-for-jira-applications-802592273.html

Cheers

Bhushan

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,271 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you