Seafile pro 11.0.7 版本无法向上升级

尝试了升级11.0.8, 11.0.9, latest, 均报错

*** Running /etc/my_init.d/01_create_data_links.sh...
*** Booting runit daemon...
*** Runit started as PID 26
*** Running /scripts/enterpoint.sh...
2024-08-08 11:14:49 Nginx ready 
2024-08-08 11:14:49 This is an idle script (infinite loop) to keep container running. 
[2024-08-08 11:14:49] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[08/08/2024 11:14:49][upgrade]: The container was recreated, start fix the media symlinks
mv: cannot stat '/opt/seafile/seafile-pro-server-11.0.7/seahub/media/avatars/*': No such file or directory
Traceback (most recent call last):
  File "/scripts/start.py", line 94, in <module>
    main()
  File "/scripts/start.py", line 61, in main
    check_upgrade()
  File "/scripts/upgrade.py", line 120, in check_upgrade
    fix_media_symlinks()
  File "/scripts/upgrade.py", line 104, in fix_media_symlinks
    call('mv -n %s/* %s' % (avatars_dir, dst_avatars_dir))
  File "/scripts/utils.py", line 70, in call
    return subprocess.check_call(*a, **kw)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'mv -n /opt/seafile/seafile-pro-server-11.0.7/seahub/media/avatars/* /shared/seafile/seahub-data/avatars' returned non-zero exit status 1.
*** Shutting down /scripts/enterpoint.sh (PID 27)...
*** Shutting down runit daemon (PID 26)...
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
*** Init system aborted.
*** Killing all processes...

您是否在 docker-compose.yml 里手工定义了SEAFILE_VERSION=11.0.7?

这会覆盖容器内默认的环境变量 SEAFILE_VERSION=11.0.8,导致脚本报错。删除 docker-compose.yml 里的SEAFILE_VERSION即可。