Unifi AP inside unifi controller stays in adopting

That fixed it with my local dnsname. Thanks.