ubuntu@box:~$ curl -s https://mailinabox.email/setup.sh | sudo bash
Updating Mail-in-a-Box to v73 . . .
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (1/1), 507 bytes | 507.00 KiB/s, done.
error: Your local changes to the following files would be overwritten by checkout:
management/dns_update.py
Please commit your changes or stash them before you switch branches.
Aborting
Update failed. Did you modify something in /root/mailinabox?
When I try sudo mailinabox I get the expected grey on blue messages and then this:
Primary Hostname: box.xxxxxxx.com (disguised)
Public IP Address: 5x.6x.1xx.2xx (disguised)
Private IP Address: 17x.2x.x.1xx (disguised)
Mail-in-a-Box Version: v72
Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
Installing nsd (DNS server)…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing Nextcloud (contacts/calendar)…
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
Installing Mail-in-a-Box system management daemon…
Installing Mail-in-a-Box system management daemon…
Installing Munin (system monitoring)…
updated DNS: OpenDKIM configuration
Your Mail-in-a-Box is running.
Please log in to the control panel for further instructions at:
If you have a DNS problem put the box’s IP address in the URL
(https://5x.6x.1xx.2xx/admin) but then check the TLS fingerprint:
xx:xx:xx:xx:xx:xx:xx:xx
ubuntu@box:~$
I am a bit lost on this… after a reboot, status page still says new version is available
This message says that something in your installation folder has changed. If you are not aware of any changes, you can just move the folder away. mv mailinabox mailinabox_backup and rerun the upgrade / installation command (the one starting with curl).
If all is well after this you can remove the mailimabox_backup folder.
If you’re curious about what’s changed you can do
Thank you for that. I did the mv and re-ran the curl/bash command but still it errors with:
ubuntu@box:~$ curl -s https://mailinabox.email/setup.sh | sudo bash
Updating Mail-in-a-Box to v73 . . .
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (1/1), 507 bytes | 507.00 KiB/s, done.
error: Your local changes to the following files would be overwritten by checkout:
management/dns_update.py
Please commit your changes or stash them before you switch branches.
Aborting
Update failed. Did you modify something in /root/mailinabox?
Clearly, I had fiddled with dns_update.py to reduce TTL, however i restored the backup file i took, but still update script fails with error above.
Am I facing a backup and restore action to clean build with v73?