On Mon, Apr 20, 2020 at 07:42:46AM -0700, paul beard wrote: > 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.")
Hi Paul. I'm sorry to hear that. Do you use another LOCALBASE/PREFIX, instead of /usr/local ? This is the customizations I can see that maybe can explain that. post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/certbot/compat/misc.py \ ${WRKSRC}/tests/cli_test.py @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot_nginx/_internal/configurator.py And do you use the official FreeBSD packages ? -- Danilo G. Baio (dbaio)
signature.asc
Description: PGP signature