SSH in to the Unifi Access Point using the default ubnt / ubnt password
Hint: if the AP isn’t brand new and you’re trying to fix it via SSH you will need to find the username and the password from the old controller. As of writing this is located at System Settings > Controller Configuration > Device SSH Authentication. Once you log in you’re going to want to type in set-default to factory reset it first.
Upgrade the firmware first by typing in
Where https://dl.ui.com/unifi/firmware/U7PG2/22.214.171.12461/BZ.qca956x.v126.96.36.19961.210128.2309.bin is the current firmware available at Unifi Downloads
Connect back to the Unifi Access Point using the default ubnt / ubnt password
Set the inform address as