Adoption failed unifi что делать
Перейти к содержимому

Adoption failed unifi что делать

  • автор:

UniFi AP и контроллер — Adoption Failed ручное обновление ПО

При использовании точек доступа UniFi совместно с контроллером доступа, возможны некоторые проблемы:

Статус точек — Adoption Failed

Точки и контроллер должны быть в одной сети, даже если они могут пинговать друг друга и изнутри каждой точки есть интернет, статус может быть все-равно такой.

С версии 3 якобы можно размещать не из одной сети, но у меня версия 4.6, проблема решилась только так.

Видел такую инструкцию, видимо для других случаев:

1. Отключить LAN от адаптера
2. Нажать и удерживать 10 секунд точку сброса пока диод не перестанет моргать
3. Подключить LAN
4. Отключить и включить кабель питания

Не обновляется ПО точек через контроллер.

— Возможно обновить точку через ssh
syswrapper.sh upgrade
http://10.10.10.10:8080/dl/firmware/BZ2/3.2.12.2920/firmware.bin
10.10.10.10 — адрес контроллера

Комментарии:

Sancho
2016-02-27 21:30:06

Хотим использовать решение этой компании, хоть конечно и цены сейчас кусаются. Подскажите, какая существенная разница в применении UniFi AP LR и на сколько далеко можно подключить по средством PoE?

Fix Unifi Adoption Failed with these Easy to Follow Steps

Adopting an Unifi Access Point in the controller should be really straightforward. But sometimes it just won’t work. You keep getting Adoption Failed, or maybe even not able to adopt your access point at all.

The first step is to make sure that the inform URL is set correctly in the access point. But if that is set correctly then we need to take a different approach to fix the Unifi Adoption Failed issue.

In this article, I will explain different solutions to will help you to fix the adoption issue.

Why is the Unifi Adoption Failing

First a little bit of background information about why the adoption could be failing. There are a couple of things required to successfully adopt an Unifi Access Point in your controller:

  • The access point must not be managed by another controller
  • Inform url should be set correctly – read more about it here
  • Access Point firmware version should not be to old
  • Controller should be up-to-date

The most common issue is a firmware mismatch. The access point is for example running the latest firmware version, but the controller is maybe 10 releases behind. This could cause problems with adopting the access point.

Fix Unifi Adoption Failed

Method 1 – Factory Reset the Access Point

To make sure that the access point isn’t managed by another (old) controller, we are first going to factory reset the access point. Make sure that the access point is powered on and press the reset button for 10 seconds.

Another way to reset the access point is remotely with SSH.

  1. Connect to the access point over SSH (using PowerShell for example)
  2. Enter the following command to factory reset the AP:

You can reconnect to the access point after the Clearing CFG (configuration) is done.

With the Access Point reset you can now check if you can adopt the access point in the controller.

Method 2 – Check IP Address of the Access Point

After you have factory reset the access point, you should at least see the access point in the controller. If you don’t see it at all, then it’s possible that the IP range of the access point doesn’t match with the controller.

They both need to be in the same IP Range to be able to communicate with each other. You can use the Unifi Discovery Tool to scan your whole network for the access point. This way you can determine which IP Address the access point has got.

Unifi Discovery Tool

You might need to click the Unifi Family button in the top right corner to switch to the correct view.

If the access point is in a different IP range, then double-check your router and Unifi Controller to be sure that only one them has DHCP enabled. Another good option is to connect the access point to the same switch as the controller.

Method 3 – Update the Unifi Controller

Before we update the firmware of the access point, we are first going to make sure that Unifi Controller is up-to-date.

If you have a Cloudkey or UDM (Pro)

  1. Open your Unifi OS
  2. Go to Settings > Updates
  3. Check the Network application is up-to-date

If you are running the controller in a Docker container or on Windows then check the version that you are running in the settings screen:

  1. Open the network controller
  2. Click on Settings
  3. Note the version and check the latest available version here https://www.ui.com/download/unifi/

After you have updated the Unifi Controller, try again to adopt the Access Point.

Method 4 – Update the firmware on the Access Point

If the firmware on the access point is outdated, then you also won’t be able to adopt the access point in the Unifi Controller. Normally you update the firmware through the controller, but there is another option.

We can manually download the Unifi firmware on the access point directly. To do this we are going to connect to the access point over SSH. You will need to know the IP Address of the access point, if you don’t see the IP Address in the controller, then use Advanced IP Scanner to look it up.

  1. Press Windows Key + X (or right-click the startmenu) and choose Windows PowerShell
  2. Connect to your access point. Replace the IP Adres below with the address of your access point:
  1. Enter the password ubnt
  2. We now need to find the correct firmware URL. Open the Unifi download page and find the firmware for your access point.
  3. Click Download and accept the terms.
  4. Click Copy URL
  1. In the PowerShell Windows, type upgrade and paste the URL that we just copied:

The access point will download the firmware and upgrade it. During the upgrade, you won’t be able to connect to the access point. It can take a couple of minutes to complete.

You should be able to adopt the Unifi Access point when the upgrade is completed and the status light is solid white.

Adopt unifi access point

Wrapping Up

I hope this article helped you to fix the Unifi adoption failed issue. A factory reset is most of the time needed and make sure that you check your firmware versions. If you are running the controller in a docker container, then make sure that the appropriate ports are forwarded.

In docker, it can help to add the —net=host flag to the docker run command.

Quick links

Hello, welcome to this article and today I’m going to provide you the step by step instructions on how to fix UniFi adoption failed issue and let you know what can cause this issue, so lets begin.

You may sometimes see a message in device tab of Unifi controller which says” Adopting failed”, this can be cause due to many reasons
1. The controller lost access to the APs which were adopted or you are trying to adopt it newly
2. The controller and AP are not on same network and lost connection but the AP itself may sometime broadcast
3. The AP failed to adopt if there firmware is old version

How to fix Unifi adoption failed

1. First check if the UniFi device and the Unifi controller are connected to the same network
2. check if you are able to ping the UniFi device such as UniFi access point(if not change the cable)
3. check what IP address UniFi device is getting and if it shows in your DHCP server with valid IP address.
4. Try to turn off windows firewall or antivirus present on the system or check if you there is any firewall blocking in your network
5. check the UniFi devices firmware version

If you have checked the above and still the AP shows adoptoin failed, then try to check if you are able to ping the UniFi AP or UniFi device from controller machine(AP should be pingable).

If the UniFi access point is able to ping from controller machine, then try to set-inform the UniFi access point to the controller IP. To set- inform the AP to controller IP, make sure to SSH into the UniFi access point(this method will work on other UniFi devices which can be adopted in the controller)

Unable to get into controller also check this article to reset unifi controller password

How to SSH into UniFi AP for unifi adoption failed:

1. First download the putty.exe if you are using windows and use terminal if you are using MAC
2. Once you have putty installed open it and then in the hostname or Ip address field put your UniFi AP Ip address, the default I is 192.168.1.20, leave the port 22 and click on open

3. It will ask you to login enter the admin user name(default is “ubnt”) and then enter password(default is “ubnt”) and hit enter.
4. Once you are logged in type in this command “set-inform http://ip-of-controller-:8080/inform" and hit enter. Note: replace IP of controller word with the IP address of the machine where the UniFi controller is installed.
5. Once you set-inform the URL, the UniFi access point should show as provisioning in the UniFi controller devices tab, wait for few minutes and the AP should be adopted.
If it still does not adopt, try to perform set-inform 2 to 3 times and check.

If the UniFi access point still does not adopt using the above set-inform method, then try to upgrade the firmware on UniFi AP or any other UniFi devices.

How to upgrade UniFi access point firmware showing unifi adoption failed:

If you are using a windows machine, the you can install a software called winscp to upgrade the firmware and also putty.
Once you have the winscp installed open the software and select the file protocol as SCP.
Put the hostname which is the IP of the UniFi device or access point
Put the username and password for UniFi access point
Click on login

Once you click on login on left pane you will see files and folders of your computer and on the right you will see the files present in the access point.
You need to access thr root folder of the access point on the right pane, so double click on two dots and keep click on two dots until you get to the root folder of the UniFi access point.

Once you are in root folder, double click on temp folder, once you double click , you will see some files in the temp folder.
Now on the left hand side pane on winscp,browser to the firmware which you may have downloaded from Ubiquiti website. To download the firmware you can go to downloads.ubnt.com.

Once you have the firmware file downloaded, then navigate to the firmware file from winscp and drag that file over to the right hand side pane in the temp folder of UniFi access point.

Once you have dragged the firmware file to the temp folder of UniFi AP, then rename that file to “fwupdate.bin”, if you already have one existing with that name, delete that and rename the new file.

After you have dragged the file onto the right hand side tmp folder, open putty software and ssh into the AP following the SSH step given above.
Once you have SShed into the AP, type a command “syswrapper.sh upgrade2 &” and hit enter so that the firmware is pushed to the AP.

After you hit enter the AP will lose connection to putty, do not worry, it will take 15 to 20 minutes to update, so make sure that the power is not interrupted.
Once the led is solid , now try to adopt the UniFi access point into the controller and you should be able to adopt it easily.

If the above all the methods does not work, you will then need to flash the UniFi access point, you can check the video below to do TFTP recovery on UniFi access point

If the TFTP recovery also does not work, then try to contact Uniquiti and get the AP replaced if it is still under warranty.

Hope you liked this article about unifi adoption failed and it helped you to resolve it. If you have any questions or help, please comment below so that we can try to help. This article about unifi adoption failed is written on personal experience which we faced and have tried to make it for other so that it helps.

How to reset UniFi AP

At the back of the Ap you will find a reset hole, press and hold for 15 sec until the led flashes and turns it self back on.

Решено Нужна помощь с Unifi AP-LR (Adoption Failed)

Приветствую вас. Приключилась следующая беда, есть 9 точку доступа UniFiAPLR, которые естественно работают под управлением UniFiController. Версия 2.1 Система была настроена и отлично работала. Внезапно 3 точки доступа практически одновременно вылетели в Adopting Failed. Притом параметры сети остались прежними! Решил попробовать изменить адреса – никакого эффекта. Обновился, поставил версию контроллера 2.4.6 – тоже без эффекта. Сбросил точки доступа к заводским настройкам – также бестолку, в поле Details – Advanced Adoption виден ip 192.168.1.20 с 22 портом, Configurations, далее задаю адрес – точка все время Adoptится уходит либо в Adoption Failed либо в Disconnect.

В Discovery Utility точка доступа видна как 192.168.1.20?(dhcp). На любые действия выходит сообщение «Device (192.168.1.20) is unreachable».

Попробовал даже поставить на ноутбук unifi controller и через роутер подключил к сброшенной точке доступа – все равно ошибка. Если кто сможет помочь буду очень благодарен!

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *