From owner-freebsd-python@freebsd.org Mon Apr 20 14:43:01 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 460D62C5212 for ; Mon, 20 Apr 2020 14:43:01 +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 495TvT0HSjz4TxY for ; Mon, 20 Apr 2020 14:43:01 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 07FA32C520E; Mon, 20 Apr 2020 14:43:01 +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 07BB92C520D for ; Mon, 20 Apr 2020 14:43:01 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 495TvS1Mmkz4TxS for ; Mon, 20 Apr 2020 14:43:00 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-lj1-x22c.google.com with SMTP id u6so10250906ljl.6 for ; Mon, 20 Apr 2020 07:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kiVvrp8k9D6OyFynrTVl42UZmis2QqYG/L1L4+BbH2w=; b=VtP9mhdMZcSGKPp9fQiGZgqv+7By6e49uxU7XLR0eVZBG81eEEEjHYrCldGCJUiObC B63DsEaC8LkGOYs498oT+cfNi5tTg9jKC/HyeeFf9HKPnY/8e8uuHH2RUuPnY29DAzUJ HX1ZQG4USmAoqdHHTkhlGlmvGggAoOBAkVvXxUamwjh0w2HPhBI+W9it6C2mly5RXyF8 f/wadVX8NOLrUrgOKuwisBAbg/t6TUmolgJwoZKFZrzgoLx0tiK47PeEAtXCgCUgyAQM 1DzqSw4xNeEnIY3GJt5iv5S4Ti1O3F1hQsdx1mFGlWULUb6zUnQzvYFpMTFa8csVpnJM PdkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kiVvrp8k9D6OyFynrTVl42UZmis2QqYG/L1L4+BbH2w=; b=rAzj1tALxBo3Vv/oCg64SFrN3Ro7Ci3qbfwPeRQ1K7qX85bvbtZhQQQuAK5ae5hGcm bpyL4zv1NVWsZOZanDPNxqq6cYPl+uOHonkwBqaNqjLe1gJKgfNhAoqK9jMKLSH1VW2T 58uqKSscLQk0VH18mKIJIE8Ubj+eORFnuGDjgLUnSMekB62TvPoxW19wzAhOi9NYezDe p/Saaz1QbTF/2tMcqFWKGhGEaGwnQx2FZhLyWdxBpUAnfI3YL3wi23FNksPaQlvxl4SC QDQWzqsbT1ztG4bltxfXrWfuHGVfY+wBY6JvEV2+x34Dj8O4H2/mO7puGLHMpGZNrhd4 6CxQ== X-Gm-Message-State: AGi0PuaQ2dbJ8QeVP6v7ueIucNR6EO1rPznBx3TQXsD/7zEJfLVd0XP7 rAoU6es0bh+Dkea4t5HICGeJPTgHxcvFv9Cav3GOm4dQUvf6kQ== X-Google-Smtp-Source: APiQypLScg/5pcxYg/8GUaAeRb0xf0nbleqjVa/NhgRQxQ03aQ2nD/4LYjyE6yt4J45tvPn+SYnLnOa6p6wCLWaqEds= X-Received: by 2002:a2e:9616:: with SMTP id v22mr928491ljh.62.1587393777799; Mon, 20 Apr 2020 07:42:57 -0700 (PDT) MIME-Version: 1.0 From: paul beard Date: Mon, 20 Apr 2020 07:42:46 -0700 Message-ID: Subject: certbot/plugin fails after update To: python@freebsd.org X-Rspamd-Queue-Id: 495TvS1Mmkz4TxS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VtP9mhdM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=paulbeard@gmail.com X-Spamd-Result: default: False [-1.99 / 15.00]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.33), ipnet: 2a00:1450::/32(-2.34), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(0.00)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[python@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; URIBL_PBL(0.01)[paulbeard.org]; RCVD_IN_DNSWL_NONE(0.00)[c.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" 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 14:43:01 -0000 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.") Attempting to renew cert (cloud.paulbeard.org) from /usr/local/etc/letsencrypt/renewal/cloud.paulbeard.org.conf produced an unexpected error: 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."). Skipping. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /usr/local/etc/letsencrypt/renewal/paulbeard.org.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert not yet due for renewal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /usr/local/etc/letsencrypt/renewal/www.paulbeard.org.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cert is due for renewal, auto-renewing... 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.") Attempting to renew cert (www.paulbeard.org) from /usr/local/etc/letsencrypt/renewal/www.paulbeard.org.conf produced an unexpected error: 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."). Skipping. All renewal attempts failed. The following certs could not be renewed: /usr/local/etc/letsencrypt/live/cloud.paulbeard.org/fullchain.pem (failure) /usr/local/etc/letsencrypt/live/www.paulbeard.org/fullchain.pem (failure) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The following certs are not due for renewal yet: /usr/local/etc/letsencrypt/live/paulbeard.org/fullchain.pem expires on 2020-06-24 (skipped) All renewal attempts failed. The following certs could not be renewed: /usr/local/etc/letsencrypt/live/cloud.paulbeard.org/fullchain.pem (failure) /usr/local/etc/letsencrypt/live/www.paulbeard.org/fullchain.pem (failure) -- Paul Beard / www.paulbeard.org/