【待反馈】无法更新
面板版本:宝塔linux面板 Beta 7.8.19系统版本:CentOS 7.6.1810 x86_64(Py3.7.4)
浏览器版本:Microsoft Edge 版本 95.0.1020.40 (官方内部版本) (64 位)
问题现象:更新按钮上有红点,点击没有反应请求:ajax?action=UpdatePanel
返回:
"Traceback (most recent call last):\nFile \"class/flask_sockets.py\", line 30, in __call__\n handler, values = adapter.match()\nFile \"/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py\", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\nFile \"class/ajax.py\", line 533, in UpdatePanel\n updateInfo = json.loads(public.httpPost(sUrl,data))\nFile \"/www/server/panel/pyenv/lib/python3.7/json/__init__.py\", line 341, in loads\n raise TypeError(f'the JSON object must be str, bytes or bytearray, '\nTypeError: the JSON object must be str, bytes or bytearray, not bool\n"
控制台返回:
<blockquote>1、index.js?version=7.8.19&repair=7eAXNksAHfTsWYQa:496
Uncaught TypeError: Cannot read 重现方式:
点击后,一直转圈
然后提示框自己就消失了
您好,您到服务器SSH中执行
bt16 命令,这个就是更新的,你看看能否成功? 大炮运维V587 发表于 2021-11-3 18:07
您好,您到服务器SSH中执行
bt16 命令,这个就是更新的,你看看能否成功? ...
使用命令更新后,版本变成 7.7.0
但是还是有红点,点击还是一样的问题 ministu 发表于 2021-11-3 18:13
使用命令更新后,版本变成 7.7.0
但是还是有红点,点击还是一样的问题
执行下面的命令,然后面板首页更新后再试试
sed -i "/bt.cn/d" /etc/hosts
curl https://download.bt.cn/install/update_panel.sh|bash
页:
[1]