Hello,
I did a server reboot and the owncloud docker does not start. I found an error message in journalctl:
Jun 18 08:52:25 server1 avahi-daemon[482]: New relevant interface vethade7071.IPv6 for mDNS.
Jun 18 08:52:25 server1 avahi-daemon[482]: Registering new address record for fe80::50de:feff:fe6a:819 on vethade7071.*.
Jun 18 08:52:25 server1 avahi-daemon[482]: Joining mDNS multicast group on interface veth95f6287.IPv6 with address fe80::80e:b3ff:fe4e:4da2.
Jun 18 08:52:25 server1 avahi-daemon[482]: New relevant interface veth95f6287.IPv6 for mDNS.
Jun 18 08:52:25 server1 avahi-daemon[482]: Registering new address record for fe80::80e:b3ff:fe4e:4da2 on veth95f6287.*.
Jun 18 08:52:26 server1 kernel: docker0: port 1(vethee670b0) entered disabled state
Jun 18 08:52:26 server1 kernel: device vethee670b0 left promiscuous mode
Jun 18 08:52:26 server1 kernel: docker0: port 1(vethee670b0) entered disabled state
Jun 18 08:52:26 server1 dockerd[1842]: time="2018-06-18T08:52:26.856048790+02:00" level=error msg="Handler for POST /v1.26/containers/3c1278c32207cb7837c35450b384f96d6ce22c13f252dd265798c58bc2765070/restart returned error: Cannot restart container 3c1278c32207cb7837c35450b384f96d6ce22c13f252dd265798c58bc2765070: oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:54: mounting \\\\\\\"/root/setup-ldap.sh\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/overlay/f73c6222b183a1b58c9c52482f87a025c6ee123fc568012499b68a153c3cbb9a/merged\\\\\\\" at \\\\\\\"/var/lib/docker/overlay/f73c6222b183a1b58c9c52482f87a025c6ee123fc568012499b68a153c3cbb9a/merged/etc/owncloud.d/29-ldap.sh\\\\\\\" caused \\\\\\\"not a directory\\\\\\\"\\\"\"\n: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type"
Jun 18 08:52:26 server1 docker-app-owncloud[8449]: Starting owncloud Container 3c1278c32207cb7837c35450b384f96d6ce22c13f252dd265798c58bc2765070 ...Error response from daemon: Cannot restart container 3c1278c32207cb7837c35450b384f96d6ce22c13f252dd265798c58bc2765070: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/root/setup-ldap.sh\\\" to rootfs \\\"/var/lib/docker/overlay/f73c6222b183a1b58c9c52482f87a025c6ee123fc568012499b68a153c3cbb9a/merged\\\" at \\\"/var/lib/docker/overlay/f73c6222b183a1b58c9c52482f87a025c6ee123fc568012499b68a153c3cbb9a/merged/etc/owncloud.d/29-ldap.sh\\\" caused \\\"not a directory\\\"\""
Jun 18 08:52:26 server1 docker-app-owncloud[8449]: : Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Jun 18 08:52:26 server1 systemd[1]: docker-app-owncloud.service: Control process exited, code=exited status=1
Jun 18 08:52:26 server1 systemd[1]: Failed to start LSB: Start the Container for owncloud.
-- Subject: Unit docker-app-owncloud.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit docker-app-owncloud.service has failed.
--
-- The result is failed.
Jun 18 08:52:26 server1 systemd[1]: docker-app-owncloud.service: Unit entered failed state.
Jun 18 08:52:26 server1 systemd[1]: docker-app-owncloud.service: Failed with result 'exit-code'.
Jun 18 08:52:26 server1 avahi-daemon[482]: Joining mDNS multicast group on interface vethe926316.IPv6 with address fe80::9c58:d0ff:fec0:d829.
Jun 18 08:52:26 server1 avahi-daemon[482]: New relevant interface vethe926316.IPv6 for mDNS.
Jun 18 08:52:26 server1 avahi-daemon[482]: Registering new address record for fe80::9c58:d0ff:fec0:d829 on vethe926316.*.
Jun 18 08:52:27 server1 docker-app-dudle[8450]: Starting dudle Container dd37640b8832577aec1ce95b8df6e52ab528dfa27dec38536eebcde45d24d617 ....
I made a update to 4.3.1 last week, perhaps this is the problem. I can see that the system is complaining about some pathes and I see a lot backslashes in some of the pathes (e.g.: \\\"/var/lib/docker/overlay/ ).
Unfortunately I don’t know where the path infos are taken from.
Does someone have an idea, how to fix this?
Kind regards,
sasa