Interesting.
I’ve been running our Home Assistant instance on a Raspberry Pi with a previously6used micro-SD card first with Hassbian for almost a year and now Hass.io for at least 6 months. (not exactly sure about the count but something like that).
We run a pretty simple setup though with little in the way of automations and scripts but mostly for running z-wave and zigbee devices in the UI and through the Google Assistant.
Still, only issue we’ve really had was when I butchered Hassbian somehow, when hassio stopped connecting to our Wi-Fi (plugged it in through a cable without issue), and when the Deconz component got a bad update.
Sooner or later the SD-card will give up but I’m not to worried myself.
In this case it can be all about the sdcard, some sdcards are complete garbage. Alot of times you get what you pay for. My setup has been running for 4 year now on the same sdcard, and I have not turned off any logging. One of the best sdcard to go with are the Samsung Evo + series. I usually grab the 32 gig variant and I find them on sale all the time for about $10. This is a hobby and there are some frustrations, but there are some really fantastic moments, that make you smile and say I did that. This forum is full of wonderful users that would be wiling to bend over backward to help when a problem arises. Before you know it you could be one of those user’s that is helping other users down the line. So, like I said this is a hobby and you need to put the time in to get what you want working to work, but if you need something that works out of the box then you should take the suggestions from above, and start a new experience.
I had lots of issues with SD cards and the odd one with the Pi’s. All seems to be stable now and for months but there are loads of fake SD cards out there which are crap and for me these definitely play up with HA. I’ve had 16gb / 64gb and 256gb all fake. I tend to now only buy them from reputable shops as approved suppliers of the manufacturer or Amazon direct. Tend to find the Genuine San Disk are fine, will be trying the Samsung and High endurance cards also in the future. I only use genuine Pi 2.5 Amp power supply. There are a lot of Mini Linux / Windows PC’s out there which are good but Pi is cheaper. It was trial and error and lots of backups via win32diskimager and config files via WinSCP.
I started out with running Home assistant on a Pi and then switched to a Rock64. Always had problems with SD cards crapping out. Just made sure I always made backups.
A few months ago I moved Home assistant over to my FreeNAS in a jail. No problems now and I’m never looking back.
I had HassIO running for a few weeks and it died. I was unable to recover the SD card. Having read this thread, I’m now concerned about my hardware. Many folks have commended on how they use VMs or Linux PCs, or hard drives. I don’t want to have a PC running all the time and would like to persist with the RPi solution.
Has anyone migrated a working HassIO to USB HDD on RPi? Can anyone point me to an idiot’s guide?
That was one of the reasons I wanted on the Pi… I would just get couple of decent genuine SD card (sandisk / samsung evo or better as they come out) and keep a backup. I have fair amount set up but 16gb or 32gb has been fine. I think I’ll back up now…
You can install Raspbian and then install docker and a generic Linux install of hass.io - look for Dale3h’s script. It works great. I used that setup before I got my NUC.
Running my hassio for over 18months, same
Raspberry pi, same SD Card. No issues. Even if there were issues it’s all backed up and super easy (and cheap) to restore back to how you had it.
I mean, aren’t we over engineering this issue a bit? Just keep a regular snapshot, a spare SD card and if you’re really paranoid, a spare PI. Okay, you spent an extra $55US for complete redundancy vs. the electricity/space/effort/annoyance/work of putting this hobby on a more-horsepower-than-you-will-ever-need desktop/laptop/NUC/whatever.
I’ve been running on a RPi3 for 23 month still on the very first SD card (SanDisk Extreme) without any issues so far. So this isn’t a general problem, it is either the kind of hardware you buy as I haven’t heard of too many cases there the cards dies that quickly or very very bad luck. Just buy some quality brand SD card and that should run at least a year I’d bet without any issues.