Local interface gives server error 500

I can see the local browser page on my Hubitat, but every single thing (except "Subscriptions" which goes to an external page) shows a "server 500" error.

My rules are running fine, I can even use the dashboard from the mobile app.

Just can't access any of the admin functions.

So weird. Help? It occurs to me that maybe my browser is logging into the hub without correct credentials, or maybe there is something going on with cookies, or... ???

First thing I would do is go to your hub’s IP address and add :8081 to the end (Ex.: http://hubitat.local:8081). Then you will need to enter your hub’s MAC address (found under the hub). There will be an option to reboot - give that a try and see if it helps.

1 Like

@carl.english can you try a different browser as well? If another browser works (let's say Firefox) on your pc, update your platform to the latest version

1 Like

I tried it with Edge. Same. Problem is, I can't access the interface to update. It shows me there's an update available but the error prevents me from proceeding.

Is there a way to force update from curl or something?

Do what @Sebastien suggested. Connect to the diagnostic tool on your hub.

http://hubitat-ip-address:8081

Replace hubitat-ip-address with the real IP address of your hub.

Thanks, I'll try that when I get a chance. I did cycle the power a couple of times with no change.

1 Like

You have a corrupted database. You need to do a Soft Reset from the Diagnostic Tool.

2 Likes

So... I signed up for the Full Meal Deal of Hubitat cloud services. Protect, etc. Hoping against hope that somehow, miraculously, I'll find a cloud backup when I do the soft reset thing.

Maybe I have a local backup. Not sure.

If I get a new-model Hubitat, can it replicate the settings from my limping device?

I'm hoping that there's some magic way to preserve my hard-won settings, since I can't operate my existing device, even to make a back up.

You don’t need a cloud backup to restore after a soft reset.

The hub takes local backups daily and saves the last few onboard by default.

Have you tried to use the hub diagnostic tool as @aaiyar suggested?

1 Like

Had this problem yesterday morning after installing the latest software update on my C-5. Went through all the trouble shooting tips. Had all the same issues that Carl reported. This is my first problem since I originally installed my C-5 so I feared the worst. Finally after doing all the steps prior to soft reset without resolution, I did the soft reset. I then restored using a backup made a few days ago. To my surprise it all came back just fine. I again updated to the software that failed previously and all was well. Certainly feel better that as long as you are doing the backups you've got some recourse to get out of the problem. Not sure if I'm ready to jump to the C-8 at this point since my network is stable and fairly static. I keep my C-5 connected to a UPS system which goes a long way in keeping it protected from electrical grid issues.

2 Likes

Yeah, my problem was that I didn't do any backups. At least, not that I could find.

My Hubitat was just so reliable for so long... at one point I forgot where it was physically located.

Got a C-8 and moved everything over, all is well again. And, subscribed to the service.

Now I guess I'll wipe the old one and mesh it.

Local backups to the hub are enabled by default on a schedule, so unless you disable that there should always be a semi-recent backup.

The only thing I could access was the maintenance interface, and I didn't see anything there, though maybe I was looking in the wrong place. Hadn't made any changes in a 6 months so that would have been fine.

At any rate, got the new hub, and this was a great opportunity to clean everything up. A couple things I really wrestled with in the Before Times were trivial with some of the new features. Nice.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.