I ran across the issue stated in this closed post here: "'Authenticator' object has no attribute 'restart'" Error while trying to renew certificate
Unfortunately I can't reply to the closed thread so posting a new thread...
I only seemed to have this issue with one of my certbot domains. The difference for me was this line in the renewal file:
installer = standalone
Removing this single line from the renewal file (/etc/letsencrypt/renewal/mydomain.com) seems to have solved my issue.
My other renewal files did not contain that line and they have been renewing just fine. I am also using pre_hook
and post_hook
scripts to stop and restart services.