V0.28 Update Log Error

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

(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
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
File “/usr/lib/python3/dist-packages/acme/client.py”, line 777, in new_account_and_tos
File “/usr/lib/python3/dist-packages/acme/client.py”, line 768, in _assess_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
File “/usr/lib/python3/dist-packages/certbot/display/util.py”, line 90, in input_with_timeout
raise EOFError
Please see the logfiles in /var/log/letsencrypt for more details.


I’m seeing the same thing. I suspect that it’s due to the interactive question being asked in a non-interactive context, and thus timing out immediately. I guess it needs a question panel (like it uses to ask the host name) to get license acceptance up-front.

Had the same error. It helped to re-run sudo mailinabox and confirm the terms

Aha! Yes, that works - the problem is that when you encounter it via the documented upgrade approach, it doesn’t give you a chance to answer the question.

See https://github.com/mail-in-a-box/mailinabox/issues/1409

Also same as Lets Encrypt API change. Please continue discussion there. Thanks.