Confluence Upgrade - Build Number issue.

I had a local OnDemand test instance installed. I wanted to upgrade the content for a demo and made a back of the OnDemand instance to import into the test instance. The OD install I was running is 5.1-OD-9. I rebooted the server and got a build error so I downloaded OD version 5.1-OD-13 and upgraded to it. Still receiving the same build error.

Any ideas? Here's the exact error:

Confluence will not start up because the build number in the home directory [4323] doesn't match the build number in the database [4332].

1 answer

1 accepted

1 vote
Accepted answer


You may want to check your <confluence_home>/confluence.cfg.xml. Ensure that your license details were not wiped out. A quick and dirty hack is to change your build number in this file to the number confluence expects. You may also want to truncate the versions table inside Confluence.

I am just curious what you are trying to achieve here. Are you pulling down another copy of data from your OnDemand instnace to a local install? If there is data in your local instace you can do without you could also just perform another xml export from OD and import into a fresh 5.1-OD-13

Thank you for the guidance. Yes, I was trying to pull another copy of data from the OnDemand for local install and maintain the add-ons, etc. Was hoping to save time and it appears it's cost me.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,132 views 61 8
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