How to Install Ubiquiti UniFi Controller 5 on the Raspberry Pi
Please share with your friends...
  • 176
  • 5
  •  
  • 100
  • 2
  • 37
  •  
  •  
  •  
  •  
    320
    Shares

The Ubiquiti Networks UniFi Controller enables administrators to instantly provision and configure thousands of UniFi APs, allowing for quick, simple management of system traffic. A single UniFi Controller can manage multiple sites: multiple, distributed deployments and multi-tenancy for managed service providers.

This article describes how to install the UniFi Controller software Version 5 on Raspberry Pi.

The UniFi Controller and mFi Controller software can co-exist on the same Raspberry Pi
The instructions in this article have been tested with Raspbian Stretch (April 2018) and UniFi 5.7.23.

Contents


The Shortlink to this post is http://www.technologist.site/?p=1686.

If you found this post helpful or useful in some way, please help us by doing the following:

  • Like or link to this post from your favourite social media platforms;
  • Click our advertisers banners;
  • Make a Purchase through our associates links;
  • Make a Paypal Donation;
  • Leave a Reply below.
Thank you!

Chris

⇓ LastPageNext ⇒

Raspberry Pi is a trademark of the Raspberry Pi Foundation. UBNT, mFi® and UniFi® are trademarks of Ubiquiti Networks, Inc.
How to Install Ubiquiti UniFi Controller 5 on the Raspberry Pi

Please share with your friends...
  • 176
  • 5
  •  
  • 100
  • 2
  • 37
  •  
  •  
  •  
  •  
    320
    Shares
Tagged on:                                                         

11 thoughts on “How to Install Ubiquiti UniFi Controller 5 on the Raspberry Pi

  • 20/01/2018 at 11:23 AM
    Permalink

    Newer advice is that the “apt-key adv” command requires too much infrastructure and since the introduction of /etc/apt/trusted.gpg.d/ then gpg can be used directly; it works fine if instead of installing dirmngr and using apt-key adv, you use: gpg –keyserver keyserver.ubuntu.com –recv-key 06E85760C0A52C50

    Reply
    • 18/02/2018 at 5:22 PM
      Permalink

      Hi John,
      Sorry for the late reply. Thanks for the information, I’ve tested and updated the guide to reflect this.
      Thanks again,
      Chris.

  • 29/01/2018 at 12:59 PM
    Permalink

    I followed the instructions and it was working great. I was able to get in and manage the controller several times. Suddenly The page will not load when I try to. ERR_CONNECTION_REFUSED

    Any ideas?

    Reply
  • 08/02/2018 at 5:08 PM
    Permalink

    I learned the hard way you cannot run this on the wheezy build of raspbian.

    Reply
  • 26/02/2018 at 7:45 AM
    Permalink

    I’ve installed the controller on my Pi 3 running stretch. Everything seems to go ok. I try to access the controller at port 8443 of my Pi and I get a “site cannot be reached”. Any tips on debugging this? Is there a way from the command line to see if the controller is running? Thanks!

    Reply
    • 26/02/2018 at 2:18 PM
      Permalink

      I figured it out. I had another program that was using port 8080. I changed it to use 8081 and the UniFi Controller fired right up.

  • 28/03/2018 at 4:02 PM
    Permalink

    I’d like to install the unifi 5 controller on a armv5tel (armel) platform. what should I consider then? thanks!

    Reply
  • 12/04/2018 at 3:49 PM
    Permalink

    instructions work like a charm for upgrading.

    Reply
  • 29/08/2018 at 6:38 AM
    Permalink

    worked a treat thank you for posting

    Reply
  • 13/10/2018 at 10:03 PM
    Permalink

    Relative to updating UniFi on Rasperry PI, you’ve included a note from UBNT indicating you should backup your controller settings BEFORE upgrade UniFi controller software versions.

    Is that backup suggestion accomplished through the GUI / autobackup functionality? Or something else?

    In the Windows space, backing up means to take a copy of c:\Users\user\UniFi directory, which is independent of the autobackup functionality offered via the GUI.

    Reply
  • 13/02/2019 at 8:19 PM
    Permalink

    For step 2 I would advise since Unifi 5.10.12 to instead use:

    sudo apt-get -y install openjdk-8-jre-headless

    Also, if oracle-java8-jdk is included by default in the full Raspbian (I don’t know since I only ever use Raspbian Lite), then I suppose that should be followed by:

    sudo apt-get remove –purge oracle-java8-jdk

    From what I’ve read, openjdk is quite a bit faster anyway: https://stackoverflow.com/questions/31153584/why-is-there-such-a-performance-difference-on-raspberry-pi-between-open-and-orac

    Certainly, after dist-upgrading my PiZero from Jessie to Stretch and switching to openjdk-8-jre-headless to get Unifi 5.10.12 working again, it’s still running absolutely fine even on that minimal hardware. Also, the new web UI is a big upgrade!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *