Downgrade to cgroup v1

Started by oryx_r, January 29, 2024, 05:17:02 PM

Previous topic - Next topic


I want install home assistant supervised, it's ok but I have a warning :

Le système n'est pas pris en charge car la mauvaise version de Docker CGroup est utilisée. Utilisez le lien pour connaître la version correcte et savoir comment résoudre ce problème.

Can you help me to put cgroup v1 and not v2.


To resolve the warning about the Docker CGroup version for Home Assistant Supervised, you need to switch from CGroup v2 to CGroup v1. Here's how you can do it:
1. Edit the GRUB Configuration:
+) Open a terminal and edit the GRUB configuration file:
sudo nano /etc/default/grub
+) Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT and add systemd.unified_cgroup_hierarchy=0 to the end of the line. It should look something like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.unified_cgroup_hierarchy=0"
2. Update GRUB:
Save the file and update GRUB with the following command:
sudo update-grub
3. Reboot Your System:
Reboot your system to apply the changes:
sudo reboot
After rebooting, your system should use CGroup v1, and the warning in Home Assistant Supervised should be resolved.