rhinoman Posted December 21, 2015 Share Posted December 21, 2015 To get the AP to show up in the controller so it can be adopted and provisioned, do the following: Determine the IP the AP was leased SSH to that IP Login as ubnt / ubnt mca-cli set-inform http://address:port/inform (where address is IP of controller and port is the port you are using for inform, default is 8080) Is it still port 8080 if I have remapped 8080 to 8082 in my docker setup? Link to comment
dirtysanchez Posted December 21, 2015 Share Posted December 21, 2015 To get the AP to show up in the controller so it can be adopted and provisioned, do the following: Determine the IP the AP was leased SSH to that IP Login as ubnt / ubnt mca-cli set-inform http://address:port/inform (where address is IP of controller and port is the port you are using for inform, default is 8080) Is it still port 8080 if I have remapped 8080 to 8082 in my docker setup? No, it would be whatever you have remapped it to. 8082 in your case. Link to comment
rhinoman Posted December 21, 2015 Share Posted December 21, 2015 Thanks, thought that would be the case. Any idea why I cant seem to put the password in in Putty. I havent used it before but entered the ip address and reached the AP. Entered the username and then it asked for the password with a flashing green square but wont go any further/accept any input? Link to comment
David Bott Posted January 14, 2016 Share Posted January 14, 2016 Hi All... I installed UniFi and it does make the needed items in the appdata area, but in the syslog I receive... shfs/user: shfs_write: write: (22) Invalid argument ...over and over until I stop UniFi. Anyone seen this? I have removed it and even reinstalled it and stopped and started the server. Same thing. Thanks Link to comment
CHBMB Posted January 14, 2016 Share Posted January 14, 2016 Hi All... I installed UniFi and it does make the needed items in the appdata area, but in the syslog I receive... shfs/user: shfs_write: write: (22) Invalid argument ...over and over until I stop UniFi. Anyone seen this? I have removed it and even reinstalled it and stopped and started the server. Same thing. Thanks Hi David, you don't have much luck with these do you? I don't use it, but just pulled it to check and here's my log... ----------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io ----------------------------------- GID/UID ----------------------------------- User uid: 99 User gid: 100 ----------------------------------- We are now refreshing packages from apt repositorys, this *may* take a while (Reading database ... 15447 files and directories currently installed.) Preparing to unpack .../openjdk-7-jre-headless_7u91-2.6.3-0ubuntu0.14.04.1_amd64.deb ... Unpacking openjdk-7-jre-headless:amd64 (7u91-2.6.3-0ubuntu0.14.04.1) over (7u85-2.6.1-5ubuntu0.14.04.1) ... Setting up openjdk-7-jre-headless:amd64 (7u91-2.6.3-0ubuntu0.14.04.1) ... Installing new version of config file /etc/java-7-openjdk/security/java.security ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... Jan 14 20:59:49 e31a171753b5 syslog-ng[222]: syslog-ng starting up; version='3.5.3' When you removed it and reinstalled did you delete the associated appdata folder as well? Just wondering if it took a dump during the initial setup and has kind of got caught in limbo... Have you ever managed to reach the webui? Link to comment
rhinoman Posted January 14, 2016 Share Posted January 14, 2016 This is working fine for me, I'm not much help as not very technical but the only observation I can add is that it takes a while to start up before being able to reach the web interface (not that that sound like th issue). Link to comment
David Bott Posted January 15, 2016 Share Posted January 15, 2016 Hi All... I installed UniFi and it does make the needed items in the appdata area, but in the syslog I receive... shfs/user: shfs_write: write: (22) Invalid argument ...over and over until I stop UniFi. Anyone seen this? I have removed it and even reinstalled it and stopped and started the server. Same thing. Thanks Hi David, you don't have much luck with these do you? I don't use it, but just pulled it to check and here's my log... ----------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io ----------------------------------- GID/UID ----------------------------------- User uid: 99 User gid: 100 ----------------------------------- We are now refreshing packages from apt repositorys, this *may* take a while (Reading database ... 15447 files and directories currently installed.) Preparing to unpack .../openjdk-7-jre-headless_7u91-2.6.3-0ubuntu0.14.04.1_amd64.deb ... Unpacking openjdk-7-jre-headless:amd64 (7u91-2.6.3-0ubuntu0.14.04.1) over (7u85-2.6.1-5ubuntu0.14.04.1) ... Setting up openjdk-7-jre-headless:amd64 (7u91-2.6.3-0ubuntu0.14.04.1) ... Installing new version of config file /etc/java-7-openjdk/security/java.security ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... Jan 14 20:59:49 e31a171753b5 syslog-ng[222]: syslog-ng starting up; version='3.5.3' When you removed it and reinstalled did you delete the associated appdata folder as well? Just wondering if it took a dump during the initial setup and has kind of got caught in limbo... Have you ever managed to reach the webui? Hi... Yes, not much luck. And to think I was getting a handle on it...or I thought. The log looks more or less the same for me in what you show right down to the version at the end. I did delete the appdata inside unifi and it does recreate it. The error I have is shown inside the system log file. Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 Sorry David, didn't realise it was the log within Ubiquiti.... Does it work? I know of one person who's using this on ls.io and I've sent him a message. I don't have a Ubiquiti device so can't help any further. Sorry Link to comment
David Bott Posted January 16, 2016 Share Posted January 16, 2016 Not on a log in UniFi. In the UNRIAD syslog. I can install, start, it makes the files in the unifi directory however I can not get the page to load. I have no port conflicts. That error is repeated over and over. Link to comment
CHBMB Posted January 16, 2016 Share Posted January 16, 2016 Not on a log in UniFi. In the UNRIAD syslog. I can install, start, it makes the files in the unifi directory however I can not get the page to load. I have no port conflicts. That error is repeated over and over. Got you, I think I know what it might be, post how you've set up your appdata mappings... Link to comment
tkenn1s Posted January 16, 2016 Share Posted January 16, 2016 Just wanted to give the Linuxserver.io folk a HUGE thumbs up for their Unifi docker. I recently purchased a Unify AC Pro to replace an old LR and it was unbelievably easy to adopt and setup the new AP. Thank you for making my installation take all of 5 minutes! Link to comment
JimPhreak Posted January 19, 2016 Share Posted January 19, 2016 kept the standard ports, and still can't find it. maybe because the docker runs in bridge mode It's not related to bridge mode. The AP doesn't know where the controller is unless you have your DHCP server specifically set up to issue the controller address as an option in the lease. Normally you would use the UniFi discovery tool to find the AP and tell it the IP of the controller, but the UniFi dockers don't have the discovery tool as it is a separate app. To get the AP to show up in the controller so it can be adopted and provisioned, do the following: Determine the IP the AP was leased SSH to that IP Login as ubnt / ubnt mca-cli set-inform http://address:port/inform (where address is IP of controller and port is the port you are using for inform, default is 8080) Once you run the set inform command it should show in the controller. As soon as you click adopt you need to run the set inform command a second time on the AP. EDIT: Syntax correction Yes, you can't adopt an AP in multiple controllers. You need to reset the AP to defaults before you can adopt it in another controller. SSH into the AP and run the following command. syswrapper.sh restore-default The AP will restore to factory defaults and reboot. Once it reboots, reconnect and then run the commands in the previous post. Thanks so much dirty for these above instructions. Really came in handy to quickly move my AP off a controller I had setup in a Windows VM over to this new Docker. Link to comment
tkenn1s Posted January 21, 2016 Share Posted January 21, 2016 BTW, if you're having trouble getting your Unifi AP to connect to the controller, you can use Ubiquiti's chrome extension to change it's inform URL. It's available from the chrome store here -- https://chrome.google.com/webstore/detail/ubiquiti-discovery-tool/hmpigflbjeapnknladcfphgkemopofig?hl=en Link to comment
JonathanM Posted January 24, 2016 Share Posted January 24, 2016 BTW, if you're having trouble getting your Unifi AP to connect to the controller, you can use Ubiquiti's chrome extension to change it's inform URL. It's available from the chrome store here -- https://chrome.google.com/webstore/detail/ubiquiti-discovery-tool/hmpigflbjeapnknladcfphgkemopofig?hl=en Just used this google app to help accomplish a migration to this docker from my standalone pc controller, it worked like a champ. Like the instructions said, I had to reset the AP to defaults, set inform, then it showed in the webui, adopted it, then ran set inform again and it connected properly. I had no issues changing the port mapping, since the 8000 block is so freakin' crowded on my unraid box I just changed all the mappings to start with 7xxx and it worked just fine. The https weblink on the docker control flyout had 7443, and everything "just works" with the inform port at 7080. Thanks guys! 1 Link to comment
rhinoman Posted January 28, 2016 Share Posted January 28, 2016 I just use the Windows discovery tool to assign the AP and then let the controller running on my Unraid pick it up. If you already have the AP set to a different controller, just press the reset pin and start again with a discovery tool. The chrome extension looks useful though, will try that next time. Link to comment
spylex Posted February 22, 2016 Share Posted February 22, 2016 Couldn't work without port 8080, even if i set my EdgeRouter Lite to the unRAID server as the UniFI controller. Setting the network to 'host' and changing SabNZBD to something else worked... Link to comment
JimPhreak Posted February 28, 2016 Share Posted February 28, 2016 Has anyone had trouble restoring their AP to default? I've ran syswrapper.sh restore-default multiple times on my AP and it just reboots with the same static IP address and only lets me login with the username and password previously configured. I've even tried using the reset button on the AP itself to no avail. EDIT: Turned out I had another controller up on an older VM that I had turned on that was controlling the AP. Once I removed that I was good. Link to comment
Dockmaster Posted March 6, 2016 Share Posted March 6, 2016 Thank you so much for your work on this plugin. It is simply amazing and makes my life so much easier! Link to comment
speedracer76 Posted March 9, 2016 Share Posted March 9, 2016 I get the same error when trying to setup this docker also. Did David get this resolved on his setup or anyone know what might be the problem here? Hi All... I installed UniFi and it does make the needed items in the appdata area, but in the syslog I receive... shfs/user: shfs_write: write: (22) Invalid argument ...over and over until I stop UniFi. Anyone seen this? I have removed it and even reinstalled it and stopped and started the server. Same thing. Thanks Link to comment
JaY_III Posted April 8, 2016 Share Posted April 8, 2016 Is updating the controller possible with this Docker? Or do we need to wait for the Docker to be updated to the current version with the current AP firmware? As far as i can tell we are running 4.7.6 the current is 4.8.14 https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-4-8-14-is-released/ba-p/1495935 Link to comment
CHBMB Posted April 8, 2016 Share Posted April 8, 2016 Restart the container should trigger an update. Sent from my LG-H815 using Tapatalk Link to comment
surfshack66 Posted April 8, 2016 Share Posted April 8, 2016 Hopefully I'm not missing something obvious, but I cannot connect to the webui. All settings are default. EDIT: Thanks @CHBMB. My /config was mapped to a user share instead of /cache. ErrorWarningSystemArrayLogin ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We do accept donations at: https://www.linuxserver.io/donations ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- finding fastest mirror 1. mirror.cc.columbia.edu Latency: 13 ms Org: Columbia University Status: Up to date Speed: 2 Gbps 2. mirror.symnds.com Latency: 15 ms Org: SymNDS Status: Up to date Speed: 1 Gbps 3. ubuntu.mirror.constant.com Latency: 16 ms Org: Constant.com Status: Up to date Speed: 2 Gbps New config file saved to /defaults/sources.list We are now refreshing packages from apt repositories, this *may* take a while Ign http://mirror.cc.columbia.edu trusty InRelease Get:1 http://mirror.cc.columbia.edu trusty-updates InRelease [65.9 kB] Ign http://downloads-distro.mongodb.org dist InRelease Get:2 http://mirror.cc.columbia.edu trusty-security InRelease [65.9 kB] Get:3 http://downloads-distro.mongodb.org dist Release.gpg [490 B] Get:4 http://mirror.cc.columbia.edu trusty Release.gpg [933 B] Get:5 http://downloads-distro.mongodb.org dist Release [2,040 B] Get:6 http://mirror.cc.columbia.edu trusty-updates/main Sources [341 kB] Get:7 http://mirror.cc.columbia.edu trusty-updates/restricted Sources [5,217 B] Get:8 http://mirror.cc.columbia.edu trusty-updates/universe Sources [192 kB] Get:9 http://downloads-distro.mongodb.org dist/10gen amd64 Packages [29.8 kB] Get:10 http://mirror.cc.columbia.edu trusty-updates/multiverse Sources [5,946 B] Get:11 http://mirror.cc.columbia.edu trusty-updates/main amd64 Packages [946 kB] Get:12 http://mirror.cc.columbia.edu trusty-updates/restricted amd64 Packages [23.5 kB] Get:13 http://mirror.cc.columbia.edu trusty-updates/universe amd64 Packages [462 kB] Get:14 http://mirror.cc.columbia.edu trusty-updates/multiverse amd64 Packages [14.3 kB] Get:15 http://mirror.cc.columbia.edu trusty-security/main Sources [140 kB] Get:16 http://mirror.cc.columbia.edu trusty-security/restricted Sources [3,920 B] Get:17 http://mirror.cc.columbia.edu trusty-security/universe Sources [40.5 kB] Get:18 http://mirror.cc.columbia.edu trusty-security/multiverse Sources [2,549 B] Get:19 http://mirror.cc.columbia.edu trusty-security/main amd64 Packages [567 kB] Get:20 http://mirror.cc.columbia.edu trusty-security/restricted amd64 Packages [20.2 kB] Get:21 http://mirror.cc.columbia.edu trusty-security/universe amd64 Packages [164 kB] Get:22 http://mirror.cc.columbia.edu trusty-security/multiverse amd64 Packages [4,855 B] Get:23 http://mirror.cc.columbia.edu trusty Release [58.5 kB] Get:24 http://mirror.cc.columbia.edu trusty/main Sources [1,335 kB] Ign http://www.ubnt.com stable InRelease Get:25 http://www.ubnt.com stable Release.gpg [490 B] Get:26 http://www.ubnt.com stable Release [2,498 B] Get:27 http://mirror.cc.columbia.edu trusty/restricted Sources [5,335 B] Get:28 http://mirror.cc.columbia.edu trusty/universe Sources [7,926 kB] Get:29 http://www.ubnt.com stable/ubiquiti amd64 Packages [847 B] Get:30 http://mirror.cc.columbia.edu trusty/multiverse Sources [211 kB] Get:31 http://mirror.cc.columbia.edu trusty/main amd64 Packages [1,743 kB] Get:32 http://mirror.cc.columbia.edu trusty/restricted amd64 Packages [16.0 kB] Get:33 http://mirror.cc.columbia.edu trusty/universe amd64 Packages [7,589 kB] Get:34 http://mirror.cc.columbia.edu trusty/multiverse amd64 Packages [169 kB] Fetched 22.2 MB in 8s (2,560 kB/s) Reading package lists... Apr 8 10:42:32 686c6505d545 syslog-ng[91]: syslog-ng starting up; version='3.5.3' ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We do accept donations at: https://www.linuxserver.io/donations ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- finding fastest mirror 1. mirror.cc.columbia.edu (current) Latency: 13 ms Org: Columbia University Status: Up to date Speed: 2 Gbps 2. ubuntu.wikimedia.org Latency: 15 ms Org: Wikimedia Foundation Status: Up to date Speed: 1 Gbps 3. mirror.umd.edu Latency: 18 ms Org: University of Maryland Status: Up to date Speed: 1 Gbps We are now refreshing packages from apt repositories, this *may* take a while Ign http://mirror.cc.columbia.edu trusty InRelease Ign http://downloads-distro.mongodb.org dist InRelease Hit http://mirror.cc.columbia.edu trusty-updates InRelease Hit http://mirror.cc.columbia.edu trusty-security InRelease Hit http://mirror.cc.columbia.edu trusty Release.gpg Hit http://downloads-distro.mongodb.org dist Release.gpg Hit http://mirror.cc.columbia.edu trusty-updates/main Sources Hit http://mirror.cc.columbia.edu trusty-updates/restricted Sources Hit http://mirror.cc.columbia.edu trusty-updates/universe Sources Hit http://downloads-distro.mongodb.org dist Release Hit http://mirror.cc.columbia.edu trusty-updates/multiverse Sources Hit http://mirror.cc.columbia.edu trusty-updates/main amd64 Packages Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages Hit http://mirror.cc.columbia.edu trusty-updates/restricted amd64 Packages Hit http://mirror.cc.columbia.edu trusty-updates/universe amd64 Packages Hit http://mirror.cc.columbia.edu trusty-updates/multiverse amd64 Packages Hit http://mirror.cc.columbia.edu trusty Release Hit http://mirror.cc.columbia.edu trusty-security/main Sources Hit http://mirror.cc.columbia.edu trusty-security/restricted Sources Hit http://mirror.cc.columbia.edu trusty-security/universe Sources Hit http://mirror.cc.columbia.edu trusty-security/multiverse Sources Hit http://mirror.cc.columbia.edu trusty-security/main amd64 Packages Hit http://mirror.cc.columbia.edu trusty-security/restricted amd64 Packages Hit http://mirror.cc.columbia.edu trusty-security/universe amd64 Packages Hit http://mirror.cc.columbia.edu trusty-security/multiverse amd64 Packages Hit http://mirror.cc.columbia.edu trusty/main Sources Hit http://mirror.cc.columbia.edu trusty/restricted Sources Hit http://mirror.cc.columbia.edu trusty/universe Sources Hit http://mirror.cc.columbia.edu trusty/multiverse Sources Hit http://mirror.cc.columbia.edu trusty/main amd64 Packages Hit http://mirror.cc.columbia.edu trusty/restricted amd64 Packages Hit http://mirror.cc.columbia.edu trusty/universe amd64 Packages Hit http://mirror.cc.columbia.edu trusty/multiverse amd64 Packages Ign http://www.ubnt.com stable InRelease Hit http://www.ubnt.com stable Release.gpg Hit http://www.ubnt.com stable Release Hit http://www.ubnt.com stable/ubiquiti amd64 Packages Reading package lists... Apr 8 10:46:57 686c6505d545 syslog-ng[60]: syslog-ng starting up; version='3.5.3' Link to comment
JaY_III Posted April 9, 2016 Share Posted April 9, 2016 Restart the container should trigger an update. Sent from my LG-H815 using Tapatalk Restart is not changing anything. Perhaps I am doing something wrong? version Number is 4.7.6 Seen here: ->Settings -> Maintenance Link to comment
mikefallen Posted April 17, 2016 Share Posted April 17, 2016 Installed docker but its not seeing any of my aps......installed wireless controller on my desktop and it picks them all up no problem....any steps to troubleshoot this>? only issues in logs is penJDK 64-Bit Server VM warning: You have loaded library /usr/lib/unifi/lib/native/Linux/amd64/libubnt_webrtc_jni.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. OpenJDK 64-Bit Server VM warning: You have loaded library /usr/lib/unifi/lib/native/Linux/amd64/libubnt_webrtc_jni.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. Link to comment
mgworek Posted April 19, 2016 Share Posted April 19, 2016 Did you have the controller running on your desktop before? Are the AP's already being controlled from the controller on your desktop? A new install won't see the APs if they are already being controlled. You need to reset the APs or restore a backup on the new controller. Link to comment
Recommended Posts