Troubleshooting Unifi controller

https://x.x.x.x:8443/

( installed on Debian Linux including Raspberry Pi3)

sudo -i

cd /usr/lib/unifi/logs/

cat server.log

cat mongodb.log

mongod --repair

Autobackup location: /var/lib/unifi/backup/ and /var/lib/unifi/backup/autobackup/

Adding user to unifi group: sudo usermod -a -G unifi pi

Removing user from unifi group: sudo deluser pi unifi

  • sudo service unifi stop
  • sudo service mongodb stop
  • sudo apt-get remove --purge unifi
  • sudo apt-get remove --purge mongodb