I unplugged my hub to move it, plugged it back in and none of my devices worked. Went on the app and it couldn’t connect to the hub so I deleted it from my account and hard reset the hub.
Went through the process ok GetStarted and it still can’t find my hub - only when I use the MAC does it appear but doesn’t connect.
RIght... i was more curious about what you did to "hard reset" the hub. Was there another step you took besides just deleting it from your account? And by deleting it from your account do you mean you went to my.hubitat.com, clicked on "registered hubs," and then clicked "deregister hub"?
The green light is good. It means the hub's UI is up and running, so that's a solid first step. Is there a link light on the corresponding switch port, and is it green as well? If so that means you at least have a physical network connection.
Is the switch on the same subnet as the mesh network? And is the hub configured (or was it configured) for DHCP or a static IP set on the hub?
That only resets the network settings that the heavens.... You don't want to reset the hub., At this point go to my.hubitat.com and see if you see the hub. If you do not, you have an internal networking problem. The green light means it's up and running properly.
Ok. That actually doesn't do a hard reset. That just resets the network stack on the hub to DHCP. If you look at the DHCP table on your router can you find your hub, and if so note the IP address. If it isn't easy to spot it will have a MAC address that begins with 34:e1:d1. If you can find it see if you can ping that IP from a workstation.
OK. Try going to the IP address of the hub and verifying that the UI comes up. If it does, then the hub is working and you should be able to access it. While you're in the DHCP table I'd also create a reservation for the hub if it doesn't already have one. That way the IP address of the hub doesn't change unexpectedly.
Ah ok that's progress. Will it let you get to the UI? If it will, do a backup, save it locally, and then do a restore from the same backup. THe process of backing up and restoring should cleanse the database as long as you are on a recent version of the platform.
If you cannot get to the UI at all you may have to go to the diagnostics tool on port 8081 and just do a restore from the last backup. If that's the case any changes to the hub that you've made since that backup will be lost.
The diagnostics tool can be located at HTTP://[your-hubs-IP]:8081
What @brad5 says... The reason for the corrupt database is likely dirty shutdowns (unplugging in and plugging it back in without shutting down from the settings menu. )