宝塔用户_aubeoi 发表于 2024-6-9 14:20:23

【待反馈】win系统redis提示错误

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
8.0.0
系统版本:
Windows Server 2022 Datacenter
问题描述:
安装redis后,打开会提示错误
相关截图(日志、错误):
REQUEST_DATE: 2024-06-09 13:27:34 PAN_VERSION: 8.0.0OS_VERSION: Windows Server 2022 Datacenter (build 20348) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: POST /database/redis/get_db_keylist?REQUEST_FORM: {'data': '{"db_type":0,"db_idx":0,"limit":20}'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0

堡塔运维南一 发表于 2024-6-9 18:01:40

您好,修复一下面板,然后用无痕模式访问试试

宝塔用户_aubeoi 发表于 2024-6-15 11:09:45

运维技术南一 发表于 2024-6-9 18:01
您好,修复一下面板,然后用无痕模式访问试试

还是会出现这个报错提示

宝塔用户_aubeoi 发表于 2024-6-15 11:11:43

运维技术南一 发表于 2024-6-9 18:01
您好,修复一下面板,然后用无痕模式访问试试

错误1:
REQUEST_DATE: 2024-06-15 11:08:57
PAN_VERSION: 8.0.0
OS_VERSION: Windows Server 2022 Datacenter (build 20348) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /database/redis/get_db_keylist?
REQUEST_FORM: {'data': '{"db_type":0,"db_idx":0,"limit":20}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0


错误2:
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1583, in publicObject
    return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1815, in run
    result = eval(fun)
File "", line 1, in
File "D:\BtSoft\panel/class\panelDatabaseController.py", line 79, in model
    result = run_object(pdata)
File "D:\BtSoft\panel/class/databaseModel/redisModel.py", line 291, in get_db_keylist
    item['val'] = public.xsssec(item['val'])
File "D:\BtSoft\panel/class\public.py", line 3970, in xsssec
    return text.replace('&', '&').replace('"', '"').replace('<', '<').replace('>', '>')
AttributeError: 'dict' object has no attribute 'replace'

运维技术阿闯 发表于 2024-6-17 10:13:22

宝塔用户_aubeoi 发表于 2024-6-15 11:11
错误1:
REQUEST_DATE: 2024-06-15 11:08:57
PAN_VERSION: 8.0.0


您好,先停止宝塔面板,然后将下面这个目录删掉
C:\Program Files\python
然后下载这个包覆盖安装一下看看是否能解决,覆盖安装不影响原来数据与正在运行的网站。
http://download.bt.cn/win/panel/BtSoft.zip
页: [1]
查看完整版本: 【待反馈】win系统redis提示错误