面板版本:宝塔linux面板 7.5.1
系统版本:CentOS 7.6
浏览器版本:Google Chrome 94.0
问题现象:
SSL打不开,无法更新系统
接口报错信息:/ajax?action=UpdatePanel
"Traceback (most recent call last):\n File \"class/ajax.py\", line 493, in UpdatePanel\n updateInfo = json.loads(public.httpPost(sUrl,data))\n File \"/www/server/panel/pyenv/lib/python3.7/json/__init__.py\", line 348, in loads\n return _default_decoder.decode(s)\n File \"/www/server/panel/pyenv/lib/python3.7/json/decoder.py\", line 337, in decode\n obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n File \"/www/server/panel/pyenv/lib/python3.7/json/decoder.py\", line 355, in raw_decode\n raise JSONDecodeError(\"Expecting value\", s, err.value) from None\njson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n"
控制台报错信息:
index.js?version=7.5.1&repair=LEHhX9FueBxm5CAP:277 Uncaught TypeError: Cannot read properties of undefined (reading 'is_beta')
at index.js?version=7.5.1&repair=LEHhX9FueBxm5CAP:277
at public_backup.js?version=7.5.1&repair=LEHhX9FueBxm5CAP:3040
at Object.success (public_backup.js?version=7.5.1&repair=LEHhX9FueBxm5CAP:527)
at c (jquery-1.10.2.min.js:3)
at Object.fireWith [as resolveWith] (jquery-1.10.2.min.js:3)
at k (jquery-1.10.2.min.js:5)
at XMLHttpRequest.r (jquery-1.10.2.min.js:5)
重现方式:
进入首页ajax请求中可以看到。
点击更新,页面自动刷新一下,没有反应
点击站点修改>SSL,页面自动刷新一下,没有反应
|
|