Frank 发表于 2022-2-16 20:12:21

【已解决】无法更新

目前是7.8版本以前一直是测试版的 不知道怎么换回去了

目前点更新提示正在获取更新内容 然后就没了 看了下 有报错


"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"

大炮运维V587 发表于 2022-2-16 23:19:19

您好,面板不会自动给您切换正式版和测试版的,您发的错误信息中没有具体的错误原因,您可以使用下面的命令到服务器SSH终端里执行修复下,如果还不行,可以私信我您的ToDesk远程连接码,我看下
rm -rf /www/server/panel/pyenv
curl http://download.bt.cn/install/update_panel.sh|bash

Frank 发表于 2022-2-17 15:57:10

嗯 执行这个操作以后可以正常升级了非常感谢

大炮运维V587 发表于 2022-2-17 18:06:31

Frank 发表于 2022-2-17 15:57
嗯 执行这个操作以后可以正常升级了非常感谢

不客气
页: [1]
查看完整版本: 【已解决】无法更新