# Confluence Space import failed with invalid compression method

#### お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

# 要約

Space import failed with Error unzipping the file (This may be due to a large zip file): invalid compression method

# 診断

The following ERROR appears in the <confluence-home>/atlassian-confluence.log:

2021-01-11 12:46:37,296 ERROR [http-nio-8090-exec-1] [confluence.importexport.impl.ExportDescriptor] readExportDescriptor Error determining export type from export zip: /opt/data/application-data/confluence/restore/space-export.zip
java.util.zip.ZipException: invalid compression method

# 原因

It seems that Confluence was failed to open the zip file with the bundled gzip class, which can be caused by:

• The zip file was corrupted during the transfer.
• The compression method using was not supported by gzip.

# ソリューション

• Ensure that the XML backup is valid and not corrupted. It should contain at least the following two files:
• exportDescriptor.properties
• entities.xml
Please select the above files directly and zip them up so that they would be at the root of the zip file when compressed. These files should not be located in a sub-folder when it's zipped up, otherwise, Confluence will not be able to find the files during the XML restore.
• Do not use Windows ZIP compression to compress the XML backup. Use 7Zip or WinZip instead.

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

はい
いいえ
この記事についてのフィードバックを送信する