Lxcloud 发表于 2024-3-12 23:44:47

【待反馈】面板无法正常使用

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.5
系统版本:CentOS 7.6.1810 x86_64(Py3.7.9)
问题描述:在装完环境后正常使用了几个小时没问题,刚重启了下服务器现在面板无法正常打开,点了修复面板也没用
相关截图(日志、错误):Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2319, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2266, 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 1617, in get_config
    import panelSSL
File "/www/server/panel/class/panelSSL.py", line 15, in
    from ssl_manage import SSLManger
File "/www/server/panel/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 953, in
    name="X509Extension",
TypeError: deprecated() got an unexpected keyword argument 'name'



阿珂 发表于 2024-3-13 10:02:44

btpip list |grep pyOpenSSL
btpip list | grep cryptography
执行这两条命令看看

Lxcloud 发表于 2024-3-13 12:27:17

阿珂 发表于 2024-3-13 10:02
执行这两条命令看看


阿珂 发表于 2024-3-13 15:37:09

btpip install pyOpenSSL==20.0.1
btpip install cryptography==3.2.1
bt 1
执行这三条命令试试
页: [1]
查看完整版本: 【待反馈】面板无法正常使用