docker restart seafile 失败


#1

使用GitHub上 docker版本seafile安装完成,重启无法成功,重启之后就停止了,再次启动无法成功,导致无法修改配置文件。


#2

docker logs --tail=1000 seafile 看看错误消息是什么


#3

*** Shutting down /scripts/start.py (PID 291)…
*** Shutting down runit daemon (PID 290)…
May 12 06:03:03 e55019f391d4 syslog-ng[27]: syslog-ng shutting down; version=‘3.5.6’
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…
May 12 06:03:03 e55019f391d4 syslog-ng[27]: EOF on control channel, closing connection;
*** Init system aborted.
*** Killing all processes…
*** Running /etc/my_init.d/01_create_data_links.sh…
ln: /opt/seafile/seahub-data: cannot overwrite directory
*** /etc/my_init.d/01_create_data_links.sh failed with status 1
*** Killing all processes…


#4

更新了最新版镜像 问题已经解决。