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/
 -- referer: http://localhost:8090/admin/backup.action | url: /admin/restore-local-file.action | traceId: e2506a6398b29f52 | userName: admin | action: restore-local-file 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:
    • 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.

最終更新日 2021 年 5 月 27 日


Powered by Confluence and Scroll Viewport.