Creating a staging environment

I am trying to create a Staging Environment for Confluence, so for I cloned the Virtual Machine that the confluence is on and changed all URL to point to the staging server. When I logon to Confluence I get

Non Clustered Confluence: Database is being updated by another Confluence instance. Please see http://confluence.atlassian.com/x/mwiyCg for more details.

Your server id is:

How can I workaround this issue?

Thanks

2 answers

0 vote
Thomas Schlegel Community Champion May 15, 2012

Hi Ali,

you cannot use the same confluence database with two confluence instances. You have to create another database for the test instance.

I think, these sites should help you: http://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers

http://confluence.atlassian.com/display/DOC/Restoring+a+Test+Instance+from+Production

Best regards

Thomas

There's a possibility that your clone instance's configuration is pointing to the existing database when that is not supposed to be the case because you should create a new database for the clone instance.

Below is the guide on how to create/clone your instance on a test server:

On the test server, you will need to copy over 3 things (ensure that the test server has the same environment/OS as the production server):

  1. Copy of Confluence Production database dump/backup
  2. Copy of Confluence Production installation folder
  3. Copy of Confluence Production home folder. Confluence Home folder is defined in <Confluence install folder>/confluence/WEB-INF/classes/confluence-init.properties file.

After that, do the followings:

  1. Create a new database name. Restore Confluence Production copy of database dump/backup into this newly created database.
  2. Edit confluence.cfg.xml in the copy of Confluence Production home folder to point to the newly created database. Ensure that the database username and password are updated too if it differs from the Production server.
  3. Go to \confluence-x.x.x-std\confluence\WEB-INF\classes in the copy of Confluence Production installation folder and edit confluence-init.properties to point to the new path of Confluence Production copy of home folder.
  4. Start Confluence.

You should have a working clone instance now.

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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

375 views 20 10
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