Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2020 10:06:38 -0700
From:      paul beard <paulbeard@gmail.com>
To:        "Danilo G. Baio" <dbaio@freebsd.org>
Cc:        python@freebsd.org
Subject:   Re: certbot/plugin fails after update
Message-ID:  <CAMtcK2rQBVLMnj-GxZMfayYciw-hRHFYPM0zN%2B79Wbx4YvyuKg@mail.gmail.com>
In-Reply-To: <20200420165526.5tng4nmt6y4b4lnd@t480.local>
References:  <CAMtcK2p6CQ1=e8fhrEVkbF9qme7S-X=JyzqDFqryTWGWMsdHsA@mail.gmail.com> <20200420165526.5tng4nmt6y4b4lnd@t480.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, I do. I use the packages and source from the SVN repo. I also use
/usr/local=E2=80=A6 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@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 plug=
in
> > 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)
>


--=20
Paul Beard / www.paulbeard.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2rQBVLMnj-GxZMfayYciw-hRHFYPM0zN%2B79Wbx4YvyuKg>