UniFi switch adopted but shows offline
The device falls back to its default inform URL after adoption. Set it again and add a local DNS record so it fixes itself.
Symptom
A UniFi switch adopts successfully, then shows Offline or Disconnected in the controller, although it’s passing traffic fine.
Cause
After adoption, the device reverts to the default inform URL (http://unifi:8080/inform). If unifi doesn’t resolve on that network, the device can’t reach the controller.
Fix
- SSH to the device and set the inform URL again with the full controller address:
set-inform http://<controller-address>:8080/inform
- Make the fallback work on its own: create a local DNS record named
unifipointing at the controller. If the device ever falls back to the default, it still finds the controller.
Verify
The device shows Online in the controller and stays online after a reboot.
Seeing this in your environment?
We can check for this, and everything around it, as part of an audit.