
嘗試透過設定 -> 憑證管理員為我的 Asustor NAS 產生 Let's Encrypt 憑證時(遵循指示),該過程反覆失敗並出現錯誤Ref. 5402
。Let's Encrypt ACME Client
從 Asustor卸載/重新安裝App Central
沒有幫助。我還能嘗試什麼
答案1
TL;DR
使用終端機 ssh 進入 NAS 並執行以下命令
rm -rf /volume1/.@plugins/AppCentral/python3/lib/python3.10/site-packages/~ertbot
rm -rf /volume1/.@plugins/AppCentral/python3/lib/python3.10/site-packages/~ertbot-2.6.0.dist-info
然後返回證書管理器 GUI,按照說明進行操作,該過程應該可以正常工作。
更多資訊:
UI 失敗後,我透過 ssh 連接到 NAS 並嘗試手動運行certbot
(Let's Encrypt 在後台使用的工具),並手動安裝生成的憑證。但是,該操作失敗並出現以下錯誤:
An unexpected error occurred:
Exception: Duplicate plugin name manual from certbot and -ertbot.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-bufbgpei/log or re-run Certbot with -v for more details.
nic@LaNube:/volume1 $ cat /tmp/certbot-log-bufbgpei/log
2024-03-02 15:03:00,062:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in <module>
sys.exit(main())
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/main.py", line 1835, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/plugins/disco.py", line 192, in find_all
cls._load_entry_point(entry_point, plugins)
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/plugins/disco.py", line 204, in _load_entry_point
raise Exception("Duplicate plugin name {0} from {1} and {2}.".format(
Exception: Duplicate plugin name manual from certbot and -ertbot.
2024-03-02 15:03:00,063:ERROR:certbot._internal.log:An unexpected error occurred:
2024-03-02 15:03:00,063:ERROR:certbot._internal.log:Exception: Duplicate plugin name manual from certbot and -ertbot.
cerbot
失敗是因為它找到了兩組插件,一組在cerbot
安裝中,一組來自~ertbot
.刪除~ertbot
安裝可以解決重複插件問題,並且似乎不會對實際的 Let's Ecypt 實例產生不利影響。這個額外的軟體包似乎是由 App Central 安裝程式預設安裝的。