iredmail / iRedMail

Full-featured, open source mail server solution for mainstream Linux/BSD distributions.
https://www.iredmail.org/
GNU General Public License v3.0
1.49k stars 217 forks source link

unable to run the script... #94

Closed narrington closed 4 years ago

narrington commented 4 years ago

When I run the script for 1.3.1, it feils immediatly with the following:

:~/iRedMail-1.3.1$ sudo bash iRedMail.sh
[ INFO ] Checking new version of iRedMail ...

<< ERROR >> Your iRedMail version (1.3.1) is out of date, please
<< ERROR >> download the latest version and try again:
<< ERROR >> http://www.iredmail.org/download.html

so as instructed I went to the provided link and downloaded 1.3.2... I note 1.3.2 is NOT listed in the git, but what the heck?

installing 1.3.2 and I get the following:

~/iRedMail-1.3.2$ sudo bash iRedMail.sh
< SKIP > Function: check_new_iredmail.
[ INFO ] apt update ...
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Hit:3 http://ftp.us.debian.org/debian buster-updates InRelease
Reading package lists... Done
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 5: https://dl.iredmail.org/yum/misc/iRedAdmin-1.1.tar.gz
[ INFO ] + 2 of 5: https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.4.tar.gz
[ INFO ] + 3 of 5: https://dl.iredmail.org/yum/misc/iRedAPD-4.6.tar.gz
[ INFO ] + 4 of 5: https://dl.iredmail.org/yum/misc/netdata-v1.26.0.gz.run
[ INFO ] + 5 of 5: https://dl.iredmail.org/yum/misc/roundcubemail-1.4.9-complete.tar.gz
[ INFO ] Validate downloaded source tarballs ...
misc/iRedAdmin-1.1.tar.gz: FAILED
misc/mlmmjadmin-3.0.4.tar.gz: OK
misc/iRedAPD-4.6.tar.gz: OK
misc/netdata-v1.26.0.gz.run: OK
misc/roundcubemail-1.4.9-complete.tar.gz: OK
sha256sum: WARNING: 1 computed checksum did NOT match
        [ FAILED ]
<< ERROR >> Package verification failed. Script exit ...

REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER:

iredmail commented 4 years ago

Please re-download iRedMail-1.3.2 , we repacked iRedAdmin-1.1 to fix few (iRedAdmin) upgrade issue. Sorry about this trouble.

narrington commented 4 years ago

nope. here's my command history for the last 5 minutes:

rm 1.3.2.tar.gz
rm -vR iRedMail-1.3.2/
wget https://github.com/iredmail/iRedMail/archive/1.3.2.tar.gz
tar -xvf 1.3.2.tar.gz
cd iRedMail-1.3.2/
chmod +x iRedMail.sh
sudo bash iRedMail.sh

and here's the output of the last command:

~/iRedMail-1.3.2$ sudo bash iRedMail.sh
[ INFO ] Checking new version of iRedMail ...
[ INFO ] apt update ...
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Hit:3 http://ftp.us.debian.org/debian buster-updates InRelease
Reading package lists... Done
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 5: https://dl.iredmail.org/yum/misc/iRedAdmin-1.1.tar.gz
[ INFO ] + 2 of 5: https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.4.tar.gz
[ INFO ] + 3 of 5: https://dl.iredmail.org/yum/misc/iRedAPD-4.6.tar.gz
[ INFO ] + 4 of 5: https://dl.iredmail.org/yum/misc/netdata-v1.26.0.gz.run
[ INFO ] + 5 of 5: https://dl.iredmail.org/yum/misc/roundcubemail-1.4.9-complete.tar.gz
[ INFO ] Validate downloaded source tarballs ...
misc/iRedAdmin-1.1.tar.gz: FAILED
misc/mlmmjadmin-3.0.4.tar.gz: OK
misc/iRedAPD-4.6.tar.gz: OK
misc/netdata-v1.26.0.gz.run: OK
misc/roundcubemail-1.4.9-complete.tar.gz: OK
sha256sum: WARNING: 1 computed checksum did NOT match
        [ FAILED ]
<< ERROR >> Package verification failed. Script exit ...

am I downloading the wrong package? like I said, I just noticed 1.3.2 isn't listed in git and I got the previous versions thusly: wget https://github.com/iredmail/iRedMail/releases/download/1.3.2/iRedMail-1.3.2.tar.gz this version (1.3.2) appears to be coming from archive?

narrington commented 4 years ago

got around it by cloning the git repo locally.