Summary: | net-wireless/unifi 6.0.3/6.0.4 - Wrong/harmful device provisioning | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joël <world.root> |
Component: | Current packages | Assignee: | Ben Kohler <bkohler> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | bkohler, conikost |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joël
2020-07-13 07:54:06 UTC
Do you know if they got automatic firmware updates that came with unifi-6.0.3? (In reply to Ben Kohler from comment #1) > Do you know if they got automatic firmware updates that came with > unifi-6.0.3? Hi Ben, I'm pretty certain that they did not, because: * I always keep Firmware auto-update disabled in the Controller settings (and indeed, it never happened automatically so far) * After the controller downgrade, the devices only got reprovisioned (no firmware up/downgrade) and the problem went away I don't see anything specific regarding your issue in the changelog but you may still want to try 6.0.4 to see if the issue still exists there (In reply to Ben Kohler from comment #3) > I don't see anything specific regarding your issue in the changelog but you > may still want to try 6.0.4 to see if the issue still exists there Hi Ben, Thanks for the update. I tried it as follows: * /etc/init.d/unifi stop * Backed up /var/lib/unifi * Upgraded net-wireless/unifi from 5.14.17 to 6.0.4 * No problems * Forced controller to provision one UniFi device * Mayhem!! Everything (on the network switch) was almost dead. Only way to connect to my embedded system was through the serial console * Unplugged the offending Unifi device * Network was fine again * Stopped controller, restored backup and downgraded it to 5.14.18 * /etc/init.d/unifi start (and waited for it to start) * Plugged in the UniFi device * This automatically happened: "adopting" and then "provisioning" * And everything was fine again. So in my case at least, the provisioning by controller 6.x appears to be the culprit. I would kindly suggest that you package.mask version >=6 by default, what do you think? It could happen to other people, so (imho) ~amd64 might not be sufficient. Thanks again! If you are still experiencing this problem or able to reproduce it, can you report it upstream? Hi Joël, I also would like to encourage you to report that problem to upstream (aka Ubiquiti), since I don't think, we can do anything here about it. I am using a couple of UniFi APs and all are provisioning and working correctly. I don't think, that this is any way realted to our package, since we are not even compiling, but only installed a bunch of files. I strongly suspect, that this would even happend with the upstream packages on Ubuntu for example. As a conclusion, I would close here for now. Conrad Hi Conrad, Thanks for your help and apologies for the late reply. I have good news: the problem is definitely gone with 6.1.26 (and maybe also with earlier 6.1.x versions). All good now! Thanks again for maintaining this package, and all the best! :) |