背景介绍
使用 NginxProxyManager 搭建 Web服务器,添加SSL证书时出错,报错界面如下:
异常提示信息如下提示:
CommandError: The 'certbot_dns_dnspod.dns_dnspod' plugin errored while loading: No module named 'zope'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-pid4c1ie/log or re-run Certbot with -v for more details.
at /app/lib/utils.js:16:13
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
问题调研
该问题在 NginxProxyManager 的github Issue 中有说明,连接为:
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2440
其中,该回复直击要害:
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2440#issuecomment-1380036390
我们就根据提示,到容器里安装一下缺失的依赖即可。
解决步骤
一、进入容器:
sudo docker exec -it nginxProxyManager /bin/bash
进入后显示如下提示信息:
ubuntu@VM-12-12-ubuntu:/data/dockerRoot/apps/nginx-proxy-manager$ sudo docker exec -it nginxProxyManager /bin/bash
_ _ _ ____ __ __
| \ | | __ _(_)_ __ __ _| _ \ _ __ _____ ___ _| \/ | __ _ _ __ __ _ __ _ ___ _ __
| \| |/ _` | | '_ \\ \/ / |_) | '__/ _ \ \/ / | | | |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|
| |\ | (_| | | | | |> <| __/| | | (_) > <| |_| | | | | (_| | | | | (_| | (_| | __/ |
|_| \_|\__, |_|_| |_/_/\_\_| |_| \___/_/\_\\__, |_| |_|\__,_|_| |_|\__,_|\__, |\___|_|
|___/ |___/ |___/
The 'certbot_dns_dnspod.dns_dnspod' plugin errored while loading: No module named 'zope'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-fimx1ahi/log or re-run Certbot with -v for more details.
Version 2.11.2 (12d77e3) 2024-05-10 14:36:51 UTC, OpenResty 1.21.4.3, debian 12 (bookworm), Certbot
Base: debian:bookworm-slim, linux/amd64
Certbot: nginxproxymanager/nginx-full:latest, linux/amd64
Node: nginxproxymanager/nginx-full:certbot, linux/amd64
[root@docker-1f03724f8d16:/app]
二、安装 zope
pip install zope
安装后由于多次没下载到自动重试了数次,见如下安装日志:
[root@docker-1f03724f8d16:/app]# pip install zope
Collecting zope
Downloading Zope-5.10-py3-none-any.whl.metadata (32 kB)
Collecting AccessControl>=5.2 (from zope)
Downloading AccessControl-6.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.8 kB)
Collecting Acquisition (from zope)
Downloading Acquisition-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (24 kB)
Collecting BTrees (from zope)
Downloading BTrees-5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Collecting Chameleon>=3.7.0 (from zope)
Downloading Chameleon-4.5.4-py3-none-any.whl.metadata (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.3/51.3 kB 7.4 kB/s eta 0:00:00
Collecting DateTime (from zope)
Downloading DateTime-5.5-py3-none-any.whl.metadata (33 kB)
Collecting DocumentTemplate>=4.0 (from zope)
Downloading DocumentTemplate-4.6-py3-none-any.whl.metadata (7.6 kB)
Collecting ExtensionClass (from zope)
Downloading ExtensionClass-5.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.2 kB)
Collecting MultiMapping (from zope)
Downloading MultiMapping-5.0-py3-none-any.whl.metadata (1.8 kB)
Collecting PasteDeploy (from zope)
Downloading PasteDeploy-3.1.0-py3-none-any.whl.metadata (2.7 kB)
Collecting Persistence (from zope)
Downloading Persistence-4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting RestrictedPython (from zope)
Downloading RestrictedPython-7.1-py3-none-any.whl.metadata (12 kB)
Collecting ZConfig>=2.9.2 (from zope)
Downloading ZConfig-4.1-py3-none-any.whl.metadata (17 kB)
Collecting ZODB (from zope)
Downloading ZODB-6.0-py3-none-any.whl.metadata (24 kB)
Requirement already satisfied: setuptools>=36.2 in /opt/certbot/lib/python3.11/site-packages (from zope) (66.1.1)
Collecting transaction>=2.4 (from zope)
Downloading transaction-4.0-py3-none-any.whl.metadata (14 kB)
Collecting waitress (from zope)
Downloading waitress-3.0.0-py3-none-any.whl.metadata (4.2 kB)
Collecting zExceptions>=3.4 (from zope)
Downloading zExceptions-5.0-py3-none-any.whl.metadata (3.4 kB)
Collecting z3c.pt (from zope)
Downloading z3c.pt-4.3-py3-none-any.whl.metadata (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.6/47.6 kB 42.6 kB/s eta 0:00:00
Collecting zope.browser (from zope)
Downloading zope.browser-3.0-py3-none-any.whl.metadata (4.4 kB)
Collecting zope.browsermenu (from zope)
Downloading zope.browsermenu-5.0-py3-none-any.whl.metadata (4.1 kB)
Collecting zope.browserpage>=4.4.0.dev0 (from zope)
Downloading zope.browserpage-5.0-py3-none-any.whl.metadata (5.4 kB)
Collecting zope.browserresource>=3.11 (from zope)
Downloading zope.browserresource-5.1-py3-none-any.whl.metadata (9.3 kB)
Collecting zope.component (from zope)
Downloading zope.component-6.0-py3-none-any.whl.metadata (18 kB)
Collecting zope.configuration (from zope)
Downloading zope.configuration-5.0.1-py3-none-any.whl.metadata (11 kB)
Collecting zope.container (from zope)
Downloading zope.container-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)
Collecting zope.contentprovider (from zope)
Downloading zope.contentprovider-5.0-py3-none-any.whl.metadata (5.9 kB)
Collecting zope.contenttype (from zope)
Downloading zope.contenttype-5.1-py3-none-any.whl.metadata (5.3 kB)
Collecting zope.datetime (from zope)
Downloading zope.datetime-5.0.0-py3-none-any.whl.metadata (4.3 kB)
Collecting zope.deferredimport (from zope)
Downloading zope.deferredimport-5.0-py3-none-any.whl.metadata (5.1 kB)
Collecting zope.event (from zope)
Downloading zope.event-5.0-py3-none-any.whl.metadata (4.4 kB)
Collecting zope.exceptions (from zope)
Downloading zope.exceptions-5.0.1-py3-none-any.whl.metadata (8.4 kB)
Collecting zope.globalrequest (from zope)
Downloading zope.globalrequest-2.0-py3-none-any.whl.metadata (3.3 kB)
Collecting zope.i18n[zcml] (from zope)
Downloading zope.i18n-5.1-py3-none-any.whl.metadata (13 kB)
Collecting zope.i18nmessageid (from zope)
Downloading zope.i18nmessageid-6.1.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.7 kB)
Collecting zope.interface>=3.8 (from zope)
Downloading zope.interface-6.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.2/42.2 kB 25.4 kB/s eta 0:00:00
Collecting zope.lifecycleevent (from zope)
Downloading zope.lifecycleevent-5.0-py3-none-any.whl.metadata (6.0 kB)
Collecting zope.location (from zope)
Downloading zope.location-5.0-py3-none-any.whl.metadata (9.7 kB)
Collecting zope.pagetemplate>=4.0.2 (from zope)
Downloading zope.pagetemplate-5.1-py3-none-any.whl.metadata (9.6 kB)
Collecting zope.processlifetime (from zope)
Downloading zope.processlifetime-3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting zope.proxy (from zope)
Downloading zope.proxy-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting zope.ptresource (from zope)
Downloading zope.ptresource-5.0-py3-none-any.whl.metadata (4.4 kB)
Collecting zope.publisher (from zope)
Downloading zope.publisher-7.0-py3-none-any.whl.metadata (21 kB)
Collecting zope.schema (from zope)
Downloading zope.schema-7.0.1-py3-none-any.whl.metadata (24 kB)
Collecting zope.security (from zope)
Downloading zope.security-6.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (24 kB)
Collecting zope.sequencesort (from zope)
Downloading zope.sequencesort-5.0-py3-none-any.whl.metadata (3.9 kB)
Collecting zope.site (from zope)
Downloading zope.site-5.0-py3-none-any.whl.metadata (20 kB)
Collecting zope.size (from zope)
Downloading zope.size-5.0-py3-none-any.whl.metadata (4.6 kB)
Collecting zope.tal (from zope)
Downloading zope.tal-5.0.1-py3-none-any.whl.metadata (7.5 kB)
Collecting zope.tales>=5.0.2 (from zope)
Downloading zope.tales-6.0-py3-none-any.whl.metadata (6.6 kB)
Collecting zope.testbrowser (from zope)
Downloading zope.testbrowser-6.0-py3-none-any.whl.metadata (19 kB)
Collecting zope.testing (from zope)
Downloading zope.testing-5.0.1-py3-none-any.whl.metadata (19 kB)
Collecting zope.traversing (from zope)
Downloading zope.traversing-5.0-py3-none-any.whl.metadata (12 kB)
Collecting zope.viewlet (from zope)
Downloading zope.viewlet-5.0-py3-none-any.whl.metadata (5.9 kB)
Collecting multipart (from zope)
Downloading multipart-0.2.4-py3-none-any.whl.metadata (1.1 kB)
Collecting AuthEncoding (from AccessControl>=5.2->zope)
Downloading AuthEncoding-5.0-py3-none-any.whl.metadata (2.7 kB)
Collecting RestrictedPython (from zope)
Downloading RestrictedPython-7.2a1.dev0-py3-none-any.whl.metadata (12 kB)
Collecting roman (from DocumentTemplate>=4.0->zope)
Downloading roman-4.2-py3-none-any.whl.metadata (3.6 kB)
Collecting zope.structuredtext (from DocumentTemplate>=4.0->zope)
Downloading zope.structuredtext-5.0-py3-none-any.whl.metadata (4.3 kB)
Collecting persistent>=4.1.1 (from Persistence->zope)
Downloading persistent-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting zope.hookable>=4.2.0 (from zope.component->zope)
Downloading zope.hookable-6.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
Requirement already satisfied: pytz in /opt/certbot/lib/python3.11/site-packages (from DateTime->zope) (2024.1)
Collecting zc.lockfile (from ZODB->zope)
Downloading zc.lockfile-3.0.post1-py3-none-any.whl.metadata (6.2 kB)
Collecting zodbpickle>=1.0.1 (from ZODB->zope)
Downloading zodbpickle-3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (13 kB)
Collecting zope.cachedescriptors (from zope.container->zope)
Downloading zope.cachedescriptors-5.0-py3-none-any.whl.metadata (17 kB)
Collecting zope.dottedname (from zope.container->zope)
Downloading zope.dottedname-6.0-py3-none-any.whl.metadata (3.4 kB)
Collecting zope.filerepresentation (from zope.container->zope)
Downloading zope.filerepresentation-6.0-py3-none-any.whl.metadata (4.6 kB)
Collecting python-gettext (from zope.i18n[zcml]->zope)
Downloading python_gettext-5.0-py3-none-any.whl.metadata (4.6 kB)
Collecting zope.deprecation (from zope.i18n[zcml]->zope)
Downloading zope.deprecation-5.0-py3-none-any.whl.metadata (5.1 kB)
Collecting zope.annotation (from zope.site->zope)
Downloading zope.annotation-5.0-py3-none-any.whl.metadata (6.6 kB)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/webtest/
Collecting WebTest>=2.0.30 (from zope.testbrowser->zope)
Downloading WebTest-3.0.0-py3-none-any.whl.metadata (1.8 kB)
Collecting BeautifulSoup4 (from zope.testbrowser->zope)
Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting SoupSieve>=1.9.0 (from zope.testbrowser->zope)
Downloading soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting WSGIProxy2 (from zope.testbrowser->zope)
Downloading WSGIProxy2-0.5.1-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: cffi in /opt/certbot/lib/python3.11/site-packages (from persistent>=4.1.1->Persistence->zope) (1.16.0)
Collecting WebOb>=1.2 (from WebTest>=2.0.30->zope.testbrowser->zope)
Downloading WebOb-1.8.7-py2.py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: pycparser in /opt/certbot/lib/python3.11/site-packages (from cffi->persistent>=4.1.1->Persistence->zope) (2.22)
Downloading Zope-5.10-py3-none-any.whl (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 99.6 kB/s eta 0:00:00
Downloading AccessControl-6.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (193 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 193.4/193.4 kB 1.7 MB/s eta 0:00:00
Downloading Chameleon-4.5.4-py3-none-any.whl (88 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.2/88.2 kB 1.8 MB/s eta 0:00:00
Downloading DocumentTemplate-4.6-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.0/87.0 kB 1.8 MB/s eta 0:00:00
Downloading ExtensionClass-5.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (92 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.6/92.6 kB 1.8 MB/s eta 0:00:00
Downloading Persistence-4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24 kB)
Downloading RestrictedPython-7.2a1.dev0-py3-none-any.whl (26 kB)
Downloading transaction-4.0-py3-none-any.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.6/46.6 kB 1.7 MB/s eta 0:00:00
Downloading ZConfig-4.1-py3-none-any.whl (131 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.5/131.5 kB 1.8 MB/s eta 0:00:00
Downloading zExceptions-5.0-py3-none-any.whl (17 kB)
Downloading zope.browserpage-5.0-py3-none-any.whl (32 kB)
Downloading zope.browserresource-5.1-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 1.7 MB/s eta 0:00:00
Downloading zope.component-6.0-py3-none-any.whl (68 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.8/68.8 kB 1.8 MB/s eta 0:00:00
Downloading zope.contenttype-5.1-py3-none-any.whl (14 kB)
Downloading zope.interface-6.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (249 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 249.5/249.5 kB 1.5 MB/s eta 0:00:00
Downloading zope.pagetemplate-5.1-py3-none-any.whl (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.0/45.0 kB 2.0 MB/s eta 0:00:00
Downloading zope.publisher-7.0-py3-none-any.whl (119 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.3/119.3 kB 1.9 MB/s eta 0:00:00
Downloading zope.security-6.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (182 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.7/182.7 kB 2.1 MB/s eta 0:00:00
Downloading zope.proxy-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.9/71.9 kB 2.1 MB/s eta 0:00:00
Downloading zope.schema-7.0.1-py3-none-any.whl (85 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.9/85.9 kB 2.1 MB/s eta 0:00:00
Downloading zope.tal-5.0.1-py3-none-any.whl (135 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.9/135.9 kB 2.0 MB/s eta 0:00:00
Downloading zope.tales-6.0-py3-none-any.whl (30 kB)
Downloading zope.traversing-5.0-py3-none-any.whl (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.6/47.6 kB 1.9 MB/s eta 0:00:00
Downloading zope.location-5.0-py3-none-any.whl (19 kB)
Downloading Acquisition-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (122 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.8/122.8 kB 2.1 MB/s eta 0:00:00
Downloading BTrees-5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 2.7 MB/s eta 0:00:00
Downloading DateTime-5.5-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.6/52.6 kB 3.3 MB/s eta 0:00:00
Downloading MultiMapping-5.0-py3-none-any.whl (4.3 kB)
Downloading multipart-0.2.4-py3-none-any.whl (7.4 kB)
Downloading PasteDeploy-3.1.0-py3-none-any.whl (16 kB)
Downloading waitress-3.0.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.7/56.7 kB 3.1 MB/s eta 0:00:00
Downloading z3c.pt-4.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.2/40.2 kB 3.5 MB/s eta 0:00:00
Downloading ZODB-6.0-py3-none-any.whl (417 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 417.8/417.8 kB 4.0 MB/s eta 0:00:00
Downloading zope.browser-3.0-py3-none-any.whl (7.6 kB)
Downloading zope.browsermenu-5.0-py3-none-any.whl (30 kB)
Downloading zope.configuration-5.0.1-py3-none-any.whl (79 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.0/79.0 kB 3.7 MB/s eta 0:00:00
Downloading zope.container-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.9/114.9 kB 3.8 MB/s eta 0:00:00
Downloading zope.lifecycleevent-5.0-py3-none-any.whl (18 kB)
Downloading zope.contentprovider-5.0-py3-none-any.whl (11 kB)
Downloading zope.datetime-5.0.0-py3-none-any.whl (43 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 kB 3.0 MB/s eta 0:00:00
Downloading zope.deferredimport-5.0-py3-none-any.whl (10.0 kB)
Downloading zope.event-5.0-py3-none-any.whl (6.8 kB)
Downloading zope.exceptions-5.0.1-py3-none-any.whl (19 kB)
Downloading zope.globalrequest-2.0-py3-none-any.whl (5.7 kB)
Downloading zope.i18nmessageid-6.1.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Downloading zope.processlifetime-3.0-py3-none-any.whl (5.9 kB)
Downloading zope.ptresource-5.0-py3-none-any.whl (7.6 kB)
Downloading zope.sequencesort-5.0-py3-none-any.whl (11 kB)
Downloading zope.site-5.0-py3-none-any.whl (30 kB)
Downloading zope.size-5.0-py3-none-any.whl (7.9 kB)
Downloading zope.testbrowser-6.0-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.7/63.7 kB 3.5 MB/s eta 0:00:00
Downloading zope.testing-5.0.1-py3-none-any.whl (37 kB)
Downloading zope.viewlet-5.0-py3-none-any.whl (33 kB)
Downloading persistent-5.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (234 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 234.4/234.4 kB 4.0 MB/s eta 0:00:00
Downloading soupsieve-2.5-py3-none-any.whl (36 kB)
Downloading WebTest-3.0.0-py3-none-any.whl (31 kB)
Downloading zodbpickle-3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (299 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.3/299.3 kB 4.0 MB/s eta 0:00:00
Downloading zope.hookable-6.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23 kB)
Downloading zope.i18n-5.1-py3-none-any.whl (798 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 798.8/798.8 kB 3.7 MB/s eta 0:00:00
Downloading AuthEncoding-5.0-py3-none-any.whl (8.7 kB)
Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 4.4 MB/s eta 0:00:00
Downloading python_gettext-5.0-py3-none-any.whl (13 kB)
Downloading roman-4.2-py3-none-any.whl (5.5 kB)
Downloading WSGIProxy2-0.5.1-py3-none-any.whl (9.2 kB)
Downloading zc.lockfile-3.0.post1-py3-none-any.whl (9.8 kB)
Downloading zope.annotation-5.0-py3-none-any.whl (14 kB)
Downloading zope.cachedescriptors-5.0-py3-none-any.whl (13 kB)
Downloading zope.deprecation-5.0-py3-none-any.whl (10 kB)
Downloading zope.dottedname-6.0-py3-none-any.whl (6.4 kB)
Downloading zope.filerepresentation-6.0-py3-none-any.whl (8.3 kB)
Downloading zope.structuredtext-5.0-py3-none-any.whl (92 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.5/92.5 kB 4.0 MB/s eta 0:00:00
Downloading WebOb-1.8.7-py2.py3-none-any.whl (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.0/115.0 kB 4.2 MB/s eta 0:00:00
Installing collected packages: multipart, zope.testing, zope.structuredtext, zope.sequencesort, zope.interface, zope.i18nmessageid, zope.hookable, zope.event, zope.dottedname, zope.deprecation, zope.datetime, zope.contenttype, zope.cachedescriptors, zodbpickle, ZConfig, zc.lockfile, WebOb, waitress, SoupSieve, roman, RestrictedPython, python-gettext, PasteDeploy, ExtensionClass, Chameleon, AuthEncoding, zope.tales, zope.tal, zope.size, zope.schema, zope.proxy, zope.processlifetime, zope.lifecycleevent, zope.exceptions, zope.component, zope.browser, WSGIProxy2, transaction, persistent, MultiMapping, DateTime, BeautifulSoup4, Acquisition, zope.location, zope.i18n, zope.filerepresentation, zope.deferredimport, zope.configuration, WebTest, Persistence, BTrees, zope.testbrowser, zope.security, zope.annotation, ZODB, zope.publisher, zope.traversing, zope.contentprovider, zExceptions, zope.pagetemplate, zope.globalrequest, zope.container, zope.browserresource, z3c.pt, AccessControl, zope.site, zope.ptresource, zope.browserpage, zope.browsermenu, DocumentTemplate, zope.viewlet, zope
Successfully installed AccessControl-6.3 Acquisition-5.2 AuthEncoding-5.0 BTrees-5.2 BeautifulSoup4-4.12.3 Chameleon-4.5.4 DateTime-5.5 DocumentTemplate-4.6 ExtensionClass-5.1 MultiMapping-5.0 PasteDeploy-3.1.0 Persistence-4.1 RestrictedPython-7.2a1.dev0 SoupSieve-2.5 WSGIProxy2-0.5.1 WebOb-1.8.7 WebTest-3.0.0 ZConfig-4.1 ZODB-6.0 multipart-0.2.4 persistent-5.2 python-gettext-5.0 roman-4.2 transaction-4.0 waitress-3.0.0 z3c.pt-4.3 zExceptions-5.0 zc.lockfile-3.0.post1 zodbpickle-3.3 zope-5.10 zope.annotation-5.0 zope.browser-3.0 zope.browsermenu-5.0 zope.browserpage-5.0 zope.browserresource-5.1 zope.cachedescriptors-5.0 zope.component-6.0 zope.configuration-5.0.1 zope.container-5.2 zope.contentprovider-5.0 zope.contenttype-5.1 zope.datetime-5.0.0 zope.deferredimport-5.0 zope.deprecation-5.0 zope.dottedname-6.0 zope.event-5.0 zope.exceptions-5.0.1 zope.filerepresentation-6.0 zope.globalrequest-2.0 zope.hookable-6.0 zope.i18n-5.1 zope.i18nmessageid-6.1.0 zope.interface-6.4 zope.lifecycleevent-5.0 zope.location-5.0 zope.pagetemplate-5.1 zope.processlifetime-3.0 zope.proxy-5.2 zope.ptresource-5.0 zope.publisher-7.0 zope.schema-7.0.1 zope.security-6.2 zope.sequencesort-5.0 zope.site-5.0 zope.size-5.0 zope.structuredtext-5.0 zope.tal-5.0.1 zope.tales-6.0 zope.testbrowser-6.0 zope.testing-5.0.1 zope.traversing-5.0 zope.viewlet-5.0
[root@docker-1f03724f8d16:/app]#
由于要用到dnspod 申请SSL,我们多安装一下dnspod的依赖,避免这个包没安装成功导致其他问题:
pip install certbot-dns-dnspod
执行后,提示如下信息表面该依赖之前一安装成功:
[root@docker-1f03724f8d16:/app]# pip install certbot-dns-dnspod
Requirement already satisfied: certbot-dns-dnspod in /opt/certbot/lib/python3.11/site-packages (0.1.0)
Requirement already satisfied: acme>=0.15.0 in /opt/certbot/lib/python3.11/site-packages (from certbot-dns-dnspod) (2.10.0)
Requirement already satisfied: certbot>=0.15.0 in /opt/certbot/lib/python3.11/site-packages (from certbot-dns-dnspod) (2.10.0)
Requirement already satisfied: cryptography>=3.2.1 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (42.0.7)
Requirement already satisfied: josepy>=1.13.0 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (1.14.0)
Requirement already satisfied: PyOpenSSL!=23.1.0,>=17.5.0 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (24.1.0)
Requirement already satisfied: pyrfc3339 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (1.1)
Requirement already satisfied: pytz>=2019.3 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (2024.1)
Requirement already satisfied: requests>=2.20.0 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (2.31.0)
Requirement already satisfied: setuptools>=41.6.0 in /opt/certbot/lib/python3.11/site-packages (from acme>=0.15.0->certbot-dns-dnspod) (66.1.1)
Requirement already satisfied: ConfigArgParse>=1.5.3 in /opt/certbot/lib/python3.11/site-packages (from certbot>=0.15.0->certbot-dns-dnspod) (1.7)
Requirement already satisfied: configobj>=5.0.6 in /opt/certbot/lib/python3.11/site-packages (from certbot>=0.15.0->certbot-dns-dnspod) (5.0.8)
Requirement already satisfied: distro>=1.0.1 in /opt/certbot/lib/python3.11/site-packages (from certbot>=0.15.0->certbot-dns-dnspod) (1.9.0)
Requirement already satisfied: parsedatetime>=2.4 in /opt/certbot/lib/python3.11/site-packages (from certbot>=0.15.0->certbot-dns-dnspod) (2.6)
Requirement already satisfied: six in /opt/certbot/lib/python3.11/site-packages (from configobj>=5.0.6->certbot>=0.15.0->certbot-dns-dnspod) (1.16.0)
Requirement already satisfied: cffi>=1.12 in /opt/certbot/lib/python3.11/site-packages (from cryptography>=3.2.1->acme>=0.15.0->certbot-dns-dnspod) (1.16.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/certbot/lib/python3.11/site-packages (from requests>=2.20.0->acme>=0.15.0->certbot-dns-dnspod) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /opt/certbot/lib/python3.11/site-packages (from requests>=2.20.0->acme>=0.15.0->certbot-dns-dnspod) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/certbot/lib/python3.11/site-packages (from requests>=2.20.0->acme>=0.15.0->certbot-dns-dnspod) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/certbot/lib/python3.11/site-packages (from requests>=2.20.0->acme>=0.15.0->certbot-dns-dnspod) (2024.2.2)
Requirement already satisfied: pycparser in /opt/certbot/lib/python3.11/site-packages (from cffi>=1.12->cryptography>=3.2.1->acme>=0.15.0->certbot-dns-dnspod) (2.22)
[root@docker-1f03724f8d16:/app]#
三、功能验证
安装依赖后,我们再次安装就没有异常错误提示信息了:
loading完后申请成功:
四、后记
为保证后续能稳定的使用修复后的功能,避免出现容器删除后再次运行出现同样的问题,将修正后的容器另存为一个镜像并修改 docker-compose 的镜像:
sudo docker commit nginxProxyManager zhuzl/nginx-proxy-manager:2.11.1-ssl
评论 (0)