当前位置:论坛首页 > Linux面板 > 求助

【待反馈】linux面板,操作redis,js一系列报错

发表在 Linux面板2023-6-7 11:49 [复制链接] 3 2700

本帖最后由 堡塔运维小林 于 2023-6-7 12:12 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:7.9.1

系统版本:CentOS  7.9.2009 x86_64(Py3.7.9) 

问题描述:1、redis 安装6.2.7版本插件 ,配置显示7.0(未安装),切换插件,js报错,切换失败  data is not defined
                  2、首页面板,点击redis,报错  CodeMirror is not defined

相关截图(日志、错误):
Uncaught ReferenceError: CodeMirror is not defined    <anonymous> https://8.141.58.55:15904/static/codemirror/mode/modeAll.js:1

    <anonymous> https://8.141.58.55:15904/static/codemirror/mode/modeAll.js:1








Uncaught ReferenceError: data is not defined

使用道具 举报 只看该作者 回复
发表于 2023-6-7 12:12:43 | 显示全部楼层
您好,您点击面板首页右上角的修复按钮,先尝试修复面板,再去点击redis看看是否会报错,如果有报错,您也可以先卸载redis再去安装使用,如果还是不行,请在命令行中执行bt 22命令获取面板日志信息,截图发出来
使用道具 举报 回复 支持 反对
发表于 2023-6-7 13:09:09 | 显示全部楼层

linux面板,操作redis,js一系列报错

堡塔运维小林 发表于 2023-6-7 12:12
您好,您点击面板首页右上角的修复按钮,先尝试修复面板,再去点击redis看看是否会报错,如果有报错,您也 ...

  面板修复过,更换过浏览器,也执行了bt  16
以下是执行 bt 22 的执行结果
正在执行(22)...
===============================================
    conn.connect()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 177, in _new_conn
    % (self.host, self.timeout),
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7f30a136ab10>, 'Connection to www.bt.cn timed out. (connect timeout=60)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.bt.cn', port=443): Max retries exceeded with url: /api/wpanel/get_messages (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f30a136ab10>, 'Connection to www.bt.cn timed out. (connect timeout=60)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "class/http_requests.py", line 104, in post
    result = requests.post(url,data,timeout=timeout,headers=headers,verify=verify)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 504, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.bt.cn', port=443): Max retries exceeded with url: /api/wpanel/get_messages (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f30a136ab10>, 'Connection to www.bt.cn timed out. (connect timeout=60)'))

[2023-05-20 00:01:41][DEBUG] - 开始更新SSH登录日志...
[2023-05-20 00:01:41][DEBUG] - 更新ssh日志成功
[2023-05-21 00:02:20][DEBUG] - 开始更新SSH登录日志...
[2023-05-21 00:02:20][DEBUG] - 更新ssh日志成功
[2023-05-22 00:03:00][DEBUG] - 开始更新SSH登录日志...
[2023-05-22 00:03:00][DEBUG] - 更新ssh日志成功
[2023-05-23 00:03:39][DEBUG] - 开始更新SSH登录日志...
[2023-05-23 00:03:39][DEBUG] - 更新ssh日志成功
[2023-05-24 00:04:19][DEBUG] - 开始更新SSH登录日志...
[2023-05-24 00:04:19][DEBUG] - 更新ssh日志成功
[2023-05-25 00:04:58][DEBUG] - 开始更新SSH登录日志...
[2023-05-25 00:04:58][DEBUG] - 更新ssh日志成功
[2023-05-26 00:05:38][DEBUG] - 开始更新SSH登录日志...
[2023-05-26 00:05:38][DEBUG] - 更新ssh日志成功
[2023-05-27 00:06:18][DEBUG] - 开始更新SSH登录日志...
[2023-05-27 00:06:18][DEBUG] - 更新ssh日志成功
[2023-05-28 00:07:07][DEBUG] - 开始更新SSH登录日志...
[2023-05-28 00:07:07][DEBUG] - 更新ssh日志成功
[2023-05-29 00:07:47][DEBUG] - 开始更新SSH登录日志...
[2023-05-29 00:07:47][DEBUG] - 更新ssh日志成功
[2023-05-30 00:08:27][DEBUG] - 开始更新SSH登录日志...
[2023-05-30 00:08:27][DEBUG] - 更新ssh日志成功
[2023-05-31 00:09:07][DEBUG] - 开始更新SSH登录日志...
[2023-05-31 00:09:07][DEBUG] - 更新ssh日志成功
[2023-06-01 00:09:46][DEBUG] - 开始更新SSH登录日志...
[2023-06-01 00:09:46][DEBUG] - 更新ssh日志成功
[2023-06-02 00:00:25][DEBUG] - 开始更新SSH登录日志...
[2023-06-02 00:00:25][DEBUG] - 更新ssh日志成功
[2023-06-03 00:01:05][DEBUG] - 开始更新SSH登录日志...
[2023-06-03 00:01:05][DEBUG] - 更新ssh日志成功
[2023-06-04 00:01:45][DEBUG] - 开始更新SSH登录日志...
[2023-06-04 00:01:45][DEBUG] - 更新ssh日志成功
[2023-06-05 00:02:24][DEBUG] - 开始更新SSH登录日志...
[2023-06-05 00:02:24][DEBUG] - 更新ssh日志成功
[2023-06-05 09:42:18][DEBUG] - Traceback (most recent call last):
  File "class/public.py", line 6169, in rsa_decrypt
    decrypted_data = cipher_private.decrypt(res, None)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/Crypto/Cipher/PKCS1_v1_5.py", line 165, in decrypt
    raise ValueError("Ciphertext with incorrect length.")
ValueError: Ciphertext with incorrect length.

[2023-06-05 09:42:27][DEBUG] - 更新成功.
[2023-06-05 09:42:27][DEBUG] - 缓存更新成功,耗时: 1.49 秒
[2023-06-05 09:42:27][DEBUG] - 开始更新消息json...
[2023-06-05 09:42:28][DEBUG] - 更新消息json成功
[2023-06-06 00:03:04][DEBUG] - 开始更新SSH登录日志...
[2023-06-06 00:03:04][DEBUG] - 更新ssh日志成功
[2023-06-06 11:23:12][DEBUG] - 更新成功.
[2023-06-06 11:23:12][DEBUG] - 缓存更新成功,耗时: 1.55 秒
[2023-06-06 11:23:12][DEBUG] - 开始更新消息json...
[2023-06-06 11:23:12][DEBUG] - 更新成功.
[2023-06-06 11:23:12][DEBUG] - 缓存更新成功,耗时: 1.47 秒
[2023-06-06 11:23:12][DEBUG] - 开始更新消息json...
[2023-06-06 11:23:12][DEBUG] - 更新消息json成功
[2023-06-06 11:23:12][DEBUG] - 更新消息json成功
[2023-06-07 00:03:43][DEBUG] - 开始更新SSH登录日志...
[2023-06-07 00:03:43][DEBUG] - 更新ssh日志成功
[2023-06-07 09:06:37][DEBUG] - 更新成功.
[2023-06-07 09:06:37][DEBUG] - 缓存更新成功,耗时: 1.51 秒
[2023-06-07 09:06:37][DEBUG] - 开始更新消息json...
[2023-06-07 09:06:38][DEBUG] - 更新消息json成功
[2023-06-07 10:27:31][DEBUG] - 更新成功.
[2023-06-07 10:27:31][DEBUG] - 缓存更新成功,耗时: 1.54 秒
[2023-06-07 10:27:31][DEBUG] - 开始更新消息json...
[2023-06-07 10:27:31][DEBUG] - 更新消息json成功
使用道具 举报 回复 支持 反对
发表于 2023-6-7 14:14:43 | 显示全部楼层
宝塔用户_bsrqom 发表于 2023-6-7 13:09
面板修复过,更换过浏览器,也执行了bt  16
以下是执行 bt 22 的执行结果
正在执行(22)...

您好,私信您的todesk或者向日葵给我,私信后这里回复
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表