Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: patrickconnolly.net
I ran this command:
'certbot renew --dns-route53'
the AWS_CONFIG_FILE env var is set and contains the correct aws credentials for the route53 dns plugin. This command has worked before with the same setup - I'm wondering if there has been an upgrade to certbot which uses Python3 instead of Python 2 and this breaks some code - see stack trace below
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Failed to renew certificate patrickconnolly.net with error: '<' not supported between instances of 'NoneType' and 'NoneType'
All renewals failed. The following certificates could not be renewed:
My web server is (include version):
nginx/1.18.0 (Ubuntu) (not applicable in this case I think)
The operating system my web server runs on is (include version):
Ubuntu 20.04.2 LTS
My hosting provider, if applicable, is:
AWS (Not applicable in this case I believe)
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): using snaps for certbot and certbot-dns-route53
certbot version: 1.13.0
certbot-dns-route53 version: 1.13.0
The stack trace given in the logs is:
2021-03-09 12:42:35,684:ERROR:certbot._internal.renewal:Failed to renew certificate patrickconnolly.net with error: '<' not supported between instances of 'NoneType' and 'NoneType'
2021-03-09 12:42:35,684:DEBUG:certbot._internal.renewal:Traceback was:
Traceback (most recent call last):
File "/snap/certbot/1042/lib/python3.8/site-packages/certbot/_internal/renewal.py", line 463, in handle_renewal_request
File "/snap/certbot/1042/lib/python3.8/site-packages/certbot/_internal/storage.py", line 813, in ensure_deployed
File "/snap/certbot/1042/lib/python3.8/site-packages/certbot/_internal/storage.py", line 832, in has_pending_deployment
smallest_current = min(self.current_version(x) for x in ALL_FOUR)
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'