Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
New Member
Posts: 1
Registered: ‎05-22-2017

UniFi - Installing the Controller software on Raspberry Pi (OSMC)

Hi Guys, 

 

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.

 

http://www.lowefamily.com.au/2016/06/02/installing-ubiquiti-unifi-controller-5-on-raspberry-pi/3/

 

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. Man Happy

New Member
Posts: 1
Registered: ‎04-09-2017

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

Nope me to got the same problem and used same manual...

 

Manual only working for now on raspbian OS

 

 

Regular Member
Posts: 369
Registered: ‎12-10-2014
Kudos: 55
Solutions: 25

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

@SheldonBM @mmeinen Try changing the port and make sure that the Oracle Java is used. There are been issues associated with Java in the RPi

When you receive a solution to your question/issue, don't forget to mark your thread as solved and to give kudo's to the people who have helped you out!
Paid Remote Support Available!!!
New Member
Posts: 1
Registered: ‎09-07-2017

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

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 update
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

 

 

 

 

 

 

New Member
Posts: 3
Registered: Wednesday

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

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

New Member
Posts: 3
Registered: Wednesday

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

How do I get past the above?

New Member
Posts: 1
Registered: ‎05-03-2017

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

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.

 

Services_control

Highlighted
New Member
Posts: 3
Registered: Wednesday

Re: UniFi - Installing the Controller software on Raspberry Pi (OSMC)

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.

Reply