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
Answer accepted

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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,645 views 4 13
Read article

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