2019-05-28, 01:02 PM
Hi,
I just tried installing MyBB via the installation page.
The first command is always failing, even on my local machine, it downloads a 178 byte corrupt zip file.
I have also tried without the www as it redirects anyway, but same result
Downloading it manually via visiting the link does indeed work.
Any suggestions on a fix? I tried both cURL and wget with no success
Host is Hetzner, not sure if that makes a difference?
I have also tried this from my desktop - running Ubuntu and have the same issue.
EDIT: Manually finding the download link seemed to work
I just tried installing MyBB via the installation page.
The first command is always failing, even on my local machine, it downloads a 178 byte corrupt zip file.
wget --content-disposition https://www.mybb.com/download/latest -O mybb.zip
I have also tried without the www as it redirects anyway, but same result
Archive: mybb.zip
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.
unzip: cannot find zipfile directory in one of mybb.zip or
mybb.zip.zip, and cannot find mybb.zip.ZIP, period.
Downloading it manually via visiting the link does indeed work.
Any suggestions on a fix? I tried both cURL and wget with no success
root@website:/var/www/website/forums# wget --content-disposition https://www.mybb.com/download/latest -O mybb.zip
--2019-05-28 14:55:49-- https://www.mybb.com/download/latest
Resolving www.mybb.com (www.mybb.com)... 104.25.196.102, 104.25.195.102, 2606:4700:20::6819:c366, ...
Connecting to www.mybb.com (www.mybb.com)|104.25.196.102|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://mybb.com/download/latest [following]
--2019-05-28 14:55:49-- https://mybb.com/download/latest
Resolving mybb.com (mybb.com)... 104.25.196.102, 104.25.195.102, 2606:4700:20::6819:c466, ...
Connecting to mybb.com (mybb.com)|104.25.196.102|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://mybb.com/download/latest/ [following]
URL transformed to HTTPS due to an HSTS policy
--2019-05-28 14:55:50-- https://mybb.com/download/latest/
Reusing existing connection to mybb.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘mybb.zip’
mybb.zip [ <=> ] 503 --.-KB/s in 0s
2019-05-28 14:55:50 (34.5 MB/s) - ‘mybb.zip’ saved [503]
Host is Hetzner, not sure if that makes a difference?
I have also tried this from my desktop - running Ubuntu and have the same issue.
EDIT: Manually finding the download link seemed to work
wget --content-disposition https://resources.mybb.com/downloads/mybb_1820.zip -O mybb.zip