It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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?

3 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
AnnWorley 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...

Hi Sebastian:

    I am having the same issue? So what do you meant by uploading the zip file through the web ui?


You can import from a file on the server or by uploading the file using the web interface. "Backup & Restore => Upload a site or space export file"

Hi everyone and happy new year,

I have the same problem, when I try to restore my confluence using a zip file. The only option that I have is from Backup & Restore option in the website.

Why during the process appears that error message? Is the zip file corrupt? I have uncheck the https option that Ann Worley mentioned and it is stilll happening.

Thank you in advance.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

109 views 3 7
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you