Configuring System Properties

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

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.

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,098 views 17 14
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