l1558546659 发表于 2024-2-29 20:52:57

【已完成】出错了,数据库面板运行时发生错误!

运行小皮面板后宝塔数据库就打不开了,需要怎么操作??

出错了,面板运行时发生错误!AttributeError: 'NoneType' object has no attribute 'groups'

l1558546659 发表于 2024-2-29 20:54:05

出错了,面板运行时发生错误!
AttributeError: 'NoneType' object has no attribute 'groups'
REQUEST_DATE: 2024-02-29 20:47:57
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2012 R2 Standard (build 9600) x64 (Py3.8.6)
REMOTE_ADDR: 111.19.79.91
REQUEST_URI: POST /database/mysql/GetCloudServer?
REQUEST_FORM: {'data': '{"type":"mysql"}'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
    return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
    result = eval(fun)
File "", line 1, in
File "D:\BtSoft\panel/class\panelDatabaseController.py", line 50, in model
    run_object = getattr(def_object.main(),def_name,None)
File "D:\BtSoft\panel/class/databaseModel/mysqlModel.py", line 34, in __init__
    self._version = re.search('(+\d+\.\d+)',public.get_server_path('mysql')).groups()
AttributeError: 'NoneType' object has no attribute 'groups'

阿珂 发表于 2024-3-1 09:48:06

请勿同时安装多个面板,可能环境会冲突
安装面板需纯净环境,没有安装其他环境
建议备份数据,重装系统,重新安装
页: [1]
查看完整版本: 【已完成】出错了,数据库面板运行时发生错误!