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

This widget could not be displayed.

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

482 views 6 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