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

This widget could not be displayed.

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 Monday 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...

399 views 4 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