Corrupt database (again) on my C-8

Hey everyone,

Back on 17th June I saw this alarming message for the first time from my new C-8:

Corrupt database found
Hub cannot continue.

Went through the advised steps and I could recover a recent local backup, which got the thing up and running again. All has been fine until I was away and could no longer control anything. On my return, the same message.

Once again I've restored from a local backup and it's working - but this is twice now and I'm beginning to be suspicious. I've never experienced this on any Hubitat hub before and the C-7 which sits next to it (and shares the same more-than-powerful-enough three-output adapter) hasn't missed a beat, ever.

@support_team - any advice on this?

Cheers all!

While you wait for a response from support, do you have any details on what you are running, e.g. major device types or apps/integrations you are running?

May also be worth mentioning which platform version you are running, e.g. 2.3.X.X.

Based on your reference to the power source and previous advice, I'm assuming you have read through this thread:

The C-7 and the C-8 run purely Zigbee devices and all of the same apps. Third party are CoCoHue, Homerbridge, Hubitat Package Manager, Influx DB Logger. The rest are all Hubitat, nothing "exciting". The C-7 does all of my AlertMe / Iris V1 gear, the C-8 does everything else - though that's really only some Samotech and Tuya switch modules and Aurora dimmers, only 24 devices on the C-8. All of this ran perfectly for over a year on the C-7 I migrated from to get to the C-8.

They also both run the latest firmware.

My main concern is whether this C-8 has some hardware fault, possibly storage-related, that is leading to the corruptions. And yes, I did indeed read that thread, which is why I checked that the power was stable.

Thanks, @sburke781. Waiting on @support_team. :+1:

1 Like

Unfortunately I have seen issues with all of those custom apps bringing hubs down if they are ill formatted. Your best course of action is screening your Logs (past logs) for any errors. Also the Apps and Devices tabs on Logs page may give you some clues. If nothing obvious, I'd say, to temporarily disable the custom apps and see if that helps. Soft Reset when the database becomes corrupted is your temporary solution to bring your hub back online, but is not the cure.

1 Like

Could the migration have created an error in those apps? The configuration was brought over and hasn’t been changed since, so far as I remember.

Sadly I can’t remove them for potentially months at a time as they’re essential to my use of the hub, though I’ll certainly check for errors in the logs and set them back up if needs be.

I’ll report back on the past logs check, I’m not in a position to check that this minute.

Yes, check out the following document. LAN connected devices require additional steps:

1 Like

I've employed my usual scorched earth policy, removed all of the third party apps, reinstalled and set them up again. Reconfigured the button rules and everything is working correctly.

Interestingly, there were no errors in the log before doing this.

Thanks @bobbyD, fingers crossed.

1 Like

I had this trouble once, and it was related to the power supply. Changing it solved.

1 Like

Is there somewhere I can see whether the hub has been rebooting? My two hubs are run from the same power supply which provides multiple outputs; the only thing to change has been the swap to a C-8 from a C-7 and the C-7 still in use continues to run without fault, so the power supply seems like an unlikely candidate for fault in this situation.

I'm not saying it isn't that, and if problems continue it'll be my next troubleshooting step.

On the logs page there are other options across the top, one being hub events, that should show you the reboot times


In addition to what @sburke781 said, you can also set up a notification on bootup that the hub has restarted to be sent to your phone.

1 Like

Sounds good, how's it done?

Setup rule, trigger event, system startup

action send notificatation

Sorry, is this a Rule Machine thing? I've got a notification method I can use, I just have no idea where I'm looking for "system startup" to be a trigger event.

It will be under event triggers. It may only be in rm not plain notifications app. Not home to look. I do it in rm

Oh, it's under "Location event". :exploding_head:

Of course, that makes complete sense. :unamused:

Thanks for the pointers, @rlithgow1 - I'll get that set up and keep an eye on things. Logging into InfluDB shows no interruptions so far and everything is behaving at the moment.

So I've been experiencing random, about weekly, database corruption events requiring a soft reset on only one of my hubs... @bobbyD or @gopher.ny can you take a look at the engineering logs and see if you can tell why?

The latest one was sometime 0043 hours this morning. The hub's name is Main...

Went away for a week and it didn't break. My internet did, but the hub was fine.

Posting this to tempt fate.


is the hub on a ups.. you could be having random reboots due to power fuctuations that cause corruption. could be nothing wrong besides that.

Yeah, both hubs are on a UPS. No signs of rebooting from either, so I've discounted the idea of a power issue for the time being.

As I say, currently working fine... :crossed_fingers: