My domain is: thermostat.gratefulfrog.org
I ran this command: sudo certbot renew --dry-run
It produced this output:
$ sudo certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/thermostat.gratefulfrog.org.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Simulating renewal of an existing certificate for thermostat.gratefulfrog.org
Failed to renew certificate thermostat.gratefulfrog.org with error: Error adding TXT record: Expecting value: line 1 column 1 (char 0)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/thermostat.gratefulfrog.org/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): nginx version: nginx/1.18.0
The operating system my web server runs on is (include version): Debian GNU/Linux 11 (bullseye) on raspberry pi 3Bplus
My hosting provider, if applicable, is: OVH
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): certbot 2.7.2
I am really a noobie to all this, and am at a loss as to how to proceed. I did see this issue, but it seems to indicate that it is fixed in certbot 2.72 ? https://github.com/certbot/certbot/issues/9799
In the meantime, after lots and lots of googling, I found that I needed to update the snaps, in particular the snap that has the certbot ovh dns tools which was one version behind certbot.
$ snap list
Name Version Rev Tracking Publisher Notes
certbot 2.7.2 3422 latest/stable certbot-eff✓ classic
certbot-dns-ovh 2.7.2 3008 latest/stable certbot-eff✓
Now my cron job will work also, I hope.
Thanks for all the support - this is a great community.