05-22-2017 10:46 PM
Has anyone been able to successfuly install the Unifi Control on the OSMC operating system for Raspberry PI?
I have tried to follow the tutorial below but sadly it did not work for myself or i didnt do something right.
I am able to confirm that the applications service is running but for some reason the port 8443 is not avaliable when i do a netstat.
Any suggestions or help would be much appriated.
06-17-2017 02:32 AM
Paid Remote Support Available!!!
11-01-2017 10:56 AM
You need to install Oracle Java 8
I used this method:
sudo su echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get install oracle-java8-installer
Accept terms and conditions:
lqqqqqqqqqqqqqqqqqqqConfiguring oracle-java8-installerqqqqqqqqqqqqqqqqqqqqqk x In order to install this package, you must accept the license terms, x x the "Oracle Binary Code License Agreement for the Java SE Platform x x Products and JavaFX ". Not accepting will cancel the installation. x x x x Do you accept the Oracle Binary Code license terms? x x x x x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu x < Yes > < No > x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Don't know if this is necessary but did it anyway:
apt-get install oracle-java8-set-default
It should work now at port 8443
root@raspberrypi:~# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.Eb29vSN7Ck --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv C0A52C50
gpg: requesting key C0A52C50 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Not sure if you ever got this working, but maybe it'll help someone in the future. I also have the controller installed on my OSMC media player, since it's always on. The lowefamily link worked for me to install it, but port 8443 was not working. The reason for this is that OSMC and the controller both default to port 8080 for non secure connections.
I couldn't figure out where to do it in the controller, so I changed the OSMC web interface to another port, 8081, 8801, anything really... and rebooted and the controller came up right away. You can change the port in Kodi/OSMC in Settings → Services → Control → Allow remote control via HTTP and Port.
Hope this helps.
All I had to do for the above was add "--force-yes" for it to proceed. But interestingly enough I was doing that one at work and then later at home I was setting it up as well and it went through without that. I wonder if there had been a server down or something when I tried it earlier at work.
So all works great at work and home.