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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

471 views 6 6
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