Z-Push patch updated to 2.7.0

For those that have been using my patch to update your v60/61 MiaB, this now points back to the main github repo and the latest 2.7.0 release.

To update please run:
curl -s https://mat.id.au/zpushpatch.sh | sudo bash

Cheers,
Mat

1 Like

With the release of v62, you may receive the following error message:

From https://github.com/mail-in-a-box/mailinabox
 * [new tag]         v62        -> v62
error: Your local changes to the following files would be overwritten by checkout:
        setup/zpush.sh
Please commit your changes or stash them before you switch branches.
Aborting
Update failed. Did you modify something in /home/ubuntu/mailinabox?

By creating the below as a script and running with cat ./script.sh | sudo -E bash or running each command will fix this up:

#!/bin/bash
cd $HOME/mailinabox
git fetch --depth 1 --force --prune origin tag v62
git checkout setup/zpush.sh
git checkout -q v62

and then run the Mail-in-a-Box setup again

1 Like

Just to clarify, is this patch still needed for mailinabox v62, since the release notes indicate the following:

  • Z-Push to 2.7.0, which has compatibility for Ubuntu 22.04, so it works again.

Thanks,
cinergi

The downloaded zpushpatch.sh is no longer needed.

1 Like