Unable to restore Demo Space

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When trying to restore the Demo Space by uploading the demo-site.zip in <Confluence Installation Directory>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/, the restore fails with these errors:

  • Could not determine the space key from contents of exportDescriptor.properties
  • Restore denied. You can only restore space backups exported from the same major version (e.g. 2.2.x or 2.3.x).

Cause

Lack of Space Key, and wrong Build Number in the exportDescriptor.properties of the demo-site.zip

Resolution

  1. Identify the build number for the version of Confluence (Build number can be found in Confluence Admin >> System Information >> Confluence Information)
  2. Navigate to <Confluence Installation Directory>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/ , and open up demo-site.zip with WinRAR
  3. Modify the exportDescriptor.properties, and change it to this:

    exportType=space
    buildNumber=3390
    backupAttachments=true
    spaceKey=ds
    
    For this example, we are using Confluence 4.3.1, which has the buildNumber of 3390. Modify this accordingly
  4. Save the file, then refresh the archive
  5. Navigate to Confluence Admin >> Backup Restore, and upload this modified demo-site.zip

Last modified on Jul 23, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.