First I restarted the add-on, and then I also restarted the Pi (the host) just in case.
No change so far. The only thing as of right now that I have changed, is the 8080/tcp to 8085.
Something else is running on 8080 so the addon won’t start with 8080. I’ll figure out what that is and disable it while testing. After that, I’m out of ideas.
I uninstalled the addon, Restarted Hass.io, installed the addon and BAM - adoption worked immediately.
Probably something with my port redirections that screwed up when I started and didn’t update when I changed the ports back?
I can now confirm that it only works (for me) if I don’t alter the 8080/tcp. When I try to use another port (i.e. 8088), it won’t find any APs anymore. Change back and everything works fine.
Now I just need to find out how to make the embedded MQTT-broker use something else than 8080
Hey has anyone been able to get the UniFi Cloud Controller Cloud Access to log in? Loving this by the way @frenck as I am able to further consolidate machines down! Thank you for the hard work!
Not sure if this is a notification or a cry for help. In case it is the last one, you should provide some data (like logs and stuff) in order for us to be able to help you.
Edit: Didn’t work for me. But for others trying to run embedded MQTT and Unifi add-on in parallell: Change the port on MQTT instead as described here MQTT Embedded broker and websocket
Thank you Frenck, this is much appreciated and perfectly fits my setup.
However, after installing and setting up following the 11 steps, all my devices have status “Managed by other” (instead of “Connected”) and I am not able to change the name or add them to my network.
Did any have this same problem or did I miss something?
@frenck after installing the add-on and pressing the start button I only see a spinner inside the button then after a few seconds nothing happens. I hit refresh on the log details and there is nothing there. I even changed the log level from info to trace and still nothing is showing up for me. I changed both port 8080 and 8443 to something else hoping that would solve it but the add-on is still refusing to start.
I have installed this addon, but not getting very far. I see no errors in the log just that it is started. Navigating to the URL https://<hass.io>:8443 and I get the prompt to restore an existing backup, select that and I get the message restore is progressing…then nothing.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: UniFi Controller v0.1.1
Manage your UniFi network using a web browser
From: Community Hass.io Add-ons
By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 50-persist-data.sh: executing...
[cont-init.d] 50-persist-data.sh: exited 0.
[cont-init.d] 60-ssl.sh: executing...
[cont-init.d] 60-ssl.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
INFO: Starting the UniFi Controller
I can’t see anything in the system log either. Any suggestions?
My log does now contain the error:
OpenJDK Client VM warning: You have loaded library /usr/lib/unifi/lib/native/Linux/armv7/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'.