Sunday, December 11, 2016

Moving my Unifi Controller to my Synology Rackstation 814+ NAS

All my UniFi posts so far:

Ubiquiti UniFi AC Pro Wireless Access Point
Ubiquiti Unifi Security Gateway (USG)
Moving my Unifi Controller to my Synology Rackstation


As I mentioned last week in my blurb on the Unifi Security Gateway, I recently moved my Unifi controller from running part time on my desktop PC (basically starting it any time I needed to upgrade a device or change a configuration) to running full time on my Synology.

I had a couple of options, and I'm still not entirely sure I'm going to stick with the one I chose:

Option A: Install it Natively

It happens that there is a guy in Russia that maintains a repo for installing the Unifi controller.  His Repo is: http://synology.acmenet.ru/

It looks pretty up to date, and it was what I initially started to go with, but instead I went with Option B.

Option B: Install it as a Docker Container

I'll admit that one of the reasons I did this is because I hadn't done it before.  Docker is a somewhat new thing that allows apps to be given their own environment, but to share common items and run on the same kernel.  Basically, a docker package runs in its own operating system, sort of.  Here's a link if you want to read up.

I actually found a couple of different docker repositories that had potential, but I went with this one:


This one seems to be following the unifi build cycle the best, using Latest/Testing/Unstable build tags.

I had no problem setting it up initially, but instead of pulling "latest" I pulled "version 5.2.9," which happened to be "latest" when I did the install.  Unfortunately, that wasn't what I wanted to do.  Today I pulled "latest" which is now 5.3.8, backed up my existing configuration through the Unifi controller, stopped the "5.2.9" container, created a container from the "latest" image, started it and restored my settings.  Actually there was one other step:


Set Up Your Ports

You'll probably want to change your local ports from "automatic" to be the same as the container ports, as shown below:


This was really trivial to set up using the GUI interface.  I'm not 100% sure I'll keep it in docker, but the repository seems to be well maintained.  We will see how things go over time.



9 comments:

  1. wonderful share, portrays the meaning in an amazing manner. Independence Day Speech for KG Students

    ReplyDelete
  2. Are you being tired of writing assignments non-stop? Is it being tough for you to manage academic tasks simultaneously? voyance-telephone-gaia.com

    ReplyDelete
  3. I have gained lot of useful information which will help me a lot in future. Without have account on instagram you can download anything you like on instagram from site 토토사이트

    ReplyDelete
  4. 바카라사이트
    Hello I am so delighted I located your blog, This is my website and it was very helpful. This is a great blog post. This is your absolute magic! I've never seen a better post than this. I hope you keep this up!

    ReplyDelete

  5. This site seems to inspire me a lot. Thank you so much for organizing and providing this quality information in an easy to understand way. I think that a healthy era of big data can be maintained only when such high-quality information is continuously produced. And I, too, are working hard to organize and provide such high-quality information. It would be nice to come in once and get information.

    Also visit my site:스포츠토토


    ReplyDelete
  6. Great web site. A lot of useful information here. I’m sending it to several friends ans also sharing in delicious. And obviously, thanks in your effort! 야설
    Feel free to visit my blog :
    야설

    ReplyDelete
  7. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. 일본야동
    Feel free to visit my blog : e 일본야동

    ReplyDelete
  8. Great post mate! I want to share dissertation writing services which can help students to stay calm. I definitely recommend these services for all students who need some help with difficult education.

    ReplyDelete