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

【待反馈】升级版本至9.2后启动不起了

发表在 Linux面板2024-9-27 17:48 [复制链接] 5 482

本帖最后由 宝塔用户_lgkpar 于 2024-9-30 11:58 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:7.9
系统版本:centos 7.9
问题描述:升级版本至9.2后启动不了,yg
相关截图(日志、错误):

微信图片_20240927174835.png
使用道具 举报 只看该作者 回复
发表于 2024-10-19 14:22:07 | 显示全部楼层
给机器做个快照
您到服务器SSH终端中执行下面命令(非面板终端)修复面板
删除之前无法使用的面板环境
mv  /www/server/panel/pyenv /www/backup/pyenv_backup
重新获取新的面板环境和更新包
curl http://download.bt.cn/install/update_panel.sh|bash
使用道具 举报 回复 支持 1 反对 0
发表于 2024-9-27 17:56:30 | 显示全部楼层
官方大大,求助啊。
使用道具 举报 回复 支持 反对
发表于 2024-9-27 17:57:22 | 显示全部楼层
现在有办法回退版本吗?
使用道具 举报 回复 支持 反对
发表于 2024-9-27 19:09:28 | 显示全部楼层
使用了 (16) 修复面板(检查错误并更新面板文件到最新版) 这个命令后也无法启动
使用道具 举报 回复 支持 反对
发表于 2024-9-27 20:14:09 | 显示全部楼层
  1. ===============================================
  2.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  3.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  4.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  5.     from .app import Flask as Flask
  6.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  7.     from . import cli
  8.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  9.     from click.core import ParameterSource
  10. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  11. \n
  12. Traceback (most recent call last):
  13.   File "/www/server/panel/BT-Panel", line 26, in <module>
  14.     from BTPanel import app,sys,public
  15.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  16.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  17.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  18.     from .app import Flask as Flask
  19.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  20.     from . import cli
  21.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  22.     from click.core import ParameterSource
  23. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  24. \n
  25. Traceback (most recent call last):
  26.   File "/www/server/panel/BT-Panel", line 26, in <module>
  27.     from BTPanel import app,sys,public
  28.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  29.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  30.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  31.     from .app import Flask as Flask
  32.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  33.     from . import cli
  34.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  35.     from click.core import ParameterSource
  36. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  37. \n
  38. Traceback (most recent call last):
  39.   File "/www/server/panel/BT-Panel", line 26, in <module>
  40.     from BTPanel import app,sys,public
  41.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  42.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  43.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  44.     from .app import Flask as Flask
  45.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  46.     from . import cli
  47.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  48.     from click.core import ParameterSource
  49. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  50. \n
  51. Traceback (most recent call last):
  52.   File "/www/server/panel/BT-Panel", line 26, in <module>
  53.     from BTPanel import app,sys,public
  54.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  55.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  56.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  57.     from .app import Flask as Flask
  58.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  59.     from . import cli
  60.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  61.     from click.core import ParameterSource
  62. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  63. \n
  64. Traceback (most recent call last):
  65.   File "/www/server/panel/BT-Panel", line 26, in <module>
  66.     from BTPanel import app,sys,public
  67.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  68.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  69.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  70.     from .app import Flask as Flask
  71.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  72.     from . import cli
  73.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  74.     from click.core import ParameterSource
  75. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  76. \n
  77. Traceback (most recent call last):
  78.   File "/www/server/panel/BT-Panel", line 26, in <module>
  79.     from BTPanel import app,sys,public
  80.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  81.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  82.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  83.     from .app import Flask as Flask
  84.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  85.     from . import cli
  86.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  87.     from click.core import ParameterSource
  88. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
  89. \n
  90. Traceback (most recent call last):
  91.   File "/www/server/panel/BT-Panel", line 26, in <module>
  92.     from BTPanel import app,sys,public
  93.   File "/www/server/panel/BTPanel/__init__.py", line 27, in <module>
  94.     from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \
  95.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/__init__.py", line 5, in <module>
  96.     from .app import Flask as Flask
  97.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 34, in <module>
  98.     from . import cli
  99.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/cli.py", line 15, in <module>
  100.     from click.core import ParameterSource
  101. ImportError: cannot import name 'ParameterSource' from 'click.core' (/www/server/panel/pyenv/lib/python3.7/site-packages/click/core.py)
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

立即付费处理

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

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