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…
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.
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.
...
# 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.