Corrupted database after powerfailure

This is a recent behaviour.
After a PowerFailure my hub doesn't restarts correctly.
When I reach it with the browser, I discover a "Corrupted dadabase" message.
I've the cloud backup subscription so it's not a disaster but realy painful !!!
We had 3 occurrences since last week !

This was not the case before. Let's say 3 month ago.

Is it related to a system upgrade ? Some new bug ?

Should I search on the side of my automations ?

Any advices ?

Thanks.

Any unplanned shut down can lead to a corrupted database. I guess you are just getting more (un)lucky recently.

Also, you don't need to restore a cloud backup, especially not the radios. The local backup will work just fine, and is usually done more often.

Put the hub on an inexpensive UPS, like an APC BE425M.

3 Likes

At this point from a PC go to http://whateveryourhubipis:8081 and do a restore

Done ! :slight_smile:
Thanks

1 Like

Yes. I'm now fluent with restore :smiley:
But, I have my hub since 5 years. It's not the first power failures we have but, since this fall, it's the first database restore I have to do... So, something has change, in the platform or in my automations...
This was the backgroud of my question :wink:

The database would get corrupted if its in the middle of a write when the power is lost. So if you have a lot more constant events then greater chance of a database write at any given time. It is also possible that something has changed with the platform and increased the chances of a corruption. Its a black box, we cannot see what is going on behind the UI.

1 Like

Thanks. Yes, Logic.