How to Install UniFi Controller on Synology

  • The first thing you need to connect the repository «ACME Networks», to do this, open «Package Center» and click on the «Settings» button. In the «General» in the «Trust Level» select the item «Any publisher». Further, in the «Package Sources» push the button «Add» and enter the name of the repository – ACME Networks, and the location – http://synology.acmenet.ru/, after then click on the «OK» button. In the «Settings» window just click «OK». After that, click on the «Update» button. After the updating, in the “Community” should appear UniFi Controller Packages, where they can be installed.
  • Before installing any controller Ubiquiti, you must install «Java Manager». To install the package open «Utilities» and install «Java Manager» from there. Once installed, click on the «Open» button located under the icon «Java Manager». In the «Java Manager» can be seen that no Java-machine has not been established. To install – click on the button «Upgrade Java». In the Java installation that write for the installation, you need to go to the website and download the Oracle archive with the corresponding Java-machine.
  • On Synology with Intel-based CPU:
    Click on the link Java SE Downloads. On the Oracle Web site first mark item «Accept License Agreement», and then download the file Linux x86 (jdk-7u71-linux-i586.tar.gz).
  • On Synology with ARM-based CPU Armada 370/XP:
    Click on the link Java SE Downloads for ARM. On the Oracle Web site first mark item «Accept License Agreement», and then download the file Linux ARM v6 / v7 Hard Float ABI (jdk-7u60-linux-arm-vfp-hflt.tar.gz).
  • When a file is downloaded, click on the «Browse» button, select the file that we have downloaded and click on the «OK» button. After a successful installation will appear that says «You have successfully installed Java», should click on the «OK» button in this window. Now the window «Java Manager» can be closed.
  • In the «Package Center» open block «Community», select the desired controller Ubiquiti and click on the «Install» button, below the icon of the controller. Next, follow the instructions of the installer and install the controller.

2015-09-14 update: UniFi Controller was built for Armada 375 CPU (DS215j). But I recommend using Synology with Intel CPUs for UniFi Controller.
2016-01-27 update: Please, read the latest news about UniFi Controller on Synology.

You can thank the author here on this page.

Comments

  1. Will order both a 115j and 215j. The 215 uses 375/XP ARM.

  2. mortlund@gmail.com
    21.12.2014 - 20:54

    I only see PLEX Connect in “Community”, how can that be?

  3. Wakko,

    I adjusted the INFO in the UniFi_Controller-armadaxp-4.2.0-141210.spk and added armada375 to the ‘arch’ line.
    DS215j is installing UniFi_Controller-armadaxp-4.2.0-141210.spk based on DSM 5.1-502 and Java 1.7.0_60 for ARM.

    initial setup of the controller went smooth and it discovers all the APs as well as the USG

  4. Hello, I have a DS212j NAS but I can not install the Unifi controller on this model. Can you confirm the correct operation with DS214.

    thank you very much

    • DS212j has old ARM-based 88F6281 CPU and low memory. This CPU is unsupported now. I think what in next year I’ll recompile MongoDB for this CPU, but 256MB RAM is a very small amount for normal working.

  5. Hi!

    Trying to install it on DS213j but when finish installation appears a message saying could not install.

    Is DS213j supported?

    Thanks a lot !

    • Only Intel and Armada/Armada XP based Synology is supported now.

  6. Hi there!, i’m trying to mount mongoDB, nodeJS, and git all toguether, any way, i own DS713+, when i try to install jdk-7u60-linux-arm-vfp-hflt.tar.gz an error message occurs,”missing or incorrect file”.

    I download it again, thinking maybe it was corrupted, never the less, same result.

    Any sugestions?

    • DS713+ has an Intel x86 CPU… not ARM… Please, read manuals and specifications before using any devices…

  7. Never mind! i was downlowing the inorrect file! sry !!! btw gra tutorial 😀

  8. CornishSteve
    12.01.2015 - 23:15

    Great article and great work – on behalf of all Synology users thank you.

    Can you advise if the DS212+ is able to run this or its it’s CPU past it?

  9. Janos Szilagyi
    14.01.2015 - 18:34

    Dear Wakko,

    Thanks for great your work.
    Do you plan to implement UBNT controllers to Mindspeed Comcerto 2000 CPU as well?

    If you need a test device for that, I can give you access.

    Best Regards
    Janos

  10. Janos Szilagyi
    14.01.2015 - 18:48

    Sorry, Marvell Kirkwood mv6282 CPU, not Mindspeed.

  11. My problem is, the DS212+ don’t have the Java Manager, is there any solution for that?

  12. Dont be able to install on DS412+ (INTEL Atom D2700; 1024 MB; DSM 5.1-5022) Java Version 1.7.0_71 is installed.
    What I’m doing wrong.

  13. Hello, thank you very much for the ARM installers. I get it running on my DS214+, but after 5 minutes the controller becomes unresponsive (eg. i can’t login, of when i’m logged in i’m unable to change anything in the webinterface). It looks like the controller is doing some sort of task, but I can’t find any error logs. Can you help me? 🙂

  14. Hello and thank’s for your work, it’s great !

    I have the same problem of Karel on my DS214+ ! Everything work for few minutes and hop nothing, the controller is unresponsive.

    I have to reboot the controller in the package center and it leaves for 5 minutes.

    I am under the 4.6.0-150122 version I tested ahead with beta-4.6.0-150204 same result.

    MongoDB 2.1.1-141207-beta and the latest version of JAVA.

    I have my DS214 + for 2 days I had before and everything was working on my DS214SE perfectly.

    If you want I can give you access to my nas, I have nothing personal on it for now, it is in the testing phase.

    Thank you again for your work it’s great for me to manage my AP from my NAS via dyndns.

  15. MrGardenRoute
    23.02.2015 - 17:13

    I tried to install your Synology package of Ubiquiti Controller, unfortunately without success.

    Configuration:
    Synology DS411 + (Intel Atom)
    DSM 5.1-5022 Update 2
    JAVA v. 1.7.0_75
    2x UBNT Unifi AP 2.4 / 5 GHz
    1x UBNT Unifi AP 2.4 GHz

    Nowhere in Synology DSM I do not see installed MongoDB…

    In LAN in which the Synology are 3 UBNT AP, after starting the controller, unfortunately, does not find any UBNT AP in LAN.
    The current controller for UBNT AP is installed on a laptop that is disconnected – it needs to be connected? I wanted to do a new install, and configure everything again.

    Thanks for help

  16. Hi There

    I have a DS213j with MARVELL Armada 370 88F6707

    I installed Java, and had to try and manually install MongoDB. But while this uploaded and appears to install, i had no configuration options. As a result the Unifi controller told me that MongoDB was dead.

  17. @CornishSteve, the DS212+ has an Armada 300 CPU. I think the current package of Wakko does not support the 300. the Armada XP is actually a 350.

    @Wakko, are you able to adjust the Armada package to include the 300 version of the Armada? I got 2 DS212+ models that would like to take aon the job as UbiController as well.

    The DS115j is flawless, as where the DS215J dares to halt from time to time.

  18. is there a possibility to let the controller run on a synology 213+ (Freescale Power PC P1022)?

  19. MrGardenRoute
    28.04.2015 - 16:59

    In “ACME Networks repository” is no longer to download a small version of “Unifi Wireless Controller” (which was only for the WiFi AP), but only a version of “Unifi Controller” …
    Why? Any problem ?

  20. Markus Morawitz
    02.05.2015 - 11:17

    Installed UnifFi Controller package on DS412+. Works fine. Thanks for your nice work. Awaiting Version 4.6.4! Donating soon!

  21. Radim Snirc
    04.05.2015 - 10:47

    Hi,
    I have a problem with mFi Controller. He works only one week.Then falls MongoDB and is necessary reinstall. I tried it on DS214se the same result. Is the 256MB low?

    Thanks for help

    DS115j
    MARVELL Armada 370 88F6707
    800 MHz
    256 MB
    DSM 5.1-5022 Update 4
    JAVA 1.7.0_60
    ____________________________

    mFi mPower 3x
    mFi mPort

  22. Thank you for making this package available! Makes setting up UniFi on SYnology boxes a breeze!

  23. Renzo Meister
    12.06.2015 - 22:22

    I have a DS111 with newest DSM (5.2.x) and I only see the Plex Package under community. Does your package not work on this device?

  24. I only see PLEX Connect in “Community”, how can that be? Synology model DS212+

  25. After some time I am expecting crashing the application, APs lose comunication with controller. I am suspecting crashing of Java. I am using recent version, Synology DS414. Thanks for help

  26. It only shows Plex Connect after adding Package Source.I am using DS125+.

  27. I can’t install the Package on my Syno DS115, because it has an Armada 375. Is it somehow possible to install the Unifi Controller?

  28. Hello, great work! Thanks a lot. I have one Problem, after few minutes and relogin, i can`t Login to the UniFi Controller…after restarte the service it works great but after few minutes the same Problem. Maybe you have an Idee?

  29. Dear all, I’ve got the same problem with my DS414. A few minutes after login the controller freeze and only a restart fixes the problem. But after a new login there is the same problem. Somewhere I had read that there is a problem with the Java on the DS but a solution I have not found.
    Are there any exact information from the programmer.

  30. Hello, I would like to install the controller on my DS215j, but the processor is still unsupported…
    As 2rebos mentioned, it is only a small adjustment on the .spk, is it possible to get this working?
    @2rebos: How did you edit the .spk-file or is it possible to get your working one?

    Thanks!

    • Hi, you could try to install new version.
      But Armada-CPU is not a good idea for UniFi Controller.

    • @Frank,

      as stated above: “I adjusted the INFO in the UniFi_Controller-armadaxp-4.2.0-141210.spk and added armada375 to the ‘arch’ line.”

      the controller is stable but now and then crashes, so you have to manually start it again. This also happens on the DS115j model, which suffers a few more of those crashes, somehow the DS215j is a bit more powerful regarding this package. Have not tested the 4.6xx version of the controller yet.

      @Wakko,

      Any succes on the DS212+ model CPU?

      • There is no official Java package for Armada 300, so I can’t build UniFi Controller for this hardware.

  31. i have added the repository http://synology-test.acmenet.ru/ but only Plex manager is showing no Unifi Controller.

    • I don’t see your connections in log files of synology-test repository. So I think what you don’t try this repository in last 10 minutes.
      Alpine version was uploaded 10 minutes ago.

  32. got it i forget to use refresh button. sorry.

  33. Where to get Mongo DB?

    • UniFi Wireless Controller already has binaries of MongoDB. You don’t need to install Mongo separately.

  34. Receiving Error

    Failed to run the Apkage.

    MongoDB is dead.

    • This message mean what Armada and Alpine is binary incompatible. I have no access to Synology with Alpine CPU, so I can’t compile MongoDB for this architecture.

  35. i bag you please do it. I brought synology for only few reson and one of them is that it can host unifi controller.

    • You could give me a shell for your device for compiling mongo. But I’m getting married next week, so I have no time for this. Could you ask me in the middle of october for that?

  36. you can use my NAS if you want.

  37. That is great. many Congratulation to you. wish you a great life ahead. I will contact you next month for sure. God bless.

  38. I have a DS414 with Armada CPU and again the problem is that the controller will hang after about 2 minutes and I have to restart the package.
    With the 4.7.4 it has, I do not ameliorated.

    Yesterday I bought a DS415 + with Intel CPU. I hope that it thus runs better and will subsequently report.

  39. Same issue here on DS414. After two minutes the package is dead and I have to restart it. Any idea?

    • Yes, that’s right. Look the tread before. DS414 doesn’t work. No ideas, there is problem with the Armada CPU, Java Software and/or to less RAM.
      Since the last friday I’ve run a DS415+ with Intel CPU and now everything works fine for many days.
      Now I sell my DS414.

  40. Binary-546
    26.09.2015 - 20:47

    Hello wakko.
    I am nust curiouse.
    Will docker run the official linux unifi controller on synology?

  41. danielpugh
    29.09.2015 - 18:34

    hello, i just found the references to the Alpine AL-212 on this page. i have the same problem “ERROR: MongoDB is dead”

    i also bought this nas (ds215+) just to run unify (doh!)
    I can give you shell access to this device if it helps.
    No rush as realise you are getting married (congratulations in advance!)

    Dan

  42. Hi,

    First of all thanks for porting the controller to Synology. Easy install, and good instructions.
    Unfortunately the controller hangs when I try to login for the second time.
    Errors in log in Synology Package center says:
    [2015-10-14 05:57:39,981] ERROR inform – Error in o000.1nform(] I
    com.mongodb.08PortPooi$ConnectionWaitTimeOut: Connect1on wait timeout after 120000 ms
    at com .mongodb.OBPortPool.get(DBPortPool.java: 222)
    at com.mongodb.OBTCPConnectorsMyPort.get(OBTCPConnector.Java:440)
    at com.mongodb.OBTCPConnector. say(OBTCPConnectoqava: 177)
    at com .mongodb. OBTCPConnector .say(DBTCPConnector -1•••: 1 55)
    at com.mongodb.08ApllayersMyCollection.update(08ApllaYer.Java:349)
    at com.mongodb.OBCollection.update(DBCollection.Java: 177)
    at com.mongodb.08Collection.update(OBCollection.Java:208)
    at com.ubnt.service.E.mt.oOOOOO(Unknown Source)
    at com.ubnt.servlc:e.E.P.oOOOOO(Unknown Source)
    at com.ubnt.servlte.G.oOOO.oOOOOO(Unknown Source)
    at com.ubnt.serv~ce.G.oOOO.?OOOOO(Unknown Source)
    at com.ubnt.servlte.G.oOOO.?OOOOO(Unknown Source)
    at com.ubnt.net.I nformServlet.service(Unknown Source)
    at jav ax .servlet.http .HttpServlet .service(HttpServlet.jav a: 7 28)
    at org.apac:he.catalina.core.ApplicationFilterChain.internaiOoFilter(Applica tionFilterChain.java
    at org .apache .catalina .core .ApplicationFilterChain .doFilter(ApplicationfilterChain .java: 210)

    Maybe this can help you improve the installation package. It seems that MongoDb stopped running.
    I’m on a DS214+ with the latest DSM installed.

    Best regards,
    Ron

  43. hello wakko,

    is there any support for synology ds216play installing unifi controller package?
    i ve added the “http://synology.acmenet.ru/” package center but only see plexconnect.

    best regards,
    Frank

  44. helixpteron
    19.01.2016 - 23:31

    Hello Frank – too see the package you have to tick “see Beta packages” in the package manager. You will then see the package and install of Java and UnifiController will work, but it seems to have a problem with the MongoDB. I have read somewhere that each kind of processor has to bin an a config file of a package you want to run on DSM – I suspect this could be the issue, but I am not versed enough to solve the problem myself.

    I also maintain a DS214play with INTEL Atom CE5335 and it works fine there under DSM 6.

    Please contact me if you get ahead in running it on the 216play, which unfortunately has a processor like no other Synology as far as I know…

    helixpteron@robertbischof.com – thanks. Rob.

  45. kuiperonline
    09.03.2016 - 16:32

    After installing (updating to) JAVA jdk-7u79-linux-i586.tar.gz`on my Synology DSM412J+ INTEL Atom D2700 with DSM 6.0-7274

    And then installing Unifi 4.9.1.160210-beta I get this message.
    UniFi Controller: Exception in thread “launcher” org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘houseKeeper’ defined in class com.ubnt.service.AppContext: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.ubnt.service.new.H com.ubnt.service.AppContext.houseKeeper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘statService’ defined in class com.ubnt.service.AppContext: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.ubnt.service.new.class com.ubnt.service.AppContext.statService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbService’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.NullPointerException at

    Can you help me out please. I am used a power user. Not a technician.

    Vincent

    • Hi.
      You could try to use previous version of Java, or may be Java 8 version. It could solve this problem.

  46. It doesn’t work on a DS414+ …..Unifi Controller have Problems to start the Application

  47. Hi,

    good Work so far! Is there any support for DS411slim, DS414slim or new DS416slim? (all with ARM CPU)
    Ive good two DS411slim, but ubgradeable to newer one.

    • It is a very bad idea to run anything on this devices.
      DS414slim and DS416slim is a real shit.
      512MB memory onboard… my iPhone 5s has 1GB!

  48. Mamadou Falilou KANE
    31.03.2016 - 16:34

    i want to install unifi controller on synoly ds214

  49. When will you create the package for v5 rc? I see you have the beta on your .test. but that does not allow an upgrade of existing version as far as I can see. Thanks for creating these packages, I really appreciate your work here.

    You should have an easier way for us to donate.

  50. Hi,

    Can we have support for DS416Play please ?

  51. aloha234557
    03.11.2016 - 23:40

    No Support for de DS413 (FREESCALE QorIQ P1022)?

  52. hi
    is it possible to create a backup of config and restore it on a new install? I cant seem to get this to work, when I try it it just stops the DB and stops the app on my Synology, the backup im restoring from is 4.8.20 to the latest build of 5

  53. Hi Wakko

    server DS716+II (Intel CPU) – instaled Unifi Controller v4 (4.8.20), will not start (!), and uninstall,
    and install another new Unifi Controller v5, and will not start again (!),
    please help !

    I have a similar installation (V4 beta 4.9.4) to another server DS716 + II, and it at least after several attempts to start running …

    Thanks Petr

  54. Hi Wakko

    server DS716+II – instaled Unifi Controller v4 (4.8.20), will not start (!), and uninstall,
    and install another new Unifi Controller v5, and will not start again (!),
    please help !

    I have a similar installation (V4 beta 4.9.4) to another server DS716 + II, and it at least after several attempts to start running …

    Thanks Petr

  55. Patrizio Cherenti
    04.04.2020 - 12:16

    Hello,
    I have a Synology Rs810 + and I am trying to install Unifi Contrler 5.12.66-200401. I installed Java 7u79 linux i586 and also Mongo DB.
    When starting the Unifi Controler application I get a JAVA error message!
    Can you help me ?
    thank you in advance

Leave a Reply