Gladys Assistant v4.8.3 is available, and enables a new encoding feature for Gladys Plus!

Hello everyone!

I mentioned it at the beginning of the week with the release of Gladys Assistant v4.8.2, I made a fairly significant fix on Gladys Plus. I’m sharing the message I sent by email to all Gladys Plus contributors:

Gladys Plus Update

In Gladys Plus, you know that all traffic is end-to-end encrypted.

I realized that when encrypted requests were too large, the encryption failed because the encoding function was not designed to support large messages.

To fix this bug, I had to change the encoding mechanism, but as you can imagine, this mechanism is not backward compatible.

To ensure service continuity, I have therefore scheduled a two-step update:

  • A first update went out at the beginning of the week, Gladys Assistant 4.8.2. This update brings this new encoding function, but does not activate it. The goal is for your instances to be ready to encrypt/decrypt these « next-generation » messages in due time.

  • A second update will go out tomorrow, and will « activate » this new function: your instances will start encrypting requests with the new encoding function and decrypting requests coming from the interface.

How to update?

If you installed Gladys with the official Raspberry Pi OS image, your instances will update automatically in the coming hours. This can take up to 24 hours, no need to worry.

If you installed Gladys with Docker, check that you are using Watchtower (See the documentation)

Hello,

After the update, the zigbee2mqtt integration no longer works
in the zigbee logs (docker logs -f gladys-z2m-zigbee2mqtt)

Using '/app/data' as data directory

#

# Fatal error in , line 0
# unreachable code
#

And I have this error for all my zigbee devices.

ps: I won’t be able to respond until Sunday

Hello, this has already been answered here:

The issue doesn’t really come from Gladys but from the z2m project which has also been updated (around the first of every month).
Basically, they added a new dependency and on Buster, you need to add it manually.

Edit: first @VonOx :winking_face_with_tongue:

I hadn’t seen the topic. At least everyone will have the link.

This confirms it: don’t do updates on Fridays!

Especially on a Friday, April 1st (what a bad idea with these two combinations together :open_mouth:)

I had the same problem as @mikael, resolved by installing libseccomp2. Thanks @spenceur.

It’s kind of you, but the laurels go to @MisterBin :slight_smile:

Thanks for the link that allowed me to fix the problem in 1 minute.

The base haha