Confluence で 'The zip file did not contain an entry 'exportDescriptor.properties" により XML バックアップのリストアに失敗する
症状
XML バックアップ ファイルのリストアに失敗し、UI に次のエラーが表示される。
atlassian-confluence.log
に次のエラーが返される。
2012-08-31 18:58:56,524 ERROR [http-8770-5] [confluence.util.zip.FileUnzipper] unzipFileInArchive The file: exportDescriptor.properties could not be found in the archive: C:\data\confluence\temp\upload_59b7e4d6_1397b8e0951__7f4d_00000010\ds-185627-2.xml.zip
原因
The XML backup failed to restore because Confluence was unable to detect/read exportDescriptor.properties
file from the backup. This file is required for the restoration process.
- This is a common problem when the
exportDescriptor.properties
file is:- Missing from the XML backup
- OR incorrectly nested inside another sub-folder:
Incorrect
/Confluence-site-export-2024-09-10-16-03-57-737.xml/Confluence-site-export-2024-09-10-16-03-57-737.xml/exportDescriptor.properties
Correct/Confluence-site-export-2024-09-10-16-03-57-737.xml/exportDescriptor.properties
- This can happen when the files aren't zipped correctly
- This issue can also be due to insufficient disk space.
- This can also be caused by selecting a file other than a Space/Site export zip file
ソリューション
- Ensure that the XML backup is valid. It should contain at least the following two files:
exportDescriptor.properties
entities.xml
When recompressing the file:
When recompressing a backup, zip files directly
Select all files in the sub-folder and zip them directly. Avoid zipping the folder itself, as this will nest the contents, preventing Confluence from locating them.
(In the example below, "Archive.zip" is our recompressed XML backup file.)- Do not use Windows ZIP compression to compress the XML backup. Use 7Zip or WinZip instead.
- Please make sure that you have sufficient disk space to import XML Backup.
- Ensure that you are starting with an XML backup zip file from Confluence
最終更新日 2024 年 9 月 11 日
Powered by Confluence and Scroll Viewport.