服务没做任何调整,突然访问不了了,查看upgrade_2.0_2.1失败

我在docker中部署的seafile一直正常运行着,我一直没动过,但是最近访问突然访问不到,我看了下docker容器内的报错如下

[02/25/2024 13:07:08][upgrade]: Running script /opt/seafile/seafile-server-8.0.7/upgrade/upgrade_2.0_2.1.sh

This script would upgrade your seafile server from 2.0 to 2.1
Press [ENTER] to contiune

Can't find a python executable of version 2.6 or above in PATH
Install python 2.6+ before continue.
Or if you installed it in a non-standard PATH, set the PYTHON enviroment varirable to it
[2024-02-25 13:07:08] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[2024-02-25 13:07:08] Running scripts /opt/seafile/seafile-server-8.0.7/upgrade/upgrade_2.0_2.1.sh
Traceback (most recent call last):
File "/scripts/start.py", line 86, in
main()
File "/scripts/start.py", line 58, in main
check_upgrade()
File "/scripts/upgrade.py", line 182, in check_upgrade
run_script_and_update_version_stamp(script, new_version)
File "/scripts/upgrade.py", line 61, in run_script_and_update_version_stamp
call(script)
File "/scripts/utils.py", line 70, in call
return subprocess.check_call(*a, **kw)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/opt/seafile/seafile-server-8.0.7/upgrade/upgrade_2.0_2.1.sh' returned non-zero exit status 1.

这是什么原因呢?我应该怎么做

先不管这个 seahub.log 有什么报错吗


我看了下没有最近的任何日志

seahub 启动了吗

我连不上seafile的web页面,启动失败了吧,启动报错就是我上面发的

有人能协助处理这个问题么

看看这里,有东西没有正确安装

直接docker安装的,且进入docker容器后查看了python正常,版本3.8

为什么还报python错误

找不到问题可以从新部署一下

关键pod删了,重新部署一直报这个错误,所以不知道怎么弄了

这个正常不会运行这个升级脚本

换个版本重新试试吧