Installation fails: FAILED: wget -O /tmp/z-push.zip https://stash.z-hub.io

I was trying to instal MiB but I have the following error with Z-Push:

Installing Z-Push (Exchange/ActiveSync server)...

FAILED: wget -O /tmp/z-push.zip https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
-----------------------------------------
--2021-05-05 21:24:09--  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Resolving stash.z-hub.io (stash.z-hub.io)... 2a01:4f8:c0:2b19::aaaa, 195.201.215.164
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.

I tried a solution found in the forum to add the IP in /etc/hosts (195.201.215.164) but that doesn’t seem to work anymore.

Please fix this.

Kind regards,
Américo

MiaB is performing an install script which pulls a file from that site. The unavailability of the site is not something we can fix.

I saw more people in the forums complaining about the same error, some of them already in 2018. So I was assuming the website was not working since then…

Ok, I will try to install MiaB in another day.

Thanks,
Américo

The domain status suggests the domain is being moved to a different registrar.

9 posts were merged into an existing topic: Temporary fix for FAILED: wget -O /tmp/z-push.zip https://stash.z-hub.io

I’m having the same issue.

Installing Z-Push (Exchange/ActiveSync server)...

FAILED: wget -O /tmp/z-push.zip stash.z-hub . io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
-----------------------------------------
--2021-05-06 00:57:28--  stash.z-hub . io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Resolving stash.z-hub.io (stash.z-hub.io)... 195.201.215.164, 2a01:4f8:c0:2b19::aaaa
Connecting to stash.z-hub . io (stash.z-hub . io)|195.201.215.164|:443... failed: Connection timed out.
Connecting to stash.z-hub . io (stash.z-hub . io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Network is unreachable.

Hi,

same problem here:

Installing Z-Push (Exchange/ActiveSync server)...

FAILED: wget -O /tmp/z-push.zip https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z- 
push/archive?at=refs%2Ftags%2F2.6.2&format=zip
-----------------------------------------
--2021-05-06 08:22:26--  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive? 
at=refs%2Ftags%2F2.6.2&format=zip
Resolving stash.z-hub.io (stash.z-hub.io)... 2a01:4f8:c0:2b19::aaaa, 195.201.215.164
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.

Hi,
i have the same error:

Installing add-apt-repository...
Updating system packages...
Installing system packages...

Current default time zone: 'Europe/Paris'
Local time is now:      Thu May  6 10:42:11 CEST 2021.
Universal Time is now:  Thu May  6 08:42:11 UTC 2021.

Initializing system random number generator...
Creating SSH key for backup…
Firewall is active and enabled on system startup
Creating initial SSL certificate and perfect forward secrecy Diffie-Hellman parameters...
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
......................................+..................................................................................................................................
Installing nsd (DNS server)...
Generating DNSSEC signing keys...
Installing Postfix (SMTP server)...
Installing Dovecot (IMAP server)...
Creating new user database: /home/user-data/mail/users.sqlite
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin...
Installing Nginx (web server)...
Installing Roundcube (webmail)...
Installing Nextcloud (contacts/calendar)...

Upgrading to Nextcloud version 20.0.1

Cannot write into "config" directory!
This can usually be fixed by giving the webserver write access to the config directory

Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
See https://docs.nextcloud.com/server/20/go.php?to=admin-config
Nextcloud is already latest version
photos 1.2.0 disabled
dashboard 7.0.0 disabled
activity 2.13.2 disabled
Installing Z-Push (Exchange/ActiveSync server)...
FAILED: wget -O /tmp/z-push.zip https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
-----------------------------------------
--2021-05-06 11:05:36--  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Resolving stash.z-hub.io (stash.z-hub.io)... 195.201.215.164, 2a01:4f8:c0:2b19::aaaa
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:07:48--  (try: 2)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:10:00--  (try: 3)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:12:14--  (try: 4)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:14:28--  (try: 5)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:16:44--  (try: 6)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:19:00--  (try: 7)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:21:21--  (try: 8)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:23:45--  (try: 9)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:26:03--  (try:10)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:28:24--  (try:11)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:30:43--  (try:12)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:33:02--  (try:13)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:35:21--  (try:14)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:37:57--  (try:15)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:40:16--  (try:16)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:42:44--  (try:17)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:45:03--  (try:18)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:47:22--  (try:19)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Retrying.

--2021-05-06 11:49:42--  (try:20)  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.6.2&format=zip
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: Connection timed out.
Giving up.

According to a Kopano forum post, the server is down and they have at least temporarily put the file here:

https://download.kopano.io/zhub/z-push%3A/final/Ubuntu_18.04/

However, I’m not sure which file is the correct one to download.


I am facing this issue, previously the installation is smooth. Anyone have an idea on this?

Same discussion here: Temporary solution

There is now a new release, .53a, of Mail-in-a-Box that includes fixing this issue.

The new release should fix both upgrades and new installation failures.

I assume 0.53a is only necessary if you’ve experienced this problem.

It is in the direct upgrade path, so will install if you upgrade MiaB to the most recent version. The changes will likely be maintained in upgrades for the foreseeable future, so future versions will include the upgrade.

For .53a, there is the only the one change.

I would agree with your assumption. :slight_smile:

The installation script is still failing on this. According to the manual, running

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

…still results in …

FAILED: wget -O /tmp/z-push.zip https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.4.4&format=zip
-----------------------------------------
--2021-06-16 01:05:19--  https://stash.z-hub.io/rest/api/latest/projects/ZP/repos/z-push/archive?at=refs%2Ftags%2F2.4.4&format=zip
Resolving stash.z-hub.io (stash.z-hub.io)... 2a01:4f8:c0:2b19::aaaa, 195.201.215.164
Connecting to stash.z-hub.io (stash.z-hub.io)|2a01:4f8:c0:2b19::aaaa|:443... failed: No route to host.
Connecting to stash.z-hub.io (stash.z-hub.io)|195.201.215.164|:443... failed: No route to host.
-----------------------------------------

Please advise. Thanks.

I wouldn’t say STILL failing, but it is failing AGAIN.

@JoshData

It should be pulling directly from the Z-Push GitHub, not z-hub.io.

I wonder if the problem is with setup.sh:

...
# Clone the Mail-in-a-Box repository if it doesn't exist.
if [ ! -d $HOME/mailinabox ]; then
        if [ ! -f /usr/bin/git ]; then
                echo Installing git . . .
                apt-get -q -q update
                DEBIAN_FRONTEND=noninteractive apt-get -q -q install -y git < /dev/null
                echo
        fi

        echo Downloading Mail-in-a-Box $TAG. . .
        git clone \
                -b $TAG --depth 1 \
                https://github.com/mail-in-a-box/mailinabox \
                $HOME/mailinabox \
                < /dev/null 2> /dev/null

        echo
fi

# Change directory to it.
cd $HOME/mailinabox

# Update it.
if [ "$TAG" != $(git describe) ]; then
        echo Updating Mail-in-a-Box to $TAG . . .
        git fetch --depth 1 --force --prune origin tag $TAG
        if ! git checkout -q $TAG; then
                echo "Update failed. Did you modify something in $(pwd)?"
                exit 1
        fi
        echo
fi

# Start setup script.
setup/start.sh

The setup.sh script doesn’t seem well documented, because it isn’t in the mailinabox/mailinabox.email repo or the mailinabox/mailinabox repo, other than in a comment of mailinabox/mailinabox/setup/bootstrap.sh.

Something I’ve noticed that is different about .53a is that it is listed second in the Tags drop-down menu in GitHub.