Advertisement
c2c2_

Unifi: Controller MongoDB

Jul 29th, 2023 (edited)
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. sudo docker-compose run unifi-controller sh
  2.  
  3. mongo --host /usr/lib/unifi/run/mongodb-27117.sock
  4.  
  5.  
  6. use ace
  7. db.device.find() <-- or try: db.device.find().pretty()
  8.  
  9. db.device.remove({“mac”:”##.##.##.##.##.##”})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement