This seems to be a recurring issue each time certbox and its nginx plugin are updated. the workaround/solution is to reinstall them manually.
for i in py-certbot py-certbot-nginx; do cd /usr/ports/security/$i; make > deinstall reinstall clean; done and then certbot runs fine, either by hand or on the cron. Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /usr/local/etc/letsencrypt/renewal/cloud.paulbeard.org.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert is due for renewal, auto-renewing... Non-interactive renewal: random delay of 364.04025994456254 seconds Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration. The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.") Attempting to renew cert (cloud.paulbeard.org) from /usr/local/etc/letsencrypt/renewal/cloud.paulbeard.org.conf produced an unexpected error: The nginx plugin is not working; there may be problems with your existing configuration. The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly."). Skipping. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /usr/local/etc/letsencrypt/renewal/paulbeard.org.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert not yet due for renewal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /usr/local/etc/letsencrypt/renewal/www.paulbeard.org.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert is due for renewal, auto-renewing... Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration. The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.") Attempting to renew cert (www.paulbeard.org) from /usr/local/etc/letsencrypt/renewal/www.paulbeard.org.conf produced an unexpected error: The nginx plugin is not working; there may be problems with your existing configuration. The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly."). Skipping. All renewal attempts failed. The following certs could not be renewed: /usr/local/etc/letsencrypt/live/cloud.paulbeard.org/fullchain.pem (failure) /usr/local/etc/letsencrypt/live/www.paulbeard.org/fullchain.pem (failure) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The following certs are not due for renewal yet: /usr/local/etc/letsencrypt/live/paulbeard.org/fullchain.pem expires on 2020-06-24 (skipped) All renewal attempts failed. The following certs could not be renewed: /usr/local/etc/letsencrypt/live/cloud.paulbeard.org/fullchain.pem (failure) /usr/local/etc/letsencrypt/live/www.paulbeard.org/fullchain.pem (failure) -- Paul Beard / www.paulbeard.org/ _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"