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
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,620 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