当前位置:论坛首页 > Linux面板 > Linux面板教程

5.x平滑升级到7.x命令

发表在 Linux面板2019-6-18 18:15 [复制链接] 30 46198

5.x平滑升级到7.x命令
注意:
1、升级过程耗时较长且可能会受网络因素影响导致升级失败
2、如果升级后无法正常启动面板,请重新执行升级命令
3、升级有一定的风险,生产环境请谨慎升级

4、如果服务器有快照功能,一定要先打快照再升级
  1. curl http://download.bt.cn/install/update_to_6.sh|bash
复制代码


使用道具 举报 只看该作者 回复
发表于 2020-11-6 16:52:22 | 显示全部楼层
ERROR: Command errored out with exit status 1:
     command: /www/server/panel/pyenv/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-78or_ihi/cheetah/setup.py'"'"'; __file__='"'"'/tmp/pip-install-78or_ihi/cheetah/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qnses9ig
         cwd: /tmp/pip-install-78or_ihi/cheetah/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-78or_ihi/cheetah/setup.py", line 10, in <module>
        import SetupTools
      File "/tmp/pip-install-78or_ihi/cheetah/SetupTools.py", line 50
        except DistutilsPlatformError, x:
                                     ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
使用道具 举报 回复 支持 反对
发表于 2020-11-6 16:51:15 | 显示全部楼层
升级完成,虽然中间有点问题,但是目前貌似运行还可以.先不管了.看看再说.
使用道具 举报 回复 支持 反对
发表于 2020-11-2 17:04:32 | 显示全部楼层
宝塔用户_vkqzxa 发表于 2020-3-3 14:01
你好,管理员,提示升级成功,但是中间提示这个错误,如何解决?

同样问题,如何解决的?
使用道具 举报 回复 支持 反对
发表于 2020-7-24 10:47:12 | 显示全部楼层
aesop 发表于 2020-7-3 20:20
我也遇到同类问题。你们是如何解决的?

你们这个问题解决了吗
使用道具 举报 回复 支持 反对
发表于 2020-7-3 20:20:42 | 显示全部楼层
宝塔用户_zwjwuc 发表于 2020-4-13 19:40
我也遇到这个错误了,能进去面板。但首页管理软件模块没有了

我也遇到同类问题。你们是如何解决的?
使用道具 举报 回复 支持 反对
发表于 2020-4-30 13:19:56 | 显示全部楼层
升级失败,信息如下:
OS: ubuntu - 16
--2020-04-30 12:38:05--  h请t删t掉p://128.1.164.196/install/pyenv/pyenv-ubuntu16-x32.tar.gz
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-04-30 12:38:05 ERROR 404: Not Found.

=================================================
ERROR: Download python env fielded.
你们是不是把服务器关了啊
使用道具 举报 回复 支持 反对
发表于 2020-4-16 22:12:48 | 显示全部楼层
求指导,5.7面板升级出现这个错误。系统: Ubuntu 14.04.2 LTS
ERROR: Could not find a version that satisfies the requirement apt-xapian-index (from versions: none)
ERROR: No matching distribution found for apt-xapian-index
使用道具 举报 回复 支持 反对
发表于 2020-4-13 19:40:06 | 显示全部楼层
吴德俊 发表于 2020-3-23 21:29
宝塔5.9.2成功升级到7.1.1,但有下面的这样报错,请帮忙看一下怎么回事。

我也遇到这个错误了,能进去面板。但首页管理软件模块没有了
使用道具 举报 回复 支持 反对
发表于 2020-3-23 21:29:58 | 显示全部楼层
宝塔5.9.2成功升级到7.1.1,但有下面的这样报错,请帮忙看一下怎么回事。

升级报错

升级报错

使用道具 举报 回复 支持 反对
发表于 2020-3-3 14:03:53 | 显示全部楼层
如何解决?
使用道具 举报 回复
发表于 2020-3-3 14:03:01 | 显示全部楼层
升级成功,但中间提示错误如下:

ERROR: Command errored out with exit status 1:
     command: /www/server/panel/pyenv/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_vweyw1v/MySQL-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_vweyw1v/MySQL-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-_vweyw1v/MySQL-python/pip-egg-info
         cwd: /tmp/pip-install-_vweyw1v/MySQL-python/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-_vweyw1v/MySQL-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/tmp/pip-install-_vweyw1v/MySQL-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ModuleNotFoundError: No module named 'ConfigParser'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
使用道具 举报 回复 支持 反对
发表于 2020-3-3 14:01:54 | 显示全部楼层
你好,管理员,提示升级成功,但是中间提示这个错误,如何解决?

error.png

使用道具 举报 回复 支持 反对
发表于 2020-1-10 17:34:38 | 显示全部楼层
成功成功!!
使用道具 举报 回复
发表于 2019-12-28 14:46:08 | 显示全部楼层
微信截图_20191228144451.png
服务器无法启动
使用道具 举报 回复 支持 反对
发表于 2019-12-8 08:56:27 | 显示全部楼层
好像两条命令 都没有成功。。。
TIM截图20191208085514.jpg
使用道具 举报 回复 支持 反对
12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表