Error unzipping file (This may be due to a large zip file): invalid entry size (expected 0 but got 157686065 bytes)

Hey Guys,

I have to upgrade Confluence from a Oracle 11g to Postgres.

I got a XML Backupfile from the Oracle instance but when I try to upload it to the Postgres instance, i get the following error:

Error unzipping file (This may be due to a large zip file): invalid entry size (expected 0 but got 157686065 bytes)

 

The file itself is 650 MB zipped. Unzipped 4,x GB. I had no issues to unpack it on my local machine. Neither on Windows nor on Linux. So the File itself seems to be fine. The Server itself has enough RAM to cope with the Backup file (12gb).

 

I also tried to unpack the zip file locally (windows) and on the server (linux) and zipped it again. But got still the same error just with other diggets (expected 124555354 but got 567755 bytes).

Any suggestions what I can try to get this XML backup up and running?!

 

cheers,

1 answer

I know this is old and you may not need help with this any longer, but I had this exact same error and the issue was that my backup was owned by root, and not the confluence user. After I changed the file ownership of the backup to the confluence user, the restore went through just fine.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,565 views 26 14
Join discussion

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