Gladys v4.1.1 is available!

Hello everyone!

A new update is available: Gladys v4.1.1.

This update mainly contains stability fixes.

Fixing a Gladys Plus backup bug

@Terdious reported the bug.

Actually, I realized that the backup utility provided by sqlite works in a rather strange way that I had not anticipated when coding the feature :smiley:

The utility was indeed designed to be used on a « hot » database (while the database is in use), however, as long as new data arrives, the utility restarts the backup and thus, some backups could continue indefinitely when the instance is constantly solicited (this was the case with @Terdious who has a large installation).

I therefore added a transaction before the backup, which locks the DB for the duration of the backup.

By making the change, backups are much faster and no longer run indefinitely.

Bluetooth service improvement

@AlexTrovato made some corrections to the Bluetooth service to improve the stability and performance of the service.

The complete changelog is available on GitHub.

How to update?

If you installed Gladys with the official Raspbian 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)

Congratulations to everyone who participated in this release!

3 Likes