It produced this output: The requested apache plugin does not appear to be installed. Skipping.
My web server is (include version): nginx/1.10.3 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 16.04.3 LTS
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
Iβve successfully transferred the existing certificate files from the old server (preserving symlinks) and the certificate seems to be working fine, but Iβm not sure how to renew it. Should I just remove it and start over with a new cert? Install the apache plugin and use that to renew it, even though the site is no longer running on apache?
./certbot-auto gives me a βcommand not foundβ error, but the same command with just certbot gives me βCongratulations, all renewals succeededβ
Weirdly though, if I run it without the --dry-run flag, it fails with this error message:
Attempting to renew cert (www.maineconservation.org) from /etc/letsencrypt/renewal/www.maineconservation.org.conf produced an unexpected error: Account at /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/b5dfae096cead9b94bd570f5c4a23af2 does not exist. Skipping.
Almost. There was already another certificate (for a different domain, since removed) on the new server, so, following instructions from another thread on this forum, I only moved the files and symlinks in archive/, live/, and renewal/
Update: I had a spare full backup of the old serverβs letsencrypt directory, so I copied over the accounts/, csr/, and keys/ folders Iβd left behind before, ran certbot renew --nginx, and voila, everything works perfectly.
The one of those that would have made a difference here was accounts (maybe this is a sign that this error message could be made more helpful, because the error message was clearly pointing in an unhelpful direction).
I think this is a common pattern in software development which maybe even has a name, where the error message is describing a much higher-level symptom of a failure that actually happened for a much more specific problem. It's basically
component X needed item Y, and so it failed, but the reported failure was "component X failed" rather than "item Y missing"