Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Week, 1 Day, 10 Hours, 24 Minutes, 42 Seconds ago corrupt zip file
#1
Solved: 1 Week, 1 Day, 10 Hours, 24 Minutes, 42 Seconds ago
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.
Reply
#2
Solved: 1 Week, 1 Day, 10 Hours, 24 Minutes, 42 Seconds ago
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
Owner and operator of Creators Wave
Reply
#3
Solved: 1 Week, 1 Day, 10 Hours, 24 Minutes, 42 Seconds ago
(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
Reply
#4
Solved: 1 Week, 1 Day, 10 Hours, 24 Minutes, 42 Seconds ago
(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 ?
Owner and operator of Creators Wave
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)