Hubitat is stuck at Initializing Hub: 100%

After lots of power on/off here in Houston this week one of the 2 hubitats does not go beyond Initializing Hubitat: 100% message. So basically is stuck at Starting Up for long long time and does not go beyond that. And I only see this message if I have a browser open WHEN I reboot the hub. If I try to connect to it when it's has the green light already - I don't get anything but, "connection timed out" after a long while.
Any ideas what I might need to do short of writing it off as a piece of plastic now?

Can you get anything to come up on port 8081? (http://yourHubIp:8081). If you get to the diagnostics menu, you could try a soft reset.

1 Like

Yes I can! Will soft reset erase any connected devices? Just wanna make sure what to expect.

Should just do a repair of the database, and try and bring the hub back up. Devices should be intact.

1 Like

I would start with just a simple restart from that menu and if the issue persists go down the soft reset route.

cool, thank you very much - that worked. And I learned something new - the 8081 menu :smiley:

3 Likes

Just to clarify, as it’s not entirely accurate, a soft reset on its own will wipe out the local database, but leaves the radios intact. After a soft reset, you would have to restore a backup for it to return to its previous state. Without restoring your hub you end up with a hub in a weird state where the radios are populated with devices but you can’t access or control anything as the hub DB has been wiped. So if someone wants to do a soft reset, make sure you also have a backup to restore afterwards.

4 Likes

Yep, thank for that - I got that much from the warning when I was doing the reset. The interesting thing is that if you even have backups stored on the device and it goes into this state - then there's no guarantee you actually have the backup :slight_smile:
I am wondering if there's an app that would sync backup with external storage on a schedule

Search the forum for backup script. There are plenty of examples.

I have node-red set up on a Pi to grab the latest backup once a day, keep 3 days on the PI and 7 on secondary storage (cron job to pull off Pi)...

1 Like