Error upgrading to v0.28

Upgrading on my DO box choked on Let’s Encrypt. Should I be concerned?

Primary Hostname: --redacted–
Public IP Address: --redacted–
Mail-in-a-Box Version: v0.28

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…
expired old bayes database entries in 5 seconds
170422 entries kept, 0 deleted
token frequency: 1-occurrence tokens: 76.31%
token frequency: less than 8 occurrences: 12.72%
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…
Uninstalling acme-0.19.0:
Successfully uninstalled acme-0.19.0
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Installing Munin (system monitoring)…
updated DNS: OpenDKIM configuration

Mail-in-a-Box uses Let’s Encrypt to provision free certificates
to enable HTTPS connections to your box. You’ll now be asked to agree
to Let’s Encrypt’s terms of service.

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Registering without email!

Please read the Terms of Service at You must
agree in order to register with the ACME server at

(A)gree/©ancel: (A)gree/©ancel: An unexpected error occurred:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.26.1’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/”, line 1364, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/”, line 721, in register
File “/usr/lib/python3/dist-packages/certbot/”, line 520, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File “/usr/lib/python3/dist-packages/certbot/”, line 182, in register
regr = perform_registration(acme, config, tos_cb)
File “/usr/lib/python3/dist-packages/certbot/”, line 207, in perform_registration
File “/usr/lib/python3/dist-packages/acme/”, line 777, in new_account_and_tos
File “/usr/lib/python3/dist-packages/acme/”, line 768, in _assess_tos
File “/usr/lib/python3/dist-packages/certbot/”, line 498, in _tos_cb
cli_flag="–agree-tos", force_interactive=True)
File “/usr/lib/python3/dist-packages/certbot/display/”, line 223, in yesno
File “/usr/lib/python3/dist-packages/certbot/display/”, line 90, in input_with_timeout
raise EOFError
Please see the logfiles in /var/log/letsencrypt for more details.

Your Mail-in-a-Box is running.

Solved. Please disregard.

how did you resolve this? Sharing is caring

Instead of running the setup/upgrade cURL command as instructed in the Maintenance Guide, simply run the sudo mailinabox setup command. That way you will be prompted to accept the Let’s Encrypt terms instead of throwing errors.