Gladys becomes compatible with Debian 11/Ubuntu > 20.04 + New Synology documentation

Hello everyone!

I am happy to announce Gladys Assistant v4.8.1, a new version that does not bring major features, but brings many long-term changes to improve the distribution of the project :grinning:

The three important things about this version:

  • Compatibility with Cgroup v2, which makes Gladys compatible with Debian 11 and Ubuntu > 20.04
  • Gladys now launches the containers of the services using Docker (MQTT & Zigbee2mqtt) in the same Docker volume as the Gladys container, making it easier for Gladys users on Synology NAS / Unraid.
  • A bugfix package, detailed in the article below.

I wrote an article on the blog with more complete explanations:

New Synology Docker Documentation

For those who want to launch Gladys on a Synology NAS, @VonOx offers a new tutorial, this time published on the official site with the right parameters to launch Gladys with Docker:

In the long term, we would like to have a Synology application for compatible NAS (so it’s even simpler, no CLI to do), but it’s already a first step that makes launching Gladys easier.

Thanks to everyone who contributed to this version!

I’m always impressed by the project’s responsiveness to new developments/requests!
Bravo to everyone!
One more question because I don’t remember
 Should it work on an RPi x64 platform?

Thanks @GBoulvin!

It’s a lot of work to integrate all this, but we’re managing it :slight_smile:

Yes, it works on a 64-bit Rpi.

@VonOx has even built Raspberry Pi OS 64-bit Bullseye images with Gladys pre-installed. We’re soon going to move into the tester recruitment phase, and finally, we’ll offer an image.

In any case, if you install a « bare Â» 64-bit Raspberry Pi OS on your Pi, and you install Gladys with Docker, it will work.

Faster than light! :stuck_out_tongue:

Docker images are compatible with the following architectures:

  • amd64
  • arm/v6
  • arm/v7
  • arm64

Top-notch this update!

I can’t wait for a day off
 :wink:

Good evening @pierre-gilles @VonOx @AlexTrovato

I just installed Gladys on my Synology NAS DS218+ with DSM 7.0.1-42218 following Vincent’s tutorial.

I had to add the /etc/timezone file before the installation script, otherwise everything went well.

At my end, the activation of zigbee2mqtt does not work, the containers are well launched, my dongle is well recognized, here are the screenshots:

The USB ports are not listed but the dongle is recognized whatever the selection /dev/ttySx

image

image

I haven’t done any other integration tests.

This is normal, there is no USB serial driver on Synology.

You need to install it manually → http://www.jadahl.com

@VonOx I have successfully installed the USB drivers from jadahl.com, but activation still does not work:

and the containers are indeed running.

Ok but with logs it’s better

docker logs gladys-z2m-zigbee2mqtt

thanks @VonOx here are the logs:

Oh that’s the same error I’m having.
More and more people are experiencing this error.

I haven’t been able to find a solution yet.

Perhaps it’s not enough power to supply the Pi, the SSD, and the Zigbee key in my case.
I ordered a powered USB hub to connect the SSD and the key, but it’s worse, nothing happens now.

This can’t be related to the power supply since you’re on a NAS and you have the same error.

Hello,
For information, I have an RPI3b+ with an SSD (without external power supply, because if I plug it in, it crashes the SSD) + a Zigbee Sonoff + an RFlink, and I have no voltage drop issues. The Rpi is powered by a 5v-3A power supply.

You confirm my suspicions, I wasn’t convinced by power supply issues.
But by running the command dmesg -s 1024 there is indeed an under voltage detected.

I don’t know where to look anymore.

Yes, if you have an under voltage detected, I had that for a while, but I had a 2-amp power supply, that’s why I switched to a 3-amp power supply and since then I no longer have an under voltage detected.
Change the power supply, it may have weakened.

What if you connect the SSD directly and the rest via the hub?