当时安装阿里云OSS 插件,安装配置好后,备份的文件上传到阿里云OSS 报错,折腾了一会不行后,卸载了OSS 插件。
现在新建站点,然后申请SSL 证书,出现这个错误提示:
[Bash shell] 纯文本查看 复制代码 REQUEST_DATE: 2024-03-21 20:15:09
VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.5
REMOTE_ADDR: 106.110.171.33
REQUEST_URI: POST /panel/public/get_public_config?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
[Bash shell] 纯文本查看 复制代码 Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2305, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2252, in run
result = getattr(toObject, get.action)(get)
File "class/panelController.py", line 81, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/panelModel/publicModel.py", line 57, in get_public_config
data = _config_obj.get_config(args)
File "class/config.py", line 1595, in get_config
import panelSSL
File "class/panelSSL.py", line 15, in
from ssl_manage import SSLManger
File "class/ssl_manage.py", line 14, in
import OpenSSL
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in
from OpenSSL import SSL, crypto
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 34, in
from OpenSSL.crypto import (
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 950, in
name="X509Extension",
TypeError: deprecated() got an unexpected keyword argument 'name'
大家有遇到过吗 ?
大佬们最后是怎么解决的 ?
宝塔版本:
寶塔 Linux 面版 8.0.5 開心版
|