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
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory


(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/main.py”, line 1364, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 721, in register
_determine_account(config)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 520, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 182, in register
regr = perform_registration(acme, config, tos_cb)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 207, in perform_registration
tos_cb)
File “/usr/lib/python3/dist-packages/acme/client.py”, line 777, in new_account_and_tos
_assess_tos(self.client.directory.meta.terms_of_service)
File “/usr/lib/python3/dist-packages/acme/client.py”, line 768, in _assess_tos
check_tos_cb(tos)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 498, in _tos_cb
cli_flag="–agree-tos", force_interactive=True)
File “/usr/lib/python3/dist-packages/certbot/display/util.py”, line 223, in yesno
no=_parens_around_char(no_label)))
File “/usr/lib/python3/dist-packages/certbot/display/util.py”, line 90, in input_with_timeout
raise EOFError
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.

2 Likes