Unable to restore Demo Space
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
- Identify the build number for the version of Confluence (Build number can be found in Confluence Admin >> System Information >> Confluence Information)
- Navigate to
<Confluence Installation Directory>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/
, and open up demo-site.zip with WinRAR 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- Save the file, then refresh the archive
- Navigate to
Confluence Admin >> Backup Restore
, and upload this modified demo-site.zip
Last modified on Jul 23, 2016
Powered by Confluence and Scroll Viewport.