sha1sum: WARNING: 1 computed checksum did NOT match

I am getting the following error while setting up on a fresh VPS:

Installing Z-Push (Exchange/ActiveSync server)…
sha1sum: WARNING: 1 computed checksum did NOT match

Download of http://download.z-push.org/final/2.3/z-push-2.3.8.tar.gz did not match expected checksum.
Found:
66b1613faef61590836682ff1a43d559827fe08b /tmp/z-push.tar.gz

Thanks in advance

apt update && apt upgrade and try again

Hi Murgero

I have same problem and i did what you said — apt update && apt upgrade

IT DID NOT SOLVE THE INSTALLATION PROBLEM…
Please what else can someone do to install Mailinabox on a fresh machine?

Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup
Installing nsd (DNS server)…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Removing apache…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing Nextcloud (contacts/calendar)…
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
sha1sum: WARNING: 1 computed checksum did NOT match

Download of http://download.z-push.org/final/2.3/z-push-2.3.8.tar.gz did not match expected checksum.
Found:
66b1613faef61590836682ff1a43d559827fe08b /tmp/z-push.tar.gz

Expected:
aae5093212ac0b7d8bf2d79fd5b87ca5bbf091cb /tmp/z-push.tar.gz

I NEED SOLUTION PLEASE…

Hey buddy I check the hash on that file specifically and found 66B1613FAEF61590836682FF1A43D559827FE08B as the hash which is incorrect. You will need to contact z-push directly for resolution as this issue is on their end, not ours.

Is there no way to delete the found hash so that the expected hash will install to complete the mailinabox installation?
Secondly these problem affects general installation of mailinabox…because once the installation gets there it will stop.

Thirdly please is there a way to bypass the problem and finish the installation?

  1. you can attempt an apt clean
  2. Although it affect MIAB - it is not part of MIAB. Therefore it should be brought to the attention of z-push (at the very least also their attention)
  3. Download and install manually then.

PLEASE MURGERO

Paste clear instruction on how fix this issue step by setp ssh code please i just want to install mailinabox in fresh machine without those z-push error.

please

@donsicilly See : https://github.com/mail-in-a-box/mailinabox/issues/1304

I tried that too and it didnt work.

@just4t i saw that link but i do not know how to go about it…i need detailed instruction on how to fix it…please can someone help us…this driving me crazy

@donsicilly I had the same issue a few days ago.
I had to change the setup script for zpush in order to finish the install without errors.

/mailinabox/setup/zpush.sh

Line 25:
TARGETHASH=66b1613faef61590836682ff1a43d559827fe08b

After making this change, saving, and running the install again, mail-in-a-box finished correctly

I hope this helps

2 Likes

@boykin-interactive

How do i get the file?
Please how do i edit the line 25?
How do i install after editing?

the whole problem is really giving me headache…

I NEED STEP BY STEP INSTRUCTION

FOR THOSE WHO KNOW PROGRAMMING MORE THAN US BELOW IS THE EXAMPLE WHAT TO TEACH AND HELP FIX PROBLEM AND SITUATIONS NOT BY JUST GIVEN HALF INFORMATION.

zpush error fixed

Follow below steps to sucessfully install mailinabox

sudo apt-get update && sudo apt-get upgrade
apt-get install git nano curl
git clone -b zpushgit https://github.com/yodax/mailinabox.git
cd mailinabox
sudo setup/start.sh

brand new install of ubuntu 14.05 lts and I basically am getting the same thing…

Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup
Installing nsd (DNS server)…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Removing apache…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing Nextcloud (contacts/calendar)…
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
sha1sum: WARNING: 1 computed checksum did NOT match

tried editing the line mentioned above but this still doesn’t work…
vi /mailinabox/setup/zpush.sh

TARGETHASH=66b1613faef61590836682ff1a43d559827fe08

I think that the mailinabox repository needs to be updated to reflect this new hash?

regards

Fixed in ‘Master’. See the Changelog

Guys re-installing ubuntu will not fix this, it is an issue with the package & MIAB’s install script, not the OS.

That said what needs to happen is updating the install script. (Seems @just4t mentioned that this is fixed in master branch for next release)

Now that is has been fixed in ‘Master’, how do I get the fix so I can upgrade mailinabox? I tried:

curl -s https://mailinabox.email/setup.sh | sudo bash

However, the fix does not seem to be applied there.

I found the answer posted by hachre on another forum:

On an existing install run all of these, on a fresh install run all except the mv:

sudo -i
apt-get update
apt-get dist-upgrade
apt-get install git

cd /root
mv mailinabox mailinabox_old # On existing installs only
git clone https://github.com/mail-in-a-box/mailinabox.git
cd mailinabox
bash setup/start.sh
bash setup/start.sh # the first one might fail due to bug #1298, run it again to make it succeed

yes the setup.sh from the install instructions will ONLY install git tagged branches (like tag v25)

Good job finding the instructions!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.