I am getting above error when I tried to import a space to 5.10 which was exported from Confluence 5.2. I am doing it using confluence import wizard. ImportSpace API working fine for small sizes but failing for bigger space projects. Can you please advise whether I should use importspace API or Confluence import wizard? Basically I am trying to find the root cause for above error and how to correct it.
There have been changes in Confluence's database structure which makes that your backup can't be just restored in the new database. For example, a column "Username" might have been changed to "User key" (with the value changing from "aragot" to "87d3-ac43-fe87-ae13"), so when importing your space, Confluence won't be able to insert the "username" because the column doesn't exist, and the new column "userkey" will be left empty. There are many other examples of this happening with page properties, permissions, application links, document content and document hierarchy.
The solution to upgrade your backup file from 5.2 to 5.10 is:
It is not that complex to install Confluence 5.2 and upgrade: Download the "
tar.gz", unzip it, change the confluence-init.properties, run
bin/start-confluence.sh -fg, and follow the wizard. You'll find a Confluence license for this purpose in your my.atlassian.com, and 3-hrs licenses for add-ons on this page.
It's more simple for full backups: I think Confluence 5.10 is able to upgrade them on-the-spot. But as I understand, you only have one space to import.
Hope it helps.
Thank you very much for quick response. Yes it worked for my Import, but I have to repeat this for multiple imports as we are planning to do it one Import at a time. So can we switch between 5.2 and 5.10 versions of confluence. Lets say we have completed one import successfully and then for second import Can I switch back 5.2 and then upgrade to 5.10 ? Not sure that will work ? Please help me whether any other alternative to this ?
Thanks in advance,
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...
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!
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