Fix for UniFi Controller and version 5.1.1

Good news, Everyone! The problem

<db-server> ERROR system - [exec] error, rc=141
<db-server> INFO  db     - DbServer stopped

which affected many people is solved now.

By numerous samples, testing and compiling different versions of MongoDB, the good version was found, which stably works. Just build a package with a new version of the UniFi Controller 5.1.1. It is a separate package that you can’t upgrade the usual way. Transition to the following algorithm:

  1. From the old version of Web interface, UniFi Controller save backup all the settings in a separate file;
  2. From Synology Web interface stop service old version UniFi Controller;
  3. Install the package with a new version of the UniFi Controller 5;
  4. Launching a new version of the package Controller 5 UniFi;
  5. Open the Web interface of the new version of Controller 5 UniFi;
  6. Import the backup settings in the new version;
  7. After you verify that everything works normally – you can delete the package with an older version of UniFi Controller.

I want to say thanks to all who supported me and kicked me by email. Thanks a lot for people are donated me. If someone wants to support – you can always do it here.
PS. Always make backups! Just yesterday my Synology DS713+ for backups turn on it beeper very loudly and blinking yellow LED. Web interface showed terrible, the status of RAID-0 was Crashed. It happened half an hour before the match Iceland – France. Apparently disappointed in advance when presenting the result of the meeting. But Iceland is to be congratulated! Well done!
PPS. The data is of course not injured, soon I will write how the situation was resolved.

Comments

  1. Mauro from Italy
    04.07.2016 - 18:08

    Hey Alex! thank you for your time making things easy and comfy for us 🙂 you are very appreciated! Thanks.

  2. Stig From Denmark
    07.07.2016 - 01:20

    Hallo Alex
    I get this Error: UniFi Controller 5: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
    Have you see that before?

  3. Hi, this package doesn’t work on my DS 411+II :(:

    Server log: http://pastebin.com/sEyiVvWZ

    Official Java7 and Java8 Packages from Synology are installed.

  4. Hi. This package also doesn’t work on my DS414.
    I removed the latest stable version (wich also didn’t work)

    Still get:
    ERROR system – [exec] error, rc=141
    INFO db – DbServer stopped

  5. I’ve briefly tried to run 5.1.1 but didn’t work either on my DS414. The reason for the RC=141 is that the Mongod is crashing. It starts, but almost immediately it crashes with segmentation fault.
    At first it didn’t run at all (with the original mongod), so I changed to a different mongod I use for running Unifi 4.8.18 and got the segmentation fault.

    2016-07-13T20:41:39.029+0200 [conn1] SEVERE: Invalid access at address: 0x5d4d6000
    2016-07-13T20:41:39.034+0200 [conn1] SEVERE: Got signal: 11 (Segmentation fault).

    This all done in 30min or so; I just wanted to try it. Will take a better look in a later stage.

  6. Thanks for this Alex, but for some reason when I try and restore it from backup I get the following:

    cannot load native lib – ubnt_webrtc_ini
    process is interrupted: bin/mongod
    dbserver stopped

    and I cannot start it again, I have to uninstall the package and reinstall

  7. Franck Wehrlé
    23.07.2016 - 18:52

    Hi,

    Thank you for this usefull app. I use it for months on syno.
    Today, I upgrade the app and forget to do a backup. And.. have now error rc 141 🙁
    Is there a way to down grade the app to make a backup? Or maybe is there a way to save some files in SSH, reinstall the App and replace files to make it reworking again and make a backup?
    I didn’t want to setup all my Wifi again.. :,(
    Thank you

    • You could manually install previous version from repository.

      • Franck Wehrlé
        23.07.2016 - 20:09

        Maybe, but repos didn’t allow me to browse to find one. Did you have a link?
        I find UniFi_Controller-x64-4.8.14-160223 on another repo, but when I try to manually install it, syno tell me I can’t because I have 4.8.20

  8. Thanks for this useful package. I use it on a DS1815+ with DSM 6.01.
    Used previous beta version 4.9.4 if I remember correct. Worked well, only errors during start of App. Did an backup and removed the package as I found your instructions AFTER I got some issues.
    Here my points and hope that others can confirm and you hopefully fix it for future releases.
    – After restore of beta 4.9.4 backup I could not start the package again, finally I did a complete new setup, OK maybe because of Beta to Beta move….. 🙂
    – Have still the errors during startup of App, think same like others report here.
    – App does not auto start after reboot of Synology, is this normal or can this be changed?
    – Unifi IOS App does not longer find the controller, with version 4.9.4 this was working fine. Is this my mistake or a general issue?
    – Got an some browsers warnings after visiting the controller site. As it looks on my Mac with Safari I can’t get the controller page visible, get always the warning that safari could not generate a safe connection. Currently it seems to work on Win10 Edge browser and also Firefox. Is there a solution to get it running again on Safari?

    Many thanks for your great work again.

  9. Unfortunately this new version did not fix the ” ERROR system – [exec] error, rc=141″ bug for me. However, I compiled mongodb version 3.3.5 myself and this fixed the problem for me.

    I have the DS1812+ with the cedarview CPU.

  10. Doesn’t work on my DS412+ with the latest DSM. The app crashes on first start.

  11. can you share the compiled .spk-version of mongodb version 3.3.5?

  12. I did not build a full .spk, I just built the mongod executable for my platform. Here are the steps to build the executable on your own on a linux machine (I used Ubuntu 16.04):

    1. Download the DSM 6.0 tool chain for your DMS platform here: https://sourceforge.net/projects/dsgpl/files/DSM%206.0%20Tool%20Chains/. To find out your platform you can login to your DSM via SSH and run “uname -a”.
    2. Extract the archive to some directory .
    3. Clone the mongodb source code from github: git clone https://github.com/mongodb/mongo.git
    4. Navigate into the mongodb sources: cd mongo
    5. Checkout version 3.3.5: git checkout r3.3.5
    6. Build the mongod executable with scons (here refers to the platform dependent prefix of all the tools in the bin directory): scons CC=/bin/-gcc CXX=/bin/-g++ –release mongod
    7. Strip the binary: /bin/-strip mongod
    8. Copy the mongod executable to your diskstation (most likely to /var/packages/Unifi Controller 5/target/bin/mongod).

    It may well be that you have to install certain packages via apt install in order for the build to succeed. I only had to install scons via: sudo apt install scons.

  13. I did not build a full .spk, I just built the mongod executable for my platform. Here are the steps to build the executable on your own on a linux machine (I used Ubuntu 16.04):

    1. Download the DSM 6.0 tool chain for your DMS platform here: https://sourceforge.net/projects/dsgpl/files/DSM%206.0%20Tool%20Chains/. To find out your platform you can login to your DSM via SSH and run “uname -a”.
    2. Extract the archive to some directory @toolchain_dir@.
    3. Clone the mongodb source code from github: git clone https://github.com/mongodb/mongo.git
    4. Navigate into the mongodb sources: cd mongo
    5. Checkout version 3.3.5: git checkout r3.3.5
    6. Build the mongod executable with scons (here @platform@ refers to the platform dependent prefix of all the tools in the bin directory): scons CC=@toolchain_dir@/bin/@platform@-gcc CXX=@toolchain_dir@/bin/@platform@-g++ –release mongod
    7. Strip the binary: @toolchain_dir@/bin/@platform@-strip mongod
    8. Copy the mongod executable to your diskstation (most likely to /var/packages/Unifi Controller 5/target/bin/mongod).

    It may well be that you have to install certain packages via apt install in order for the build to succeed. I only had to install scons via: sudo apt install scons.

    Sorry, in the post above I used delimiters that wordpress didn’t seem to like.

  14. I’m interested in testing new beta v5.2.2 because of all the issues (App access, Safari….) I have.
    Could you provide a new version please?
    If not, is it possible to update the existing version 5.1.1 by myself via ssh?
    If yes, how?
    Thanks for your help.

  15. New unifi beta v5.2.2 is available now.
    Because of my issues, mentioned above, I would like to give it a try.
    Do you intend to release a new installer soon?
    If not, is it possible to update v5.1.1 via SSH commands?
    If yes, how?

    many thanks for any kind of support.

  16. Gustavo Maluk
    04.08.2016 - 19:21

    Hi, I’m having trouble accessing the controller recently updated to 5.1.1 beta. It seems to be a problem with the certificate. I get “ERR_SSL_VERSION_OR_CIPHER_MISMATCH” on Chrome 52.
    Is there a way to fix it?
    My setup is a Synology 415+ and unifi controller 5.1.1 beta.

    Thanks in advance

  17. Hi,
    I have the same problem as Gustavo.
    How can I fix it?

    Thanks

  18. Same here

  19. 415+ here. Also the ERR_SSL error.

  20. Andreas Eklind
    14.09.2016 - 11:30

    For the ones using a arm7 Synology like the DS216play, then switching to this mongod binary installation might solve issues with the db not starting. Link I used and downloaded the mongod binary from, http://andyfelong.com/2016/01/mongodb-3-0-9-binaries-for-raspberry-pi-2-jessie/

  21. Andreas Eklind
    14.09.2016 - 15:32

    If you’re still are experiencing the db server stopped problem using a arm7 like DS216play then try to replace the mongod binary with the one from this url http://andyfelong.com/2016/01/mongodb-3-0-9-binaries-for-raspberry-pi-2-jessie/.

    This have solved the problem for me and now I have the 5.2.4 version running without issues.

  22. Hi everyone,

    I’m hopping if someone can make a package for me on latest ARM DS215j mongodb.

    I’m getting lots of error on the 141. Probably something to do with mongodb.
    Using Java 8 x32hardfloat.

  23. Ole Aggerholm
    18.09.2016 - 12:11

    i also have same issue as Gustavo

  24. Orsi Balázs István
    20.09.2016 - 12:42

    Hello. I have installed MongoDB 2.1.1-160419-beta, Java jdk-7u60-linux-arm-vfp-hflt.tar and UniFi Controller 5.2.4-160831-beta to my DS216play (DSM 6.0.2-8451 Update 1 quite fresh install) and still receiving DbServer Stopped, rc-141 error. Any suggestion how to fix it?

  25. Hi, 5.2.7 doesn’t work. It doesn’t adopt my APs or the Gateway. It works if I run 5.2.7 on my Mac, so it isn’t any hardware issue with the APs or anything.

  26. 1813+ here. Also the ERR_SSL error.

  27. Hi all,

    I was struggling with the v5 of Unifi Controller on my DS414. I had a good running mongod for v4 (posted earlier), but didn’t get v5 running stable.
    Couple of days ago I tested the latest release (5.2.7-160926) of Alex and couldn’t get it started. Next I replaced the mongod from the release with the version of Andreas. That works perfectly!! Now my Unifi Controller has been running for several days without issues.
    Thanks Alex and Andreas for all the effort!

    Regards, Paul

  28. Gianfranco Panico
    08.11.2016 - 15:45

    Hi Alex
    got this error: ERR_SSL_OBSOLETE_CIPHER on 2 different synology 1815+ when i try to connect to web interface.
    Found this:
    http://community.ubnt.com/t5/UniFi-Wireless/ERR-SSL-VERSION-OR-CIPHER-MISMATCH-after-upgrading-to-5-2-7/m-p/1681242
    But if i add or change this line:
    unifi.https.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA

    to system.properties file under /volume1/@appstore/Unifi Controller5/data and restart, the Unifi Controller crash with this exceptions:
    UniFi Controller 5: Exception in thread “launcher” org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘?00000’ defined in class com.ubnt.service.AppContext: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [com.ubnt.service.K.D com.ubnt.service.AppContext.?00000()] 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 org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:73) at com.ubnt.service.new.interface(Unknown Source) at com.ubnt.ace.Launcher.main(Unknown Source) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [com.ubnt.service.K.D com.ubnt.service.AppContext.?00000()] 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 org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) … 14 more Caused by: 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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:305) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6.dbService() at com.ubnt.service.AppContext.?00000(Unknown Source) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6.CGLIB$?00000$0() at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6$$FastClassBySpringCGLIB$$9ad6de00.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6.?00000() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) … 15 more Caused by: java.lang.NullPointerException at com.ubnt.service.OoOO.M.?O0000(Unknown Source) at com.ubnt.service.OoOO.M.afterPropertiesSet(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509) … 34 more
    9 minuti fa
    UniFi Controller 5: Exception in thread “launcher” org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘?00000’ defined in class com.ubnt.service.AppContext: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [com.ubnt.service.K.D com.ubnt.service.AppContext.?00000()] 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 org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:73) at com.ubnt.service.new.interface(Unknown Source) at com.ubnt.ace.Launcher.main(Unknown Source) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [com.ubnt.service.K.D com.ubnt.service.AppContext.?00000()] 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 org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) … 14 more Caused by: 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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:305) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6.dbService() at com.ubnt.service.AppContext.?00000(Unknown Source) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6.CGLIB$?00000$0() at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6$$FastClassBySpringCGLIB$$9ad6de00.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$b566cb6.?00000() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) … 15 more Caused by: java.lang.NullPointerException at com.ubnt.service.OoOO.M.?O0000(Unknown Source) at com.ubnt.service.OoOO.M.afterPropertiesSet(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571) at org.springframework.beans.factory.support.

    Have an idea?

    Cheers

  29. Mauro from Italy
    10.11.2016 - 13:44

    Hello Alex, are you trying DSM 6.1? my 5.2.9 won’t start on DSM 6.1 beta giving dependancy error.

  30. SteveAdmin
    10.11.2016 - 17:37

    Is there a possibility to have support for the DS413 (FREESCALE QorIQ P1022)?
    I know its a older model, bit it would be awesome!

  31. For those who are still getting the “ERROR system – [exec] error, rc=141” message, try the following:

    First connect to your DiskStation via SSH. Then enter these two commands:

    sudo mkdir -p /data/db/

    sudo chown `id -u` /data/db

  32. I’m still getting the “ERROR system – [exec] error, rc=141” on a ds216play. When I run ps, mongod doesn’t appear to be running. Should it? How do I start it?

  33. still getting this error ERR_SSL_OBSOLETE_CIPHER on DS416play & Unifi Controller 5 installed.

  34. I need to manually start mongod from the terminal. Is there any way around it? I’m using a DS216play.

  35. Config:

    DS215j – Marvell Armada 375
    DSM 6.0.2-8451 Update 6
    Java 8 – Update 1.8.0_121
    MongoDB 2.1.1-160419-beta
    UniFi Controller 5 – 5.4.9-170117

    if i start unifi controller the error ” error, rc=141″ is in the log

    then i make this from @Franz:

    ————————————-
    sudo mkdir -p /data/db/

    sudo chown root /data/db
    (sudo chown admin /data/db)
    ————————————-

    Now UniFi Controller 5 run perfect on my ds215j – THANK YOU

  36. What about a Braswell compilation of MongoDB ? (DS416Play Celeron N3060 x64) ?

  37. Hi,

    I’m running the Unifi Controller on my Synology DS2413+ and it works fine for me.

    Now I startet to use also VoIP-Phones. (UVP). As far as I know I can only configure the Phones with UniFi VoIP Controller.
    Is there a plan to create also a package for the UniFi VoIP controller?

    Currently I Installed the VoIP Controller on my Mac mini, but it would be nice, when I could run both controllers on Synology.

  38. Hi, running Chrome Version 57.0.2987.110 (64-bit) on Windows10 and when trying to access the Unifi Console it gives me a ERR_SSL_OBSOLETE_CIPHER … Firefox is ok and IE as well, but IE doesn’t supports the GUI elements as such (:-(( Could you please check the build in webserver on it’s cipher spec ??

  39. Lukas Gaam
    29.03.2017 - 15:08

    Hello Alex,
    How are you?
    We just received a RS217 with Marvell Armada 385 88F6820
    It is running DSM 6.1
    Did you try already to compile the UniFi-Controller for this system?

    Thank you for your reply and best regards
    Lukas Gaam

  40. just add
    unifi.https.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA

    to system.properties file under /volume1/@appstore/Unifi Controller5/data and restart, the Unifi Controller.

  41. Iam facing the same issue .. cant connect to the controller with quite unspecific error msg in browser. In the past I could get around by using IE7, but since the last update 5.5.15 none of my browsers work. Also adding the config line unifi.https.ciphers seems to not take any effect so far … anyone else with a proper solution ?? Why isnt a SSL key issue not already addressed in the original package??

  42. Adding unifi.https.ciphers to system.properties doesn’t fix the issue on my system so … still no connection established in neither Chrome, FireFox or IE … does the same issue exist with the regular controller software as well or is this just an issue here. Any further help appreciated !!

  43. Thanks for that advise … unfortunately this is not working for me … still no connection established … is this something you have with the regular controller as well ??

  44. Stefano Vignato
    30.08.2017 - 13:08

    Hi! Your UniFi Controller implementation on Synology is a wonderful idea. I tried it out, no success on Synology DS414 w/MARVELL Armada XP MV78230, DSM 6.1.3.

    It seems to be regularly installed, at the launch i get this notification:
    Package Center
    UniFi Controller 5: Exception in thread “launcher” org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘?00000’ defined in class com.ubnt.service.AppContext: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [com.ubnt.service.M.O0OO com.ubnt.service.AppContext.?00000()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbService’ 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.OoOO.G com.ubnt.service.AppContext.dbService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbMigrationService’ 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.OoOO.R com.ubnt.service.AppContext.dbMigrationService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:73) at com.ubnt.service.B.?O0000(Unknown Source) at com.ubnt.service.B.?00000(Unknown Source) at com.ubnt.ace.Launcher.main(Unknown Source) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [com.ubnt.service.M.O0OO com.ubnt.service.AppContext.?00000()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbService’ 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.OoOO.G com.ubnt.service.AppContext.dbService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbMigrationService’ 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.OoOO.R com.ubnt.service.AppContext.dbMigrationService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) … 15 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbService’ 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.OoOO.G com.ubnt.service.AppContext.dbService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbMigrationService’ 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.OoOO.R com.ubnt.service.AppContext.dbMigrationService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:305) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.dbService() at com.ubnt.service.AppContext.?00000(Unknown Source) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.CGLIB$?00000$1() at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4$$FastClassBySpringCGLIB$$e619cd85.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.?00000() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) … 16 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.ubnt.service.OoOO.G com.ubnt.service.AppContext.dbService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbMigrationService’ 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.OoOO.R com.ubnt.service.AppContext.dbMigrationService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) … 37 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dbMigrationService’ 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.OoOO.R com.ubnt.service.AppContext.dbMigrationService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:305) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.dbMigrationService() at com.ubnt.service.AppContext.dbService(Unknown Source) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.CGLIB$dbService$8() at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4$$FastClassBySpringCGLIB$$e619cd85.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.dbService() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) … 38 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.ubnt.service.OoOO.R com.ubnt.service.AppContext.dbMigrationService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) … 59 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServer’ defined in class com.ubnt.service.AppContext: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:305) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.tomcatServer() at com.ubnt.service.AppContext.dbMigrationService(Unknown Source) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.CGLIB$dbMigrationService$17() at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4$$FastClassBySpringCGLIB$$e619cd85.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.ubnt.service.AppContext$$EnhancerBySpringCGLIB$$574a25e4.dbMigrationService() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) … 60 more Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) at java.util.concurrent.ThreadPoolExecutor.prestartAllCoreThreads(ThreadPoolExecutor.java:1601) at org.apache.tomcat.util.threads.ThreadPoolExecutor.(ThreadPoolExecutor.java:78) at org.apache.catalina.core.StandardThreadExecutor.startInternal(StandardThreadExecutor.java:121) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:450) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:758) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:349) at com.ubnt.net.Oo0O.String(Unknown Source) at com.ubnt.net.Oo0O.afterPropertiesSet(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509) … 79 more

  45. WARN JSSESocketFactory – None of the ciphers specified are supported by the SSL engine : TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_EMPTY_RENEGOTIATION_INFO_SCSVF

    well, I can’t get the webserver to work. anyone got this running?

  46. mvveelenMarco
    18.09.2017 - 21:36

    Synology DS414 – Armada XP
    Installed Java with latest update: jdk-8u144-fcs-bin-b01-linux-arm32-vfp-hflt-21_jul_2017.tar
    Installed: UniFi Controller 5 package

    But when I run it, port 8443 isn’t available. Tried port 8442 and 8444: bunch of errors (already posted here). Failed to run the package service, etc.

    Do I need to install something else?

    Am I nearly there or….? What can I do to fix this?

  47. Hi, I also got this issue with the DS414 (Armada XP ARM), DSM 6 and Unifi 5.5. But for me it is different; I can succesfully install and run it, but Unifi crashes if I use it for around 1 or 2 hours. I think my problem is related with a very old version of MongoDB in the package? Could this be the case? Can this be upgraded in any way

  48. Hi,
    I’ve been using 5.5.24 for a long time. 5.6.26 has been available for a while in Ubiquiti’s website. Are you planning for an implementación for this version.
    Thanks.

  49. I have just done a fresh install on my DS3615xs.

    I started by installing Java 8.
    Then I used http://synology.acmenet.ru/ to install the unifi controller.
    Once installed I got the “ERR_SSL_VERSION_OR_CIPHER_MISMATCH” error …
    So I hit google and found on the unifi forum that I needed to add:

    unifi.https.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA

    to the “system.properties” file.
    I stopped the unifi service from the DSM GUI and grabbed my putty to ssh in to my Synology BUT …
    I had trouble finding the file, so I hit google again and found it was in the data folder (/volume1/@appstore/UniFi Controller 5/data), but I was given the error of
    “-sh: cd: data: Permission denied”
    So again I hit google remembering that I needed to login as the SuperUser but not remembering the commands.
    I found I needed to use : “sudo su – root” and use the same password again.
    Once in as the super user I was able to access the “data” folder and the “system.properties” file, before I went on I jumped back to the DSM GUI and installed nano as its a much easier editor to use then the built in VI editor, and nano’ed’ the “system.properties” file and added the code needed to make it all work.

    I then started the Unifi Controller using the DSM GUI and BAM!!! it was all working.

    I then restored my setup, it stopped the controller again, so I ran it again from the DSM GUI and it was all working perfect.

  50. Hi!, great work, but i got the following error when trying to access the controller:

    ERR_SSL_VERSION_OR_CIPHER_MISMATCH

    on every browser.

    log says:

    WARN JSSESocketFactory – None of the ciphers specified are supported by the SSL engine: ……

    Can you help me?, thanks!

    Pablo.-

  51. Aleksandr Zakurakin
    24.07.2018 - 13:50

    This error “ERR_SSL_VERSION_OR_CIPHER_MISMATCH” is solved as follows:
    1. Stop the controller service
    2. go through ssh
    3. Text editor run from under the root, open the file:
    admin@BLABLABLA:/volume1/@appstore/UniFi Controller 5/data$ sudo nano( or vi) system.properties
    5. simply comment the line:
    # unifi.https.ciphers = TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA
    removing “# ”
    6. save the modified file
    7. Start the service
    device: Unifi 5.6.37-180412 \ ARMADA370

  52. I this still alive?
    I install controller after last update 5.12.59 but i cant connect to controller via UniFi Network portal.
    I read on the Internet that it was the outdated version of java (1.8.0_212), but when I update it to the latest version (_241) controller does not start. I have Syno DS115j.DSM 6.2.2-24922 Update 4.

Leave a Reply