第二次运行Seafile 7时出错:Too many levels of symbolic links

环境是Windows下的Docker
第二次运行Seafile时提示Too many levels of symbolic links,目前Seafile里没有任何文件,只创建了一个管理员账号,没有动任何设定。请问有没有人知道什么情况呢?日志如下

*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
Jun 17 03:33:58 9f3e0e19b6a6 syslog-ng[25]: syslog-ng starting up; version='3.13.2'
*** Booting runit daemon...
*** Runit started as PID 33
*** Running /scripts/start.py...
Jun 17 03:33:59 9f3e0e19b6a6 cron[39]: (CRON) INFO (pidfile fd = 3)
Jun 17 03:33:59 9f3e0e19b6a6 cron[39]: (CRON) INFO (Running @reboot jobs)
[2019-06-17 03:33:59] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[06/17/2019 03:33:59][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks
[06/17/2019 03:33:59][upgrade]: Running script /opt/seafile/seafile-server-7.0.2/upgrade/minor-upgrade.sh
2019-06-17T03:33:59.842851300Z 
-------------------------------------------------------------
This script would do the minor upgrade for you.
Press [ENTER] to contiune
-------------------------------------------------------------
2019-06-17T03:33:59.842914000Z 
2019-06-17T03:33:59.843434800Z 
------------------------------
migrating avatars ...
2019-06-17T03:33:59.843459800Z 
2019-06-17T03:33:59.849335300Z 
DONE
------------------------------
2019-06-17T03:33:59.849384000Z 
2019-06-17T03:33:59.853085800Z 
updating seafile-server-latest symbolic link to /opt/seafile/seafile-server-7.0.2 ...
2019-06-17T03:33:59.853118800Z 
DONE
------------------------------
2019-06-17T03:33:59.857362900Z 
2019-06-17T03:33:59.862458300Z 
[06/17/19 03:33:59] ../common/session.c(132): using config file /opt/seafile/conf/ccnet.conf
Starting seafile server, please wait ...
** Message: seafile-controller.c(718): No seafevents.
2019-06-17T03:33:59.919750700Z 
Seafile server started
2019-06-17T03:34:02.933124500Z 
Done.
2019-06-17T03:34:02.946429900Z 
Starting seahub at port 8000 ...
2019-06-17T03:34:08.440372700Z 
Seahub is started
2019-06-17T03:34:08.440521700Z 
Done.
2019-06-17T03:34:08.440548800Z 
Jun 17 04:17:01 9f3e0e19b6a6 CRON[4243]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 05:17:01 9f3e0e19b6a6 CRON[9967]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 06:17:01 9f3e0e19b6a6 CRON[15693]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 06:25:01 9f3e0e19b6a6 CRON[16465]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Jun 17 07:17:01 9f3e0e19b6a6 CRON[21508]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 08:17:01 9f3e0e19b6a6 CRON[27232]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 09:17:01 9f3e0e19b6a6 CRON[32957]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 10:17:01 9f3e0e19b6a6 CRON[38682]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 11:17:01 9f3e0e19b6a6 CRON[44407]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 12:17:01 9f3e0e19b6a6 CRON[50124]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 13:17:01 9f3e0e19b6a6 CRON[55849]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 14:17:01 9f3e0e19b6a6 CRON[61574]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 15:17:01 9f3e0e19b6a6 CRON[67299]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 16:17:01 9f3e0e19b6a6 CRON[73024]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 17:17:01 9f3e0e19b6a6 CRON[78750]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 18:17:01 9f3e0e19b6a6 CRON[84474]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 19:17:01 9f3e0e19b6a6 CRON[90200]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
/bin/chown: cannot dereference '/var/log': Too many levels of symbolic links
*** /etc/my_init.d/10_syslog-ng.init failed with status 1
2019-06-17T20:45:39.331145000Z 
*** 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
2019-06-17T20:46:10.831325300Z 
*** 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
2019-06-17T20:47:55.431465400Z 
*** 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
2019-06-17T20:48:01.921785700Z 
*** Killing all processes...

*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
/bin/chown: cannot dereference '/var/log': Too many levels of symbolic links
*** /etc/my_init.d/10_syslog-ng.init failed with status 1
2019-06-18T20:14:01.204336200Z 
*** 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
2019-06-18T20:15:10.253619900Z 
*** Killing all processes...

QAQ有人遇到过类似的情况吗

一样的问题,我都把docker还原了,全新安装7.0.3,装完运转正常。重启就Too many levels of symbolic links。求解决办法。

看样是没人管了,感觉7.0之后的docker版是是测试版么,只能等正式版了。先用6系列顶顶了

嗯啊,感觉还有很多bug待解决,不过好像7.0最重要的改动似乎是Web UI?个人的话也不经常用Web版,我也等等好了。

问题可能出在win版docker上,我最近用虚拟机装centos7再装docker版的seafile重启没问题。不过只重启一次,太麻烦,没多试。

我也发现是win版docker的问题,不过折腾几个小时之后好像解决了,在安装的时候,不进行volume映射,我把docker-sompose.yml中db的设定改成了
volumes:
- /opt/seafile-mysql/db
把seafile的设定改成了
volumes:
- /opt/seafile-data # Requested, specifies the path to Seafile data persistent store.

现在似乎没啥问题了,不过还没有进行进一步的测试

我也试过不挂载win下的硬盘,不过问题还是出现

那要不你试试把docker的镜像转移到非ntfs分区中?

感谢,懒得试了,用虚拟机算了~