Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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?

4 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.

Any solution to this problem, my backup file is around 10GB, and tried to restore it through restore dir but getting the error.

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.

it seems the export is actually a tar.gz

extract it and recompress as zip to enable using the archive for restoring from backup

mv backup.zip backup.tar.gz
mkdir uncompressed
pushd uncompressed
tar xvfz ../backup.tar.gz
zip -r ../backup.zip *
popd
rm -rf uncompressed

try now, with backup.zip

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?

   Chang

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"

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,366 views 7 28
Read article

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