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

This widget could not be displayed.
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

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

606 views 8 6
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