HuckleberryLovesYou / Homeassistant-Supervised-on-Raspberry-Pi-5

This is a tutorial about the installation of Homeassistant Supervised on your Raspberry Pi 5 running Raspberry Pi OS 64bit
34 stars 10 forks source link

'error="cgroups: memory cgroup not supported on this system"' in logs #9

Closed HuckleberryLovesYou closed 2 months ago

HuckleberryLovesYou commented 2 months ago

Created new issue out of issue #1 by corgan2222

If you get log messages like:

level=error msg="add cg to OOM monitor" error="cgroups: memory cgroup not supported on this system"

Fix it by adding "cgroup_memory=1" and "cgroup_enable=memory" in /boot/firmware/cmdline.txt:

sudo nano /boot/firmware/cmdline.txt

Add this to cmdline.txt:

cgroup_memory=1 cgroup_enable=memory

And now reboot your system:

sudo reboot

For further information, take a look at his message.

Thanks corgan2222