Skip to main content

Gladys Assistant is now compatible with Debian 11 & Ubuntu > 20.04

· 3 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hi everyone,

I'm excited to announce that we just released the compatibility with Debian 11 and Ubuntu > 20.04.

We also released a bunch of improvement that will make it more easy to install Gladys on a NAS (Synology/Unraid).

No new features were added in this release, it's a lot of long-term work & bugfixes 🙂

What's new in Gladys Assistant 4.8.1?

CGgroup v1 to v2

As Gladys runs entirely in Docker, it could seem easy: Gladys should be able to run smoothly on any system, right?

But Gladys works with the Docker daemon and start new containers for 2 integrations: MQTT & Zigbee2mqtt.

So it's a bit tied to the host on this part.

In Gladys, we need to get the container ID of the currently running Gladys container.

We were using CGroup v1 in Debian 10 to get the currently running container ID.

What we would do is that we would read the file /proc/self/cgroup, and we would get something like this:


Then, we would parse this file to extract the container ID (the part after /docker/).

In Debian 11, CGroups are now in v2, and works a bit differently, the same file looks like this:


So the parsing is a bit different to get the container ID, but it still there!

We wrote some custom code for Cgroup v1 & v2, and now support both.

Custom volumes are now used by integrations

Let's imagine you start Gladys in a customer Docker volume:

-v /my_special_folder:/var/lib/gladysassistant

In Gladys, you might want to start Zigbee2mqtt/MQTT in the same folder, and it's now possible.

Gladys will take the same the folder on host, and use it for the Zigbee2mqtt & MQTT integration.

Lots of bugfixes

  • Fix a bug where updating a camera device would result in the device being polled several times at its poll frequency (#1463)
  • Fix a bug in scene: The "Try" HTTP Request button was not taking headers into account. (#1475)
  • Fix a bug on the dashboard: the dashboard name was not updated in the list when updated. (#1463)
  • Add missing translations for the vibration sensor. (#1461)

How to upgrade?

If you installed Gladys with the official Raspberry Pi OS image, your instance will update automatically in the coming hours. It can take up to 24 hours, don't panic.

If you installed Gladys with Docker, make sure you are using Watchtower. See the documentation.

With Watchtower, Gladys will update automatically.

Thanks to contributors

Thanks to everyone who contributed to this release and gave their feedback on the forum!

If you want to talk about this release, you're all welcome on the forum !

Join the community, and get the latest news about the project!

Emails are sent by Pierre-Gilles Leymarie, founder of the project. You can unsubscribe at any time 🙂