I’m manage about 20 unifi sites. Onboarding a new client and they have a watchguard gateway that I can’t chuck just yet so I went with a Cloudkey+, first time using it, though I had an original cloudkey a long time ago.
Part of the onboarding was replacing their decrepid wifi, added the APs, a few new switches, all goes smoothly.
Then reboot the Cloudkey and all devices showup as managed by another. So I ssh in and factory reset and readopt. Make sure to do a backup, and reboot to test. Same thing, restore from backup, and nothing is adopted after restore.
Several fruitless hours with Claude later. I throw in the towel and open a ticket.
Their solution worked:
ssh to the Cloudkey and
echo "is_default=false" >> /data/unifi/data/system.properties
I guess something glitched in the initial setup, but there probably should be more checks than one flag in a system config before the device db gets reset on boot.