I just fixed the error by recreating the file gladys-production.duckdb.wal on Gladys startup. Well, I lost the sensors’ state history, a shame for the temperature and humidity statistics
Gladys (and my home automation ecosystem) runs on a Rock64 (equivalent to a Raspberry Pi 4), hosted on an SSD. I’ll dig through the available logs, but since it’s resolved, I won’t spend too much time…
Normally, none of that is needed, Gladys uses robust technologies (SQLite and DuckDB) which are both ACID-compliant (in French → Propriétés ACID — Wikipédia).
A power outage usually has no impact on the reliability of these database systems, which are designed for that.
I had a power cut this morning (first time in a very long time ), and everything resumed smoothly even though I have a heavily loaded database.
If @jean_bruder has to invest in something, it would rather be a robust mini-PC, I’d say
The Beelink mini S13 is a very good model that I recommend (16 GB of RAM, low-power Intel N150 CPU, 512 GB SSD). That’s what I offer via the starter kit but it can be found on plenty of other sites