*** Running /etc/my_init.d/01_create_data_links.sh...
rm: cannot remove '/var/log': Directory not empty
*** Booting runit daemon...
*** Runit started as PID 23
*** Running /scripts/enterpoint.sh...
2023-08-18 06:18:53 Nginx ready
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/seafile.nginx.conf:20
2023-08-18 06:18:53 This is an idle script (infinite loop) to keep container running.
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/seafile.nginx.conf:20
[08/18/2023 06:18:55][upgrade]: The container was recreated, start fix the media symlinks
rm: cannot remove '/opt/seafile/seafile-server-10.0.1/seahub/media/avatars': Directory not empty
[2023-08-18 06:18:55] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
Traceback (most recent call last):
File "/scripts/start.py", line 95, in <module>
main()
File "/scripts/start.py", line 61, in main
check_upgrade()
File "/scripts/upgrade.py", line 95, in check_upgrade
fix_media_symlinks()
File "/scripts/upgrade.py", line 80, in fix_media_symlinks
call('rm -rf %s' % avatars_dir)
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 'rm -rf /opt/seafile/seafile-server-10.0.1/seahub/media/avatars' returned non-zero exit status 1.
我进去看了下, avatars 下面还有个groups文件夹,手动删除后重启也不行,会自动创建上.