Docker CGroup1 instead of CGroup2 on PINE64 with DietPi (only dietpiENV.txt)


my Homeassistant Supervisor installation is now supported!!! Iám happy now!

echo "extraargs=apparmor=1 security=apparmor" >> /boot/dietpiEnv.txt
sed -i -e "1 s/$/ systemd.unified_cgroup_hierarchy=0/" /boot/dietpiEnv.txt
update-initramfs -u
df -aT | grep cgroup

Good luck! Greatings from Germany!

The requirements are quite clear that only Debian itself is supported. DietPi isn’t supported.

The installer also warns that

This method is considered advanced and should only be used if one is an expert in managing a Linux operating system, Docker and networking.

See my Post. I have it now working. DietPi is an Debian 11 Bullseye System.

No, it’s based on Debian, it isn’t Debian and it isn’t supported for Supervised.

System Information

version core-2023.5.3
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.11
os_name Linux
os_version 5.15.93-sunxi64
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Debian GNU/Linux 11 (bullseye)
update_channel stable
supervisor_version supervisor-2023.05.dev0901
agent_version 1.5.1
docker_version 24.0.0
disk_total 235.0 GB
disk_used 1.1 GB
healthy true
supported true
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.15.0), File editor (5.6.0), Mosquitto broker (6.2.1), InfluxDB (4.6.0), Grafana (8.3.0), MariaDB (2.6.1), TasmoAdmin (0.24.3), Node-RED (14.2.0)
dashboards 1
resources 0
mode auto-gen
oldest_recorder_run 19. Mai 2023 um 10:43
current_recorder_run 19. Mai 2023 um 12:50
estimated_db_size 0.64 MiB
database_engine mysql
database_version 10.6.12

If DietPi supports KVM try the following installation method (enables a full supported HAOS installation alongside anything else DietPi supports):