Unable to restore Demo Space
症状
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).
原因
Lack of Space Key, and wrong Build Number in the exportDescriptor.properties of the demo-site.zip
ソリューション
- 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
最終更新日 2016 年 7 月 23 日
Powered by Confluence and Scroll Viewport.