Improvement for readme part Adoption
Gamogamer opened this issue · 2 comments
Operating system
Ubuntu Server LTS 22.04.3
UniFi Tag
latest
Docker run
docker run -d --init \ --restart=unless-stopped \ -p 8080:8080 -p 8443:8443 -p 3478:3478/udp -p 10001:10001/udp \ -e TZ='Europe/Germany' \ -v ~/unifi:/unifi \ --user unifi \ --name unifi \ jacobalberty/unifi
Bug description
Adopting new devices requires port 10001 UDP, this is not reflected in the section in the readme, nor in the side project link.
-p 10001:10001/udp
after adding this to the run command the device immediately poppep up (I already did what stood there)
Steps to reproduce
No response
Relevant log output
No response
I assume you are referencing discovering a new AP, not actually adopting it. IE a new AP showing in the device screen as ready to adopt.
I recently worked through adding a new AP. Migrated to k3s recently and wanted to get the discovery working automatically vs having to ssh in to add to the controller. What I found is the AP needs to be able to resolve the unifi controller. I had to make unifi resolve in DNS, I added it to my DNS in pfsense. Port 10001 I believe allows the controller to publish it's hostname to the network (in my scenario this did not solve the problem). But if you can nslookup unifi the AP should discover correctly.
The need for unifi to resolve is not well documented for sure as it took me a while to get this working.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.