Import a Confluence Space ReferralLink#54887198 issue

This question is in reference to Atlassian Documentation: Atlassian Cloud Bug Fixing Policy

Hy,

 

I have created a copy of a space in Confluence and modify the xml to change the key so that i can reimport the space back in. (like a copy-paste). 

 

After i hit import of the space to get it back in after the change of key, i get this error:

 

Import failed. Check your server logs for more information. com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: could not insert: [com.atlassian.confluence.links.ReferralLink#54887198]


Could someone please explain what this issue is about?


Thank you so much,

Ioana

1 answer

2 votes

Your simple "search and replace" has missed some of the places that it needed to change.  From the error, I'd suspect it's a "trackback" type link from another system that is linking to yourconfluence/display/<space>/<pagename>

Hy Nic,

So i did that...and now it says that i already have a space with that Key, when in reality i don't. 

I know i have created one at a point and then deleted it and i double checked i have no space with that Key.

 

Since the server is actually a cloud on Atlassian side I assume someone on Confluence needs to check this out?

 

Thank you,

Ioana

I just changed it to something different - i simply can;t afford the time to wait anymore and now i get a different error in the import process:

 

Import failed. Check your server logs for more information. com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: com.atlassian.confluence.search.service.ContentTypeEnum cannot be cast to java.lang.String


Any idea about this one?

The "already have a space" error means either what it said, or that you have a space you can't see with that key, or possibly, that you had a space with that key and have deleted it at some point.

The enum error is unrelated, and means you have broken data in the exports - possibly a macro that you have used in the source, but is not available on the target.

 

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,096 views 17 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