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

【待反馈】更新后启动失败

发表在 Linux面板2024-1-18 13:57 [复制链接] 1 857

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:起不起来不知道怎么查询:最新测试版本
系统版本:
istributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
问题描述:更新后启动失败

相关截图(日志、错误):2023-12-26 09:42:07][DEBUG] - Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 426, in connect
    tls_in_tls=tls_in_tls,
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
    sock, context, tls_in_tls, server_hostname=server_hostname
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 120, in wrap_socket
    _session=session)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 312, in __init__
    raise x
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 308, in __init__
    self.do_handshake()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 666, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1091)

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 499, 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 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.bt.cn', port=443): Max retries exceeded with url: /panel/get_soft_list_status (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1091)')))

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 115, 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 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 563, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.bt.cn', port=443): Max retries exceeded with url: /panel/get_soft_list_status (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1091)')))

[2023-12-27 00:02:17][DEBUG] - 开始更新SSH登录日志...



使用道具 举报 只看该作者 回复
发表于 2024-1-18 14:17:01 | 显示全部楼层
上面的日志是2023年12月的
到服务器SSH终端中执行下面命令(非面板终端)修复面板
删除之前无法使用的面板环境
  1. mv  /www/server/panel/pyenv /www/backup/pyenv_backup
复制代码

重新获取新的面板环境和更新包
  1. curl http://download.bt.cn/install/update_panel.sh|bash
复制代码

使用道具 举报 回复 支持 1 反对 0
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

立即付费处理

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

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