Debain中安装Docker部属Seafile成功,但无法启动

STDERR:
*** Running /etc/my_init.d/01_create_data_links.sh…
*** Booting runit daemon…
*** Runit started as PID 16
*** Running /scripts/enterpoint.sh…
mv: ‘/etc/nginx/sites-enabled/seafile.nginx.conf’ and ‘/shared/nginx/conf/seafile.nginx.conf’ are the same file
Traceback (most recent call last):
File “/scripts/start.py”, line 94, in
main()
File “/scripts/start.py”, line 52, in main
generate_local_nginx_conf()
File “/scripts/bootstrap.py”, line 110, in generate_local_nginx_conf
call(‘mv {0} {1} && ln -sf {1} {0}’.format(nginx_etc_file, nginx_shared_file))
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 /etc/nginx/sites-enabled/seafile.nginx.conf /shared/nginx/conf/seafile.nginx.conf && ln -sf /shared/nginx/conf/seafile.nginx.conf /etc/nginx/sites-enabled/seafile.nginx.conf’ returned non-zero exit status 1.
*** Shutting down /scripts/enterpoint.sh (PID 17)…
*** Shutting down runit daemon (PID 16)…
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…
*** Init system aborted.
*** Killing all processes…
*** Running /etc/my_init.d/01_create_data_links.sh…
mv: failed to access ‘/shared/logs/var-log’: Too many levels of symbolic links
*** /etc/my_init.d/01_create_data_links.sh failed with status 1

*** Killing all processes…

nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (40: Too many levels of symbolic links)
2024/11/15 11:28:21 [emerg] 915#915: open() “/var/log/nginx/seahub.access.log” failed (40: Too many levels of symbolic links)
nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (40: Too many levels of symbolic links)
2024/11/15 11:28:22 [emerg] 916#916: open() “/var/log/nginx/seahub.access.log” failed (40: Too many levels of symbolic links)

上边的错误信息是从Docker-Web中查看到的,请问该怎么处理?

可能是docker有映射软链接,您检查下容器的映射目录,可以参考下这个问题docker启动seafile报符号链接错误