unifi сброс через ssh https://help.ui.com/hc/en-us/articles/204909374-UniFi-Login-with-SSH-Advanced-

UniFi OS Consoles - root / ubnt

UniFi Gateways - root / ubnt

UniFi Devices - ubnt / ubnt

syswrapper.sh restore-default

если не проходит адаптация точки то следовательно нужно удалить точку из контролера

For me, this is all that was needed on a clean 20.04 install:
sudo apt-get update
sudo apt-get install --yes ca-certificates apt-transport-https wget
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg
sudo apt update
sudo apt install --yes openjdk-8-jre-headless unifi