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


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.

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 Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

464 views 8 16
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
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