Confluence Space import from xml-backup fails with HibernateException


We need to complete this task:

-- move some space from one server to another. both servers have the same version of confluence. we trying to do it with standard "Backup&Restore" functionality. all looks perfect as a first approximation :)

We've got xml-backup of confluence space from source server (Parameters of confluence instance: version of confluence - 5.4.3, build - 4252).

We've got new server with the same version of confluence 5.4.3, but build number between servers doesn't match (our 4517).

We changed build number in xml-backup from 4252 to 4517. Otherwise an error is displayed

Both servers have the same set of groups.

In process of import new error is displayed:

com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: Found two representations of same collection: com.atlassian.confluence.spaces.Space.permissions; nested exception is net.sf.hibernate.HibernateException: Found two representations of same collection: com.atlassian.confluence.spaces.Space.permissions

Any advice will be much appreciated.


1 answer

1 accepted

1 vote
Accepted answer

Hi Nikolay,

The build number 4252 is related to confluence 5.1.5 as we can see here. the build number for 5.4.3 is 4732 and not 4517. I believe there is some misunderstanding in confluence versions and build numbers or the upgrade wasn't performed correctly before in those instances.

I recommend to double check if the build numbers match and just upload a xml backup from the same version to another same version.



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,553 views 25 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