My hassio installation does not start anymore.
I see an error in the supervisor service logs: systemd[1]: Dependency failed for Resin supervisor.
. In this thread it is stated that this could be caused by a full sd card. And when I run journalctl
I indeed see the line dockerd[1177]: fatal error: out of memory
.
But the disk seems to have plenty space left, so that does not make sense to me.
Can any help me with that issue?
Thanks in advance!
Logs
supervisor service on the Host OS
root@hassio:~# journalctl -f -u resin-supervisor.service
-- Logs begin at Sun 2017-09-17 13:49:22 UTC. --
Jul 27 08:46:02 hassio systemd[1]: Dependency failed for Resin supervisor.
Jul 27 08:46:02 hassio systemd[1]: resin-supervisor.service: Job resin-supervisor.service/start failed with result 'dependency'.
Hass.io supervisor logs
root@hassio:~# docker logs resin_supervisor
error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.31/containers/resin_supervisor/logs?stderr=1&stdout=1&tail=all: read unix @->/var/run/docker.sock: read: connection reset by peer
Home Assistant logs
root@hassio:~# docker logs homeassistant
error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.31/containers/homeassistant/logs?stderr=1&stdout=1&tail=all: read unix @->/var/run/docker.sock: read: connection reset by peer
Diskspace
root@hassio:~# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 481M 0 481M 0% /dev
/dev/mmcblk0p2 295M 226M 49M 83% /
/dev/disk/by-label/resin-state 19M 203K 17M 2% /mnt/state
tmpfs 487M 0 487M 0% /dev/shm
tmpfs 487M 6.6M 480M 2% /run
tmpfs 487M 0 487M 0% /sys/fs/cgroup
tmpfs 487M 0 487M 0% /tmp
tmpfs 487M 36K 487M 1% /var/volatile
/dev/mmcblk0p1 40M 26M 15M 63% /mnt/boot
/dev/mmcblk0p6 28G 2.1G 24G 8% /mnt/data
journalctl -xe
root@hassio:~# journalctl -xe
Jul 27 08:52:33 hassio dockerd[1177]: time="2018-07-27T08:52:33.935739786Z" level=info msg="libcontainerd: new containerd process, pid: 1186"
Jul 27 08:52:36 hassio dockerd[1177]: runtime: out of memory: cannot allocate 536870912-byte block (542113792 in use)
Jul 27 08:52:36 hassio dockerd[1177]: fatal error: out of memory
Jul 27 08:52:36 hassio dockerd[1177]: runtime stack:
Jul 27 08:52:36 hassio dockerd[1177]: runtime.throw(0xf08098, 0xd)
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/panic.go:566 +0x78
Jul 27 08:52:36 hassio dockerd[1177]: runtime.largeAlloc(0x1ffffe00, 0x11d50001, 0x11ae6db0)
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/malloc.go:798 +0xc8
Jul 27 08:52:36 hassio dockerd[1177]: runtime.mallocgc.func1()
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/malloc.go:691 +0x34
Jul 27 08:52:36 hassio dockerd[1177]: runtime.systemstack(0x15c2d00)
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/asm_arm.s:247 +0x80
Jul 27 08:52:36 hassio dockerd[1177]: runtime.mstart()
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/proc.go:1079
Jul 27 08:52:36 hassio dockerd[1177]: goroutine 1 [running]:
Jul 27 08:52:36 hassio dockerd[1177]: runtime.systemstack_switch()
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/asm_arm.s:192 +0x4 fp=0x11ae6ce4 sp=0x11ae6ce0
Jul 27 08:52:36 hassio dockerd[1177]: runtime.mallocgc(0x1ffffe00, 0xdb2310, 0x11ae6d01, 0x73348)
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/malloc.go:692 +0xe58 fp=0x11ae6d84 sp=0x11ae6ce4
Jul 27 08:52:36 hassio dockerd[1177]: runtime.makeslice(0xdb2310, 0x1ffffe00, 0x0, 0x1ffffe00, 0x0, 0x0, 0x0, 0x0)
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/slice.go:57 +0x130 fp=0x11ae6dac sp=0x11ae6d84
Jul 27 08:52:36 hassio dockerd[1177]: bytes.makeSlice(0x1ffffe00, 0x0, 0x0, 0x0)
Jul 27 08:52:36 hassio dockerd[1177]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/bytes/buffer.go:198 +0x7c fp=0x11ae6ddc sp=0x11ae6dac
Jul 27 08:52:36 hassio systemd[1]: [[0;1;39mdocker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT[[0m
Jul 27 08:52:36 hassio systemd[1]: [[0;1;31mFailed to start Docker Application Container Engine.[[0m
Jul 27 08:52:36 hassio systemd[1]: [[0;1;39mdocker.service: Unit entered failed state.[[0m
Jul 27 08:52:36 hassio systemd[1]: [[0;1;39mdocker.service: Failed with result 'exit-code'.[[0m
Jul 27 08:52:36 hassio systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 27 08:52:36 hassio systemd[1]: Stopped Docker Application Container Engine.
Jul 27 08:52:36 hassio systemd[1]: Closed Docker Socket for the API.
Jul 27 08:52:36 hassio systemd[1]: Stopping Docker Socket for the API.
Jul 27 08:52:36 hassio systemd[1]: Starting Docker Socket for the API.
Jul 27 08:52:36 hassio systemd[1]: Listening on Docker Socket for the API.
Jul 27 08:52:36 hassio systemd[1]: Starting Docker Application Container Engine...
Jul 27 08:52:36 hassio dockerd[1202]: time="2018-07-27T08:52:36.753037722Z" level=info msg="libcontainerd: new containerd process, pid: 1211"
Jul 27 08:52:39 hassio dockerd[1202]: runtime: out of memory: cannot allocate 536870912-byte block (542113792 in use)
Jul 27 08:52:39 hassio dockerd[1202]: fatal error: out of memory
Jul 27 08:52:39 hassio dockerd[1202]: runtime stack:
Jul 27 08:52:39 hassio dockerd[1202]: runtime.throw(0xf08098, 0xd)
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/panic.go:566 +0x78
Jul 27 08:52:39 hassio dockerd[1202]: runtime.largeAlloc(0x1ffffe00, 0x11c86001, 0x11afadb0)
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/malloc.go:798 +0xc8
Jul 27 08:52:39 hassio dockerd[1202]: runtime.mallocgc.func1()
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/malloc.go:691 +0x34
Jul 27 08:52:39 hassio dockerd[1202]: runtime.systemstack(0x11914a00)
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/asm_arm.s:247 +0x80
Jul 27 08:52:39 hassio dockerd[1202]: runtime.mstart()
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/proc.go:1079
Jul 27 08:52:39 hassio dockerd[1202]: goroutine 1 [running]:
Jul 27 08:52:39 hassio dockerd[1202]: runtime.systemstack_switch()
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/asm_arm.s:192 +0x4 fp=0x11aface4 sp=0x11aface0
Jul 27 08:52:39 hassio dockerd[1202]: runtime.mallocgc(0x1ffffe00, 0xdb2310, 0x11afad01, 0x73348)
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/malloc.go:692 +0xe58 fp=0x11afad84 sp=0x11aface4
Jul 27 08:52:39 hassio dockerd[1202]: runtime.makeslice(0xdb2310, 0x1ffffe00, 0x0, 0x1ffffe00, 0x0, 0x0, 0x0, 0x0)
Jul 27 08:52:39 hassio dockerd[1202]: /yocto/resin-board/build/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/src/runtime/slice.go:57 +0x130 fp=0x11afadac sp=0x11afad84
Jul 27 08:52:39 hassio dockerd[1202]: bytes.makeSlice(0x1ffffe00, 0x0, 0x0, 0x0)
Jul 27 08:52:39 hassio systemd[1]: [[0;1;39mdocker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT[[0m
Jul 27 08:52:39 hassio systemd[1]: [[0;1;31mFailed to start Docker Application Container Engine.[[0m
Jul 27 08:52:39 hassio systemd[1]: [[0;1;39mdocker.service: Unit entered failed state.[[0m
Jul 27 08:52:39 hassio systemd[1]: [[0;1;39mdocker.service: Failed with result 'exit-code'.[[0m
Jul 27 08:52:39 hassio systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 27 08:52:39 hassio systemd[1]: Stopped Docker Application Container Engine.
Jul 27 08:52:39 hassio systemd[1]: Closed Docker Socket for the API.
Jul 27 08:52:39 hassio systemd[1]: Stopping Docker Socket for the API.
Jul 27 08:52:39 hassio systemd[1]: Starting Docker Socket for the API.
Jul 27 08:52:39 hassio systemd[1]: Listening on Docker Socket for the API.
Jul 27 08:52:39 hassio systemd[1]: Starting Docker Application Container Engine...
Jul 27 08:52:39 hassio dockerd[1226]: time="2018-07-27T08:52:39.992048114Z" level=info msg="libcontainerd: new containerd process, pid: 1235"