Docker service don't start after server shutdown / reboot

Hello,

today i have to shut down my server for some work in the house. It is a VM Server on a ESXI host.

After the work was finished the ESXI didn’t start because of a failure with the USB stick. I started the host with a backup stick and the VM machines started well.

On the UCS server i had 2 issues:

First the MariaDB and kopano don’t start. The problem with the mariadb service could be solved by running aria_chk -r and delete the aria.log.xxxx files. After that i was able to start mariaDB and kopano.

Second problem is the docker service don’t start. I tried to reinstall it by running apt-get --reinstall install docker.io but that doesn’t fix the issue. Now i have no idea what to do next.

BlockquoteOkt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/datastore.(*cache).kmap(0xc42018cda0, 0x55cd8bae4ce0, 0xc4201ae370, 0x55cd8988e36a, 0xc4200451fa, 0x55cd8ae41aee)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/datastore/cache.go:43 +0x18a
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/datastore.(*cache).list(0xc42018cda0, 0x55cd8bae4ce0, 0xc4201ae370, 0x0, 0x0, 0x0, 0x0, 0x0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/datastore/cache.go:164 +0x7b
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/datastore.(*datastore).List(0xc420181d00, 0xc4200451e0, 0x1b, 0x55cd8bae4ce0, 0xc4201ae370, 0x0, 0x0, 0x0, 0x0, 0
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/datastore/datastore.go:517 +0x179
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).populateNetworks(0xc420cb1740, 0x5, 0x55cd8ae456a6)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge_store.go:50 +
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).initStore(0xc420cb1740, 0xc420c93a70, 0x0, 0xc420879170)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge_store.go:35 +
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).configure(0xc420cb1740, 0xc420c93a70, 0x0, 0x0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:378 +0x1b4
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.Init(0x55cd8bab88e0, 0xc420cbd400, 0xc420c93a70, 0x0, 0xffffffffffffffff)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:161 +0xa2
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork/drvregistry.(*DrvRegistry).AddDriver(0xc420cbd400, 0x55cd8ae4579c, 0x6, 0x55cd8ba99bb8, 0xc420c93a70, 0xc42003c28
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drvregistry/drvregistry.go:72 +0x48
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/docker/libnetwork.New(0xc42003c280, 0x9, 0x10, 0xc42068b2c0, 0xc4208785d0, 0xc42003c280, 0x9)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/controller.go:220 +0x4a5
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/daemon.(*Daemon).initNetworkController(0xc4201dc5a0, 0xc42068d400, 0xc4208785d0, 0xc4201dc5a0, 0xc420c14998, 0xc4208785d0, 0xc420878570)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/daemon/daemon_unix.go:807 +0xa9
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/daemon.(*Daemon).restore(0xc4201dc5a0, 0xc420181500, 0xc4208c8000)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/daemon/daemon.go:423 +0xd6f
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/daemon.NewDaemon(0x55cd8bad40e0, 0xc420181500, 0xc42068d400, 0xc42068b2c0, 0x0, 0x0, 0x0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/daemon/daemon.go:991 +0x2c4b
Okt 28 16:56:53 ucs dockerd[17701]: main.(*DaemonCli).start(0xc42068adb0, 0xc4201d25a0, 0x0, 0x0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/cmd/dockerd/daemon.go:180 +0x74f
Okt 28 16:56:53 ucs dockerd[17701]: main.runDaemon(0xc4201d25a0, 0xc420194700, 0x0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/cmd/dockerd/docker_unix.go:7 +0x47
Okt 28 16:56:53 ucs dockerd[17701]: main.newDaemonCommand.func1(0xc4205fcc80, 0xc42068ad50, 0x0, 0x3, 0x0, 0x0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/cmd/dockerd/docker.go:29 +0x5d
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0xc4205fcc80, 0xc42003a0d0, 0x3, 0x3, 0xc4205fcc80, 0xc42003a0d0)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:762 +0x46a
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4205fcc80, 0x55cd8baa9570, 0x55cd8b669680, 0x55cd8baa9580)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:852 +0x30c
Okt 28 16:56:53 ucs dockerd[17701]: github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4205fcc80, 0xc42000e020, 0x55cd89918a0f)
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:800 +0x2d
Okt 28 16:56:53 ucs dockerd[17701]: main.main()
Okt 28 16:56:53 ucs dockerd[17701]: /var/build/temp/tmp.exBUe9zdYr/pbuilder/docker.io-18.09.7/.gopath/src/github.com/docker/docker/cmd/dockerd/docker.go:70 +0xa2
Okt 28 16:56:53 ucs systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Okt 28 16:56:53 ucs systemd[1]: Failed to start Docker Application Container Engine.
– Subject: Unit docker.service has failed
– Defined-By: systemd
– Support: Debian -- User Support

– Unit docker.service has failed.

– The result is failed.
Okt 28 16:56:53 ucs systemd[1]: docker.service: Unit entered failed state.
Okt 28 16:56:53 ucs systemd[1]: docker.service: Failed with result ‘exit-code’.

What can i do to make docker start?

Kind regards Jochen

Hello,

today i got one step forward. After deinstall and install docker.io the docker service is starting now. But the nextcloud service don’t start.

`-- Subject: Unit docker-app-nextcloud.service has begun start-up
– Defined-By: systemd
– Support: Debian -- User Support

– Unit docker-app-nextcloud.service has begun starting up.
Nov 02 10:08:30 ucs docker-app-nextcloud[15707]: /etc/init.d/docker-app-nextcloud: Zeile 47: /usr/lib/univention-docker/univention-docker_lib.sh: Datei oder Verzeichnis nicht gefunden
Nov 02 10:08:30 ucs systemd[1]: docker-app-nextcloud.service: Control process exited, code=exited status=1
Nov 02 10:08:30 ucs systemd[1]: Failed to start LSB: Start the Container for nextcloud.
– Subject: Unit docker-app-nextcloud.service has failed
– Defined-By: systemd
– Support: Debian -- User Support

– Unit docker-app-nextcloud.service has failed.

– The result is failed.
Nov 02 10:08:30 ucs systemd[1]: docker-app-nextcloud.service: Unit entered failed state.
Nov 02 10:08:30 ucs systemd[1]: docker-app-nextcloud.service: Failed with result ‘exit-code’.
`

The complete univention-docker directory is missing. How can i restore it?

Kind regard

Jochen

Mastodon