Confluence Import failed: End of ZLIB

Trying to import a compressed confluence cloud backup to our server. The compressed file is 63gb. The import failed after about 25 minutes. The error read 

Import failed. Check your server logs for more information. Error unzipping file: Unexpected end of ZLIB input stream

Any suggestions?

2 answers

I am having the same problem. My backup file is a space data I want to restore in another confluence instance. It has about 2gb. I tried through upload and also placing the zip into the restore folder. Both give me the same error message: Error unzipping file: Unexpected end of ZLIB input stream. This file was exported through Confluence interface.

0 votes
Ann Worley Atlassian Team Jun 01, 2017

I suggest turning off compression in Confluence prior to the import. I found a JDK bug that indicates that GZip compression can cause that error: Unexpected end of ZLIB when using GZIP on some files

The bug is intermittent but we could be running into something similar.

To turn off compression in Confluence, go to Admin>General Configuration, scroll down to the bottom, click Edit on the right, and uncheck the box next to Compress HTTP Responses.

Hi Ann,

Unfortunately that didn't work for me :(

Uploading the zip file through the web ui, rather than directly onto the server did the trick. Very strange...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,633 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you