hi!
Im trying to import an export ZIP file of a space. Using the bij Confluence created file at the new environment Space import tool. This does not work, due the fact the new envirnment already has a space with the same ID (which I cant find).
Is there someone who knows this issue and how to solve it?
thx!
Hi @Marc de Vries ,
just to be sure, is the error about an actual space_id (as a number) or the space key? The showstopper with duplicate space keys is a known limitation. There are different ways to work around this:
1. Change the space key through the UI (might not fix your case)
The following post describes how to change the key of a space through the UI: https://community.atlassian.com/forums/Confluence-Cloud-Admins-articles/Introducing-edit-space-key-all-editions/ba-p/2851665
However, as stated in the text (if this is still accurate), this won't change the internal key which might be what's checked for conflict during the import. But it's still the easiest to test, before you consider the next option.
2. Change the space key in the XML of the ZIP
This was the work around before changing the space key was officially possible. There is an xml file within the zip file that contains meta-data around the space. You can open this XML (if it's not too large) and adjust the space key in the XML meta data. If the file is too large and you or a colleague is familiar with Linux commandline tools, a tool like "sed" can be used to replace the space-key with another key that would not be taken in the target site.
I hope that helps! If not, feel free to provide some additional info and we'll look into it.
Greetings
Philipp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.