Hi
I have tried installing this multiple times but still getting the same error of:
Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1
I worked through the manual install for superviser including installing docker, etc and everything completes but upon installing https://github.com/home-assistant/supervised-installer/releases/download/1.3.1/homeassistant-supervised.deb I still get this error thrown part way through the install.
I am running RaspberryPI 4 OS 64bit OS and trying to install this manually onto it…
3 Likes
gandy24
November 21, 2022, 4:23pm
2
Hi,
Unfortunately, I don’t have a fix for this but wanted to mention that I am having the same issue. However, I had the issue whilst on Raspberry PI OS 32-bit also. I had a number of repairs showing and so decided to wipe my SD card and start again with 64-bit. I see the same warning with cgroup when installing homeassistant-supervised.
Do you still have this problem or do you have a fix?
I also have an AppArmour issue.
gandy24
November 21, 2022, 4:46pm
3
I have fixed this issue by adding: systemd.unified_cgroup_hierarchy=0
to /boot/cmdline.txt
.
I fixed my AppArmor issue by adding: apparmor=1 security=apparmor
to the same file.
Hope this helps.
3 Likes
rinners
(rinners)
January 10, 2023, 8:55am
4
Is it not in /proc/cmdline ?
rinners
(rinners)
January 10, 2023, 9:09am
5
What looks like solved all 3 repairs was just updating the supervisor as per these commands:
The commands work, you only need to install the last one anyways. But running all the commands will fix that issue.
apt-get install systemd-journal-remote -y
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb
I didn’t realize the supervisor needed to be updated until I saw this in the terminal:
Unpacking homeassistant-supervised (1.4.1) over (1.1.0) …
I’m hoping and assuming it also fixed the app-armor failed error on start up (even though the service was running anyway)