CSP-12784 - Database is being updated by an instance which is not part of the current cluster

Product

Confluence

Environment

Operating System  
Affect Version/s  
JVM  
Database  
Application Server  

Error Message

Database is being updated by an instance which is not part of the current cluster.

Symptom

A standalone Confluence instance was periodically shutting down with this error. No other instances were installed on the server, and there was no sign of the same instance being started twice.

Diagnostics/Test

First, double-check that no other instances are running, either on the local machine or others on the LAN.
Detailed Hibernate logging with parameters showed that the value of clustersafety.safetynumber had been changed unexpectedly, and exactly when. The database logs helped to show where the relevant queries had been initiated from.

Root Cause

The VM on which the Confluence instance was running had been copied, and started up in another office without the admin's knowledge. Confluence hadn't been disabled on the new copy, so it was starting up and connecting to the same database.

Solution

Shut down and disable Confluence on the other VM.

Labels

 
(None)