@guim31 that’s indeed the case, we now use the raw data instead of precomputed data, and DuckDB does live sampling on the entire dataset so there are fewer « hiccups » when switching between different periods like it used to be!
I imagine it’s simply a check at Gladys startup, but those should be instantaneous because there’s nothing left to migrate. The task starts and checks whether any data still needs to be migrated.
Pi 3 + SSD
I had a major crash at the beginning of the year, reinstalled Gladys from a backup (disk image), and since then it crashes approximately every 9 days.
For me:
Migration to DuckDB around 5:30 PM last night. Success
Gladys backup started 40 minutes ago. It has just finished.
Size yesterday: 6.79 GB
Size 24 minutes ago: 6.93 GB ??
Yes, a task runs at each Gladys startup to check whether it needs to migrate or not, that’s normal
Great
There must be a hardware issue on your side, it’s really very, very rare for Gladys to crash — it never happened to me in 7 months with quite a substantial setup ^^
On a Pi 3, the RAM is only 1 GB, part of which will be used by the system. It could be an « out of memory » crash. Feel free to create a separate thread on the forum so we can talk about it
In any case, if you have the opportunity I really recommend you switch to a mini-PC. It’s truly night and day; they’re not very expensive new and really cheap second-hand on leboncoin.
You need to do the SQLite purge + cleanup + reboot.