All my devices disappeared!

I know there are multiple posts on this, and I've read them, but I want to be VERY careful about how I proceed. Last night when I went to bed everything worked. This morning I woke up and nothing worked. Looked in Hubitat and there are NO devices listed.

I do have the cloud service with auto backup. I do have a scheduled nightly reboot.

Platform Version
2.4.0.151

When I go to the logs I do see all the devices.

I see a ton of these errors in the logs.

2025-06-09 07:20:43.071 AM
java.lang.NullPointerException: Cannot invoke method getDisplayName() on null object on line 1008 (method handleRequest)

Before that, different errors...

2025-06-09 02:59:18.128 AM
java.lang.ClassCastException: null (method parseStates)

Last thing I see before all the errors:

2025-06-09 12:00:02.389 AM

debug

Updates found package for https://raw.githubusercontent.com/HubitatCommunity/hubitatpackagemanager/main/packageManifest.json -> null (force production: true)

Actually there are a bunch of similar update messages then before them, more of those parseStates errors.

The last successful event when I went to bed...

2025-06-08 10:32:07.292 PM
Living Room Overhead Light: switch is off

I've scrolled back a couple days and there are tons of those parseStates errors. I don't know when the began, they just keep going and going.

General first step troubleshooting would be:

  1. Shut down the hub
  2. When you have the red LED on the hub pull USB power
  3. Wait 30s
  4. Reconnect power and wait for hub to boot up

See if that resolves the issues.

1 Like

Sorry, I forgot to mention I did that. No change. Devices still don't show up. I'm no expert but from the logs it looks like the devices are there, but it can't display them. This is my guess since I see them on the logs page but not on the devices page.

However, neither my Amazon voice control nor smart switches work.

I just tried to turn off some lights with Amazon voice command and this appeared in the logs:

app:11 2025-06-09 12:44:16.358 PM

error

java.lang.NullPointerException: Cannot invoke method getDisplayName() on null object on line 1008 (method handleRequest)

When I press a button on a Zooz switch, nothing shows up in the logs.

Can you go to the Devices page, and clear out (X) the search bar at the top? There have been times where someone entered a space, and it made everything appear to be blank because it was filtering out all devices from view.

Alternatively, try the search bar with something you know should be there, like Light or Switch or similar.

1 Like

They didn't do anything. And wouldn't explain the error messages that are saying it can't get the display name of the devices.

Have you tried a reboot with the advanced option selected to rebuild the DB upon reboot. To me this sounds like DB Corruption.

2 Likes

You might want to reconsider this. It is almost never necessary.

2 Likes

Assuming you have recent hub database backup (local or cloud). I would download all your local backups to your PC for safe keeping. Then, I would first try the suggested reboot with rebuild to see if that helps.

If that does not work I would do a soft reset from the diagnostics tool, and then restore ONLY the hub database from your latest backup before the incident. DO NOT RESTORE z-wave or ZigBee radios, those should be fine as-is.

1 Like

I logged into My Hubitat on my PC, and under subscriptions it acts like I don't have cloud backup, but I do. I'm paying the $29.99 per year for Hub Protect, but on the web page it shows the "add remote admin" and "add cloud backup" buttons. When I go into backup/restore in the Hubitat app it shows the cloud backups. How do I get to the backups from my PC to download them? I could download them to my phone, I suppose, but I don't see a way to do that either.

You cannot downloads the cloud backups. Those will not get overwritten unless you run the cloud backup again or your schedule runs.

Download the local backups from the hub UI or the diagnostic tool: Hubitat Diagnostic Tool | Hubitat Documentation

Reboots and other actions can trigger local backups so its a good idea to download some known good ones before you start messing around, just to be extra precautious.

1 Like

For future reference you can also create something like this to extract the backup from the Hubitat on a regular basis. I run this on unRAID, but it shouldn't be too hard to put on something else if you wanted to.

#!/bin/bash
wget --content-disposition -P <path of destination folder> http://192.168.x.x/hub/backupDB?fileName=latest
wget --content-disposition -P <path of destination folder> http://192.168.x.x/hub/backupDB?fileName=latest
find <path of stored bakups> -type f -mtime +30 -exec rm {} \;
find <path of stored bakups>-type f -mtime +30 -exec rm {} \;

The first two commands download the latest backup from my two hubs.
The bottom two commands are probably Linux specific. They scan they folder the backups are in and clean them up so I only have 30 days of backups.

I did the soft reset and restored my cloud backup from 5/29 and everything is back.

Phew!

Thank you so much for your help.

5 Likes