Configuring System Properties

Mathias Heilmann March 2, 2014

I'm currently trying to install a backup from our production Confluence to our testserver and got following problem: "Confluence will not start up because the build number in the home directory [4396] is newer than the Confluence build number [4394]."

Ok, I checked the documentation an it says to configure the system property com.atlassian.confluence.allow.downgrade=true

I went to the <confluence-install>/bin/setenv.sh (using Linux here) and edited the first line to:

JAVA_OPTS=" -Xms256m -Xmx512m -XX:MaxPermSize=256m $JAVA_OPTS -Djava.awt.headless=true com.atlassian.confluence.allow.downgrade=true "

The log (catalina.out) tells me that the main class com.atlassian.confluence.allow.downgrade=true couldn't been found.

1 answer

0 votes
Luther Hargrove
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2014

If using Confluence 4.3.2 and above and you need to start Confluence with an upgraded home directory, you need to set the com.atlassian.confluence.allow.downgrade system property to true.

If using a version of Confluence older than 4.3.2, you can change your build number in <Confluence-Home>/confluence.cfg.xml file as:
<buildNumber>1627</buildNumber>

That is the build number for Confluence v3.0.0_01. After it's corrected, restart Confluence.

Mathias Heilmann March 3, 2014

I'm using Confluence 5+. What do you mean with "start Confluence with an upgraded home directory"? I tried to set the property to true, but I must have done something wrong as mentioned in the original post.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events