MyBB Community Forums

Full Version: corrupt zip file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Environment being used is Ubuntu on EC2 and Linux on EC2.

Tried on different AWS EC2 instances, downloads well but then does not unzip.
Just to check I downloaded a zip file from another site and it unzips well, so AWS EC2 should not be the issue.

Commands I tried with 
1. curl https://www.mybb.com/download/latest -o mybb.zip
and then 
unzip mybb.zip "Upload/*"

2. wget --content-disposition https://www.mybb.com/download/latest -O mybb.zip

unzip mybb.zip "Upload/*"

It Downloads well and the error that occurs on unzip command is -

End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.


Please help resolve.
(07-17-2017, 03:54 PM)katos Wrote: [ -> ]https://www.mybb.com/download/latest is a html redirect
wget doesn't follow it

please use:
https://resources.mybb.com/downloads/mybb_1812.zip

thanks, it worked like a charm Big Grin

Is there some way to get the installation document corrected, would help newbies from getting lost
(07-17-2017, 04:11 PM)awsEc2 Wrote: [ -> ]
(07-17-2017, 03:54 PM)katos Wrote: [ -> ]https://www.mybb.com/download/latest is a html redirect
wget doesn't follow it

please use:
https://resources.mybb.com/downloads/mybb_1812.zip

thanks, it worked like a charm Big Grin

Is there some way to get the installation document corrected, would help newbies from getting lost

Glad it worked! 
Can you please provide a direct link to the documentation that mentions wget via the download/latest link? As far as i'm aware, it doesn't state this in the documentation, only to download the latest package and unpack the filename.zip ?