From owner-freebsd-python@freebsd.org Mon Apr 20 17:06:53 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AA192C7F40 for ; Mon, 20 Apr 2020 17:06:53 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 495Y5S3ySmz3C4N for ; Mon, 20 Apr 2020 17:06:52 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 85F492C7F3F; Mon, 20 Apr 2020 17:06:52 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85B912C7F3E for ; Mon, 20 Apr 2020 17:06:52 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 495Y5S3113z3C4M; Mon, 20 Apr 2020 17:06:52 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-lf1-x134.google.com with SMTP id w145so8611694lff.3; Mon, 20 Apr 2020 10:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hbs1Rscl0F+/rsGGQlO9qADyeq/2egQ2fJLbB7Dq4s0=; b=X1T/+Ppqbf9EQ/4GnqMNuDLPbd4yVzllWfiQJkhurntdJAQsIz2NfabxKcOOUll6pX sW2gYbhmBixeajhyszyBim5fH2xRMY59XdTLPiCG4AeE1dGSOieF749vnda4FApGLPev rMPJbUF2GCCPTspcP/Y28+HUdOEO+iMKHUrDlkFSswOvjMNERU4IW+5MAnQhfemwbzmz pOZPZoTvTffvM3yBv/TUzDAlHgB404Bd4B1q8l8zntJk2nmrKwQotzOt9yZE/JHwcl42 Upb6DhJeLUL1BpHs2GqspwKJsCnrnGwhB5Jp5p4iGZ+NpRPO8BVnxTPqu0ru+gA6adEy U7Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hbs1Rscl0F+/rsGGQlO9qADyeq/2egQ2fJLbB7Dq4s0=; b=XegycmzEFZp2odfdBK59XPQVI+dM8h5GjL9uYh8vudh2b4oth+EKFx6fC284JV/S8D TM8KJAkXYtAjiu/c0roWyNHFDOF0AHt3oUJErYeumPKgcvbU9hVZIUlAPiDCIQ/YXQBa eCiD1XrcT6yO6YSVLF/5I2wR1p/iGIymJBvCCBOd3lboRBeonGonNO26fbl42E9XGaN0 8wSVQ/ZrTIbjiqZhwVEKibCRjhmKKLLjl5QsX4b10HlWRKAiOAabvXIXZ1ACIulRcI4C JbLKCOJLQA99TE8PPmLtu5ke6VjgQhiXaiLxhjJHrHPkBpjYDZT2qfQLjMAoYREO/HJ1 eXNg== X-Gm-Message-State: AGi0Pub+7vwy4N3/rMik52dssy9po1BEd2MmXjvi8rNHB6D/O71oW6PC WdkxGuJJUwtrpezLofzKYiP1gD1UkamZCyf787i9P0jqgOY= X-Google-Smtp-Source: APiQypKuISQfFtiuxFBIppNksFmZBpcwr2ogwm75MWGO/Dzkaxl40hVfpn0utHgxBR59zfTsozNmQYHtZJkZxc3Y7sI= X-Received: by 2002:a05:6512:3e2:: with SMTP id n2mr11283452lfq.129.1587402409735; Mon, 20 Apr 2020 10:06:49 -0700 (PDT) MIME-Version: 1.0 References: <20200420165526.5tng4nmt6y4b4lnd@t480.local> In-Reply-To: <20200420165526.5tng4nmt6y4b4lnd@t480.local> From: paul beard Date: Mon, 20 Apr 2020 10:06:38 -0700 Message-ID: Subject: Re: certbot/plugin fails after update To: "Danilo G. Baio" Cc: python@freebsd.org X-Rspamd-Queue-Id: 495Y5S3113z3C4M X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 17:06:53 -0000 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 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/