4 ms·
I had problems in the past with the sqlite database getting corrupted on shutdown. I moved it to a postgresql database on the same VM and it's been fine since.
by fullstop 2y ago
I had problems in the past with the sqlite database getting corrupted on shutdown. I moved it to a postgresql database on the same VM and it's been fine since.
- badlibrarian 2y agoYeah, past experience with RPi/SD cards certainly gave me pause. No problems yet, knock wood. $99 well spent. Didn't see anything widespread in the forums and they made online backup a priority in the latest version. I like these folks, their priorities, and the community they built. Interesting that Google Nest and Tesla are pissing everyone off at the moment. The forum is a leading indicator of brands to avoid.
- eternityforest 2y agoPi SD cards seem to be extremely reliable, I have not had issues with Amazon SanDisks. Especially not if you get a bigger one than you need to spread wear more. I've probably spammed this comment an obnoxious number of times already, but I think a lot of the problem is that IIRC HA still writes logs as they happen. Filesystems don't like small frequent writes, it makes write amplification happen. I handle logging by buffering everything in RAM, and optionally only saving min/max/avg data, on top of only logging points that are specifically configured. I have a script to set up /var/log as a ramdisk, along with a few other things things I've found can occasionally go wrong and write a bunch of stuff. But I don't use HA, or have any idea how hard it would be to do this kind of thing in HA.