Page 1 of 1

Debian CM3588: Cannot install Home Assistant Supervised

Posted: Tue Jun 18, 2024 1:38 pm
by DragonFly
As said, I'm tying to install Home Assistant Supervised on the CM3588. As Debian is the only supported distro for installing a supervised version, I'd try my luck.

Images used:
- rk3588-sd-debian-bookworm-core-6.1-arm64-20240522.img
- rk3588-sd-debian-bullseye-desktop-6.1-arm64-20240522.img

Every prerequisite runs fine, like installing dependencies, apparmor and Docker CE. Docker initializes fine and the service is running. However, after downloading and installing the HA .deb file, it fails when restarting the docker service.

During install the HA package adds a /etc/docker/daemon.json file (previously a blank file):

Code: Select all

{
    "log-driver": "journald",
    "storage-driver": "overlay2",
    "ip6tables": true,
    "experimental": true,
    "log-opts": {
        "tag": "{{.Name}}"
    }
}

After that, the installer tries to restart the docker service, resulting in an error. Running sudo dockerd --debug, I get (summary):

Code: Select all

{[graphdriver] trying configured driver: overlay2
failed to mount overlay: invalid argument     storage-driver=overlay2
failed to start daemon: error initializing graphdriver: driver not supported: overlay2}

This happens on all instances I tried: Minimal, desktop, bookworm, bullseye etc. Could someone explain what could be wrong and how to correct it, if possible?

Note: Every other docker management system, Like OMV or CasaOS run fine (with a blank /etc/docker/daemon.json)

Re: Debian CM3588: Cannot install Home Assistant Supervised

Posted: Wed Jul 17, 2024 11:17 am
by xrs
You can try changing the configuration to other storage drivers:

https://docs.docker.com/storage/storage ... ge-driver/

Re: Debian CM3588: Cannot install Home Assistant Supervised

Posted: Fri Aug 09, 2024 7:15 am
by bill007

Code: Select all

sudo passwd root  # Create a password for the root user if it hasn't been done before.
su - root -c 'echo "overlayfs=disable" > /.init_wipedata'
sudo reboot



from https://wiki.friendlyelec.com/wiki/inde ... _on_Debian

Re: Debian CM3588: Cannot install Home Assistant Supervised

Posted: Fri Aug 09, 2024 7:17 am
by bill007

Code: Select all

sudo passwd root  # Create a password for the root user if it hasn't been done before.
su - root -c 'echo "overlayfs=disable" > /.init_wipedata'
sudo reboot


see:https://wiki.friendlyelec.com/wiki/index.php/How_to_Install_Docker_on_Debian

Re: Debian CM3588: Cannot install Home Assistant Supervised

Posted: Mon Sep 02, 2024 3:42 pm
by Pharizna
@dragonfly

Same problem here with the new https://wiki.friendlyelec.com/wiki/index.php/NanoPi_M6 :(

I tried with Debian 12 core ... Debian 12 + Gnomes ... but the problem remains: Docker, docker compose, etc are working fine but Home Assistant Supervised not :(

Have you solved the problem with your CM3588?