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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

301 views 11 10
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