Date: Mon, 20 Apr 2020 13:55:26 -0300 From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: paul beard <paulbeard@gmail.com> Cc: python@freebsd.org Subject: Re: certbot/plugin fails after update Message-ID: <20200420165526.5tng4nmt6y4b4lnd@t480.local> In-Reply-To: <CAMtcK2p6CQ1=e8fhrEVkbF9qme7S-X=JyzqDFqryTWGWMsdHsA@mail.gmail.com> References: <CAMtcK2p6CQ1=e8fhrEVkbF9qme7S-X=JyzqDFqryTWGWMsdHsA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQKTBAABCgB9FiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAl6d0/pfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDM5
MThGNDUxM0IyM0NDMkNCRTdBNzIyNDlBOTM3QjJERjMyRTg4RDcACgkQmpN7LfMu
iNe6FQ/+P5dmDq14Hfl6jn42/I//h7BQIZVHhmDEwPA7qXguef2qUySw1BX20Fsz
DM+xY+5WjpvScRS/41pMvtRD8b/BcA+7hIuw3TErasfpXjPp7PGZJyhC8sk+/1Aj
fF9rUZrmzP8KkxpuSpqlR6RYiSl1yCFLH48G6drCVn3W2eJ/5rJUhkQa3nLSXeqM
IghMjyjlrs0FCsAgwuxb2x2+0RYwwT4XZ41/pXVuiJAdDL/ixAT93GbLcDPYnAJE
G4M7C3vxJuEXBzRm7Ml3HtIH/2LjGgX2tDzSlUy+WHK00cggqM3DPCpOHNH4rNHd
hlrj7sCx4NTI84aH/w+h7CYHpO477ZTsnxsslfMVPHBtN/ppQ4VvD14zlPSCs1J3
PypUEQubsfmldZFVKMe5A1Vm+5YuaTSyHSy9IatCtm5nrjxDFmwKRPBTHIYYjPb+
FbUj6Z5eVxGFSKQrFNUYmRkR/fwb12uH4dxoezbUrWfElwdQjS+Myn0Ah3d0B6/7
3N4nP9JgpVQAiN9X2s9HSkyQuUwthct4nkrC9qZCJWtItr9WBvWauqwA87ckn1Gx
FgXCvt3eNqSq3HvCVbVgDx0Et5tiNbRSgTMM1TiWuSNpk5bcSrpNgsuRk/ywV2f7
mv1WtGHVTymlxtAI7wmv6CSyRczbF71wej069oINC7U58afn4ig=
=PKXn
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200420165526.5tng4nmt6y4b4lnd>
