The cert is actually for 4 domains (and I have two others as well -- all get the same errors). My situation is that our web server hardware failed, so I got new hardware, installed a new, clean Ubuntu 22.04.01 (the dead system was running 18.04.01) and transferred as much as possible from the old to the new. Everything (including my certificates) was working. Unfortunately, I cannot say what version of certbot was running on the dead machine.
Running sudo certbot renew --dry-run
does not produce any errors or diagnostics and in fact, reports success.
I don't know if this is useful, but:
me@www:~$ sudo ls -l /etc/letsencrypt/accounts
total 8
drwx------ 3 root root 4096 Oct 18 08:06 acme-staging-v02.api.letsencrypt.org
drwx------ 3 root root 4096 Sep 13 10:07 acme-v02.api.letsencrypt.org
So I can see why it doesn't find any acme-v01 directories, since none exist. I do not understand why the dry run succeeds -- it would seem to me that the entire purpose of the dry run is to detect and help correct issues like this before trying for real.
Can anyone help me? Our web sites are inaccessible until I get this fixed.
My domain is: bugs.electronicvisions.com
I ran this command: sudo certbot renew -v
It produced this output:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/bugs.electronicvisions.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer None
Failed to renew certificate bugs.electronicvisions.com with error: Account at /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/eb4c25cfca709f93859e44c91e35ea28 does not exist
My web server is (include version): Apache/2.4.58 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 22.04.1
My hosting provider, if applicable, is: self
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): 2.9.0