certbot/plugin fails after update

paul beard paulbeard at gmail.com
Mon Apr 20 17:06:53 UTC 2020


Yes, I do. I use the packages and source from the SVN repo. I also use
/usr/local… not smart enough to change any of that without breakage so I
leave it all alone.

On Mon, Apr 20, 2020 at 9:55 AM Danilo G. Baio <dbaio at freebsd.org> wrote:

> 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)
>


-- 
Paul Beard / www.paulbeard.org/


More information about the freebsd-python mailing list