production and lab enviroment problem

Good day, I clone the production Confluence environment in a new VM, made a copy of the SQL db, set new username and password for the db, modified configuration file on the test vm to point to the new SQL db, updated all install plugins and the production SQL db got affected by the changes I made.

Why this happend?

1 answer

David,

I would bet that you likely didn't save your configuration file or modified the wrong one. What file did you change? All of the database configuration is held on the file system and would not have been changed when you turned your system on.

Also, it is genrally best pratices to not allow routing between a dev/test and production environment. We run our staging and prod environments out of seperate corporate datacenters not only to silo our environments, but to provide for limited DR.

You can achieve the same affect on a smaller scale by reserving IP ranges or entire subnets for your dev and prod environments and ensuring one cannot route the the other.

More likely than all of that is that your server base URL is misconfigured and when you were accessing your dev/test instnace you were surreptitiously redirected to production and you made all of your changes on the production box without realiizing it.

https://confluence.atlassian.com/display/DOC/Configuring+the+Server+Base+URL

In this case it is a good idea to have dev/test systems run alternative style sheets than your prod systems. Our Staging systems run with a red border rather than the blue border on most Confluence Installations.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 10 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

156 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