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

ソリューション

  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

最終更新日 2016 年 7 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.