Unifi - all devices disconnected

Unifi - all devices disconnected

Author
Discussion

Murph7355

Original Poster:

38,697 posts

262 months

Saturday 29th July 2023
quotequote all
Before I uninstall the app and reinstall, has anyone had all devices showing disconnected in their Unifi controller?

Running it on Windows 11, and think I might have said "no" to a Java pop up when last launching it...but cannot see what (if anything) I've blocked!


md_ph

372 posts

110 months

Saturday 29th July 2023
quotequote all
Tried to download the mobile phone app to rule out a local win 11 issue?

Murph7355

Original Poster:

38,697 posts

262 months

Saturday 29th July 2023
quotequote all
md_ph said:
Tried to download the mobile phone app to rule out a local win 11 issue?
I didn't think you could have two devices running controller software?

Murph7355

Original Poster:

38,697 posts

262 months

Sunday 30th July 2023
quotequote all
Just in case anyone experiences similar...

Uninstalled the Unifi app (it asks you if you want to save settings - do so. But also, more generally, make sure you take backups. You can do this automatically/scheduled in the interface).

Uninstalled Java (Unifi needs version 11...plenty of places seem to be moving away from Java...Ubiquiti wink).

Reinstalled Java and reinstalled the Unifi app.

All came back up without the need to restore from backups etc.

Not really any idea what the cause was, but think I may have clicked the wrong button after a Java update and the firewall asked me if I wanted to allow Unifi access.

(Anyone running this app ever had "100%" on "experience"?)

xeny

4,589 posts

84 months

Sunday 30th July 2023
quotequote all
FWIW, I've seen that behaviour when Java/the UI controller is blocked in the windows firewall. Easy test on a home network is to disable the firewall and see if it all starts working.

Murph7355

Original Poster:

38,697 posts

262 months

Sunday 30th July 2023
quotequote all
xeny said:
FWIW, I've seen that behaviour when Java/the UI controller is blocked in the windows firewall. Easy test on a home network is to disable the firewall and see if it all starts working.
I did try that but it didn't make any difference.

I looked in the Java UI but nothing was blocked there.

Anyway, the main thing it came back with little in the way of faff.

(On a semi-related point, I'm starting to get enough glitches in Windows that I'm starting to think of switching back to Mac. I switched Mac>Win around 7yrs ago. Had h/w issues across both platforms for a bit, but Windows has been great since - on an X1 Carbon. But am starting to think about swapping back now).

Whoozit

3,751 posts

275 months

Sunday 30th July 2023
quotequote all
Murph7355 said:
(On a semi-related point, I'm starting to get enough glitches in Windows that I'm starting to think of switching back to Mac. I switched Mac>Win around 7yrs ago. Had h/w issues across both platforms for a bit, but Windows has been great since - on an X1 Carbon. But am starting to think about swapping back now).
I've found some Windows units are sensitive to having queued updates. Annoyingly, in most cases the Windows-own Surface tablets which I use in my business. Might be relevant?

jimmyjimjim

7,464 posts

244 months

Monday 31st July 2023
quotequote all
Ah, Java. Such a delight. I wanted to upgrade my unifi controller on a raspberry pi. Ran all the relevant commands, everything updated fine apart from one item. Much digging around later - it's the unifi controller.
Much digging around later, it's because the Java software version was elderly and needed to be updated.
Slight digging around later, ran the command to update java. "uninstalling Unifi....unifi uninstalled".
Sighed, laughed, unplugged the Pi and restored the unif backup to a container which worked perfectly.


megaphone

10,880 posts

257 months

Monday 31st July 2023
quotequote all
OP, Get yourself a Raspberry Pi and run Unifi controller on that, you can just leave it running and access via the portal on your laptop and phone app.

megaphone

10,880 posts

257 months

Monday 31st July 2023
quotequote all
Murph7355 said:
md_ph said:
Tried to download the mobile phone app to rule out a local win 11 issue?
I didn't think you could have two devices running controller software?
The phone app is not a controller, it is just used to access the controller which will be running elsewhere on another device.

md_ph

372 posts

110 months

Monday 31st July 2023
quotequote all
megaphone said:
The phone app is not a controller, it is just used to access the controller which will be running elsewhere on another device.
I have only just realised the original poster is running the controller locally, I run my controller in a docker container and it just ticks along and I can connect to it from a multitude of devices when I need to make any changes.

Murph7355

Original Poster:

38,697 posts

262 months

Monday 31st July 2023
quotequote all
md_ph said:
I have only just realised the original poster is running the controller locally, I run my controller in a docker container and it just ticks along and I can connect to it from a multitude of devices when I need to make any changes.
Another for the to do list!

silentbrown

9,225 posts

122 months

Monday 31st July 2023
quotequote all
megaphone said:
OP, Get yourself a Raspberry Pi and run Unifi controller on that, you can just leave it running and access via the portal on your laptop and phone app.
Slightly O/T, but this gave me the nudge to ditch the ancient Gen 1 Cloud Key I was using, and instead install the Unifi controller on the RPi that I have running Home Assistant.

It was remarkably straightforward, thanks to this: https://community.home-assistant.io/t/home-assista...

Basically backed up the cloud key, installed the addon above, restored from backup and we're good to go. One less device on 24/7, one more free port on the switch, and a much faster (and up-to-date) Unifi Controller.