Hey,
I’ve done an HassOS update through the webinterface last Friday on my RPi4 and since then my installation isn’t working anymore. The OS starts
and it gets an IP but I can’t login to the machine over SSH or over the webinterface.
So I hook up a monitor to the RPi4 to check. It seems that one of the containers wasn’t updated correctly so
the supervisor wouldn’t start, leaving me in the emergency console eventually.
I’ve tried to manually update the supervisor container by pulling from the Docker hub but didn’t work either.
What I now have in the logs is this:
– Journal begins at Fri 2021-08-06 14:43:07 UTC. –
Nov 07 16:32:10 homeassistant dockerd[482]: time=“2021-11-07T16:32:10.093745427Z” level=error msg=“error unmounting /mnt/data/docker/overlay2/80a2d56b773ad10ee7f172d9d6aac98856dd12624dde6f1a96b50111686ab3cc-init/merged: invalid argument” storage-driver=overlay2
Nov 07 16:32:10 homeassistant dockerd[482]: time=“2021-11-07T16:32:10.094878129Z” level=error msg=“Handler for POST /v1.41/containers/create returned error: error creating overlay mount to /mnt/data/docker/overlay2/80a2d56b773ad10ee7f172d9d6aac98856dd12624dde6f1a96b50111686ab3cc-init/merged: no such file or directory”
Nov 07 16:32:10 homeassistant hassos-supervisor[1833]: Error response from daemon: error creating overlay mount to /mnt/data/docker/overlay2/80a2d56b773ad10ee7f172d9d6aac98856dd12624dde6f1a96b50111686ab3cc-init/merged: no such file or directory
Nov 07 16:32:10 homeassistant kernel: overlayfs: failed to resolve ‘/mnt/data/docker/overlay2/l/XVJUUQB55DKV47WMMUXQ3OX5X2’: -2
Nov 07 16:32:10 homeassistant systemd[1]: hassos-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 16:32:10 homeassistant systemd[1]: hassos-supervisor.service: Failed with result ‘exit-code’.
Nov 07 16:32:15 homeassistant systemd[1]: hassos-supervisor.service: Scheduled restart job, restart counter is at 7.
Nov 07 16:32:15 homeassistant systemd[1]: Stopped HassOS supervisor.
Nov 07 16:32:15 homeassistant systemd[1]: Starting HassOS supervisor…
Nov 07 16:32:17 homeassistant docker[1847]: Error response from daemon: No such container: hassio_supervisor
Nov 07 16:32:15 homeassistant systemd[1]: Started HassOS supervisor.
Nov 07 16:32:17 homeassistant hassos-supervisor[1864]: Error: No such object: hassio_supervisor
Nov 07 16:32:17 homeassistant hassos-supervisor[1854]: [WARNING] Supervisor container did not remove the startup marker file. Assuming container image or container corruption.
Nov 07 16:32:17 homeassistant hassos-supervisor[1879]: Error: No such container: hassio_supervisor
Nov 07 16:32:17 homeassistant hassos-supervisor[1896]: Error: No such image: sha256:ce2c6e24c65d179f23410bff7ef3743b18c5ef0206f6b66896c7b67b8b885a44
Nov 07 16:32:17 homeassistant hassos-supervisor[1896]: sha256:4a2518e745b825ffe9c2a281895379b3a3b41dc7b69751429d738ee961b3b710
Nov 07 16:32:17 homeassistant hassos-supervisor[1854]: [WARNING] Supervisor image missing, downloading a fresh one: 2021.10.8
Nov 07 16:32:23 homeassistant hassos-supervisor[1909]: 2021.10.8: Pulling from homeassistant/aarch64-hassio-supervisor
Nov 07 16:32:23 homeassistant hassos-supervisor[1909]: Digest: sha256:a97e123edd9edaed02bc0fe024aed810c971632e8bb58158e077a2bea7fb2959
Nov 07 16:32:23 homeassistant hassos-supervisor[1909]: Status: Image is up to date for homeassistant/aarch64-hassio-supervisor:2021.10.8
Nov 07 16:32:23 homeassistant hassos-supervisor[1909]: docker.io/homeassistant/aarch64-hassio-supervisor:2021.10.8
Nov 07 16:32:24 homeassistant dockerd[482]: time=“2021-11-07T16:32:24.611406647Z” level=error msg=“Handler for GET /v1.41/images/homeassistant/aarch64-hassio-supervisor/json returned error: readlink /mnt/data/docker/overlay2/l/XVJUUQB55DKV47WMMUXQ3OX5X2: no such file or directory”
Nov 07 16:32:24 homeassistant hassos-supervisor[1933]: Error response from daemon: readlink /mnt/data/docker/overlay2/l/XVJUUQB55DKV47WMMUXQ3OX5X2: no such file or directory
Nov 07 16:32:24 homeassistant hassos-supervisor[1854]: [INFO] Creating a new Supervisor container…
Nov 07 16:32:24 homeassistant dockerd[482]: time=“2021-11-07T16:32:24.706727093Z” level=error msg=“error unmounting /mnt/data/docker/overlay2/18a188ac5e8a366d7cb678db51e023e8a275b15be1a01a230f5cff2fc807f524-init/merged: invalid argument” storage-driver=overlay2
Nov 07 16:32:24 homeassistant dockerd[482]: time=“2021-11-07T16:32:24.707932008Z” level=error msg=“Handler for POST /v1.41/containers/create returned error: error creating overlay mount to /mnt/data/docker/overlay2/18a188ac5e8a366d7cb678db51e023e8a275b15be1a01a230f5cff2fc807f524-init/merged: no such file or directory”
Nov 07 16:32:24 homeassistant kernel: overlayfs: failed to resolve ‘/mnt/data/docker/overlay2/l/XVJUUQB55DKV47WMMUXQ3OX5X2’: -2
Nov 07 16:32:24 homeassistant hassos-supervisor[1941]: Error response from daemon: error creating overlay mount to /mnt/data/docker/overlay2/18a188ac5e8a366d7cb678db51e023e8a275b15be1a01a230f5cff2fc807f524-init/merged: no such file or directory
Nov 07 16:32:24 homeassistant systemd[1]: hassos-supervisor.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 16:32:24 homeassistant systemd[1]: hassos-supervisor.service: Failed with result ‘exit-code’.
Nov 07 16:32:29 homeassistant systemd[1]: hassos-supervisor.service: Scheduled restart job, restart counter is at 8.
Nov 07 16:32:29 homeassistant systemd[1]: Stopped HassOS supervisor.
Nov 07 16:32:29 homeassistant systemd[1]: Starting HassOS supervisor…
Nov 07 16:32:29 homeassistant systemd[1]: Started HassOS supervisor.
Nov 07 16:32:30 homeassistant docker[1949]: Error response from daemon: No such container: hassio_supervisor
Every attempt to run the command line client just tells me that hassio_cli container isn’t running.
$ ha help
Error: no such container hassio_cli
What’s the prefered way to recover from this?
I’ve found a few (older) comments in the forum suggesting to download and rerun the installation scripts but those don’t seem to work
anymore as also the installation procedure has changed.
Any help would be much appreciated.
Cheers
Andre