ovouvogh 发表于 2024-3-21 21:20:02

8.0.5 開心版:出错了,面板运行时发生错误!



当时安装阿里云OSS 插件,安装配置好后,备份的文件上传到阿里云OSS 报错,折腾了一会不行后,卸载了OSS 插件。
现在新建站点,然后申请SSL 证书,出现这个错误提示:

REQUEST_DATE: 2024-03-21 20:15:09
VERSION: CentOS7.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

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 開心版

ovouvogh 发表于 2024-3-21 23:08:54





计划任务执行自动备份数据库并发送到阿里云OSS


任务日志报错如下:

Traceback (most recent call last):
File "/www/server/panel/plugin/alioss/alioss_main.py", line 27, in <module>
    import oss2
File "/www/server/panel/pyenv/lib/python3.7/site-packages/oss2/__init__.py", line 15, in <module>
    from .resumable import resumable_upload, resumable_download, ResumableStore, ResumableDownloadStore, determine_part_size
File "/www/server/panel/pyenv/lib/python3.7/site-packages/oss2/resumable.py", line 19, in <module>
    from .crypto_bucket import CryptoBucket
File "/www/server/panel/pyenv/lib/python3.7/site-packages/oss2/crypto_bucket.py", line 10, in <module>
    from .crypto import BaseCryptoProvider
File "/www/server/panel/pyenv/lib/python3.7/site-packages/oss2/crypto.py", line 21, in <module>
    from aliyunsdkcore import client
File "/www/server/panel/pyenv/lib/python3.7/site-packages/aliyunsdkcore/client.py", line 31, in <module>
    from aliyunsdkcore.vendored.requests import codes
File "/www/server/panel/pyenv/lib/python3.7/site-packages/aliyunsdkcore/vendored/requests/__init__.py", line 48, in <module>
    from .packages.urllib3.contrib import pyopenssl
File "/www/server/panel/pyenv/lib/python3.7/site-packages/aliyunsdkcore/vendored/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
    import OpenSSL.SSL
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import SSL, crypto
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 34, in <module>
    from OpenSSL.crypto import (
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 950, in <module>
    name="X509Extension",
TypeError: deprecated() got an unexpected keyword argument 'name'

3500867 发表于 2024-3-27 23:01:11

8.0.5好多插件用不了

ovouvogh 发表于 2024-4-10 14:40:40

3500867 发表于 2024-3-27 23:01
8.0.5好多插件用不了

是啊
兄弟有其他好用的版本没 ?
页: [1]
查看完整版本: 8.0.5 開心版:出错了,面板运行时发生错误!