Error Updating to 0.28

Hi,

after upgrading to 0.28 i got this 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
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: (A)gree/(C)ancel: An unexpected error occurred:
Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    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.

Logfile:

2018-08-09 11:33:37,486:DEBUG:certbot.main:certbot version: 0.26.1
2018-08-09 11:33:37,487:DEBUG:certbot.main:Arguments: ['--register-unsafely-without-email', '--config-dir', '/home/user-data/ssl/lets_encrypt']
2018-08-09 11:33:37,487:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-08-09 11:33:37,494:DEBUG:certbot.log:Root logging level set at 20
2018-08-09 11:33:37,495:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-08-09 11:33:37,495:INFO:certbot.client:Registering without email!
2018-08-09 11:33:37,558:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2018-08-09 11:33:37,560:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
2018-08-09 11:33:37,763:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658
2018-08-09 11:33:37,764:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 658
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Thu, 09 Aug 2018 09:33:37 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Thu, 09 Aug 2018 09:33:37 GMT
Connection: keep-alive

{
  "dEBG1Kb7XeQ": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
  "keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
  "meta": {
    "caaIdentities": [
      "letsencrypt.org"
    ],
    "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
    "website": "https://letsencrypt.org"
  },
  "newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
  "newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
  "newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
  "revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert"
}
2018-08-09 11:33:37,765:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    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
2018-08-09 11:33:37,766:ERROR:certbot.log:An unexpected error occurred:

Any ideas?

I am not even in a position to confirm the general terms and conditions.

Solution: After Upgrade to 0.28: Email -> Error Provisioning TLS Certificate

I had the same problem as you: letsencrypt certs could not installed and when I went to the web interface to provision letsencrypt cert, it came up empty. The solution is: 1. goto your terminal (reboot your server if you can) 2. login with root privilege 3. type mailinabox (it will show a lot of text) 4. Look for letsencrypt question: Agree or Cancel (key in A and enter). The certbot would be installed correctly. With that you return to the web interface and provision the certs.