[UniFi Network Controller] [ 7.4.156 ] Wi-Fi/Device Management

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

[UniFi Network Controller] [ 7.4.156 ] Wi-Fi/Device Management

Post by QNAP_Stephane »

Image
Source : https://unifi-sdn.ubnt.com

Download : x86_64, arm64

Download :

https://www.myqnap.org/product/unifi-controller/

Dependency : MongoDB4 - https://www.myqnap.org/product/mongodb/


NOTE:
Before upgrading to a newer version, it is recommended to take a backup of your configuration and save to your PC.
This maybe needed to restore your settings if the update fails and you need to reinstall the whole Controller software again.
Backup versions are specific to the Application version. i.e. version 6.1.71 will have a backup version of the App Version software with 6.1.71 version in the filename.
Last edited by QNAP_Stephane on Mon Jun 05, 2023 4:21 pm, edited 44 times in total.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Iceman24
Getting the hang of things
Posts: 95
Joined: Thu Nov 19, 2015 8:44 am

Re: [ Ubiquiti UniFi ] [ 5.7.20.0 ] Wi-Fi Management

Post by Iceman24 »

Thanks for this. I added the Qnapclub Store recently and wish I had installed it through there, because now I'm looking at a separate but same version to install from that repo that may or may not conflict with this version I installed. I don't want to break anything. Can you tell me how I can transition from manually installed version to store repo one?
lowfi
Know my way around
Posts: 112
Joined: Fri Oct 16, 2015 10:49 pm

Re: [ Ubiquiti UniFi ] [ 5.7.20.0 ] Wi-Fi Management

Post by lowfi »

Export your backup from within unifi. Import it again in the new unifi controller.

This is a standard procedure within unifi.
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [ Ubiquiti UniFi ] [ 5.7.20.0 ] Wi-Fi Management

Post by Trexx »

Stephane - There are some issues with the QPKG's when trying to restore the backup file.

I am getting the following issues:

Code: Select all

[2018-04-20 17:09:48,220] <launcher> INFO  system - *** Running for the first time, creating identity ***
[2018-04-20 17:09:48,222] <launcher> INFO  system - UUID: 58cc12a0-d968-4c79-9a52-27edcecdb2ae
[2018-04-20 17:09:48,224] <launcher> INFO  system - ======================================================================
[2018-04-20 17:09:48,224] <launcher> INFO  system - UniFi 5.7.20 (build atag_5.7.20_10627 - release) is started
[2018-04-20 17:09:48,224] <launcher> INFO  system - ======================================================================
[2018-04-20 17:09:48,226] <launcher> INFO  system - BASE dir:/share/CACHEDEV1_DATA/.qpkg/Unifi/UniFi
[2018-04-20 17:09:48,231] <launcher> INFO  system - Current System IP: 172.31.240.1
[2018-04-20 17:09:48,231] <launcher> INFO  system - Hostname: q877
[2018-04-20 17:09:49,595] <launcher> INFO  db     - waiting for db connection...
[2018-04-20 17:09:50,097] <launcher> INFO  db     - Connecting to mongodb://127.0.0.1:27117
[2018-04-20 17:09:51,175] <launcher> INFO  db     - *** Factory Default *** Database exists. Drop it
[2018-04-20 17:09:51,239] <launcher> INFO  db     - waiting for db connection...
[2018-04-20 17:09:52,827] <launcher> INFO  db     - Connecting to mongodb://127.0.0.1:27117
[2018-04-20 17:09:52,834] <launcher> INFO  stat   - *** Factory Default *** Stat Database exists. Drop it
[2018-04-20 17:09:54,369] <launcher> INFO  webrtc - WebRTC library version: EvoStream Media Server (www.evostream.com) build v2.0.3 - Gladiator - (built for Debian-7.0.5-x86_64 on 2018-02-18T00:58:25.000) OpenSSL version: 1.0.2l usrsctp version: 6d79bcc19755bc08 libx264 version: 72d53ab2ac7af245 libav version: v0.0.1-alpha.1 compiled on machine: Linux debian-7-0-5-64 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64 GNU/Linux
[2018-04-20 17:09:54,587] <launcher> ERROR throughput - Failed to bind port 6789. Address already in use (Bind failed)
[2018-04-20 17:10:11,425] <webapi-38> INFO  db     - Connecting to mongodb://127.0.0.1:27117
[2018-04-20 17:10:11,919] <webapi-38> INFO  db     - Connecting to mongodb://127.0.0.1:27117
[2018-04-20 17:10:16,392] <shutdown-listener> INFO  db     - waiting for db connection...
[2018-04-20 17:10:16,393] <shutdown-listener> WARN  DisposableBeanAdapter - Invocation of destroy method failed on bean with name 'hotspotRadiusService': java.lang.NullPointerException
[2018-04-20 17:10:16,626] <db-server> INFO  db     - DbServer stopped
[2018-04-20 17:10:16,944] <webapi-38> ERROR [ServiceServlet] - Servlet.service() for servlet [ServiceServlet] in context with path [] threw exception
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'dbService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:210)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:272)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1125)
	at com.ubnt.service.OoOO.Ôo0000(Unknown Source)
	at com.ubnt.ace.view.ServiceServlet.Ò00000(Unknown Source)
	at com.ubnt.ace.view.ServiceServlet.service(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:458)
	at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:177)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
[2018-04-20 17:10:18,461] <webapi-43> ERROR [ServiceServlet] - Servlet.service() for servlet [ServiceServlet] in context with path [] threw exception
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'dbService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:210)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:272)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1125)
	at com.ubnt.service.OoOO.Ôo0000(Unknown Source)
	at com.ubnt.ace.view.ServiceServlet.Ò00000(Unknown Source)
	at com.ubnt.ace.view.ServiceServlet.service(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:458)
	at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:177)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Ubiquiti UniFi ] [ 5.7.20.0 ] Wi-Fi Management

Post by QNAP_Stephane »

I ahve no idea did you try 5.7.23 ?
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [ Ubiquiti UniFi ] [ 5.7.23.0 ] Wi-Fi Management

Post by Trexx »

Same issue. Some googling did have one mention of issue being potentially Java jdk related.


Sent from my iPad using Tapatalk
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Iceman24
Getting the hang of things
Posts: 95
Joined: Thu Nov 19, 2015 8:44 am

Re: [ Ubiquiti UniFi ] [ 5.7.23.0 ] Wi-Fi Management

Post by Iceman24 »

It didn't seem like the exact same issues when I looked over log, but I updated from 5.7.20 to 5.7.23 by removing old one, installing new one, then restoring backup of 5.7.20 version. It seemed to crash, but I manually stopped and restarted app, then it was working fine.
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [ Ubiquiti UniFi ] [ 5.7.23.0 ] Wi-Fi Management

Post by Trexx »

I ended up migrating my controller to Google Cloud via this setup: https://metis.fi/en/2018/02/unifi-on-gcp/

Supports integrated Let's Encyrpt certificate as well as DDNS registration (I went with DuckDNS) and for smaller deployments like mine I can fit in the Micro size GCP VM so it's free.
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
DanNAP
Starting out
Posts: 34
Joined: Sat Apr 29, 2017 10:41 pm

Re: [ Ubiquiti UniFi ] [ 5.7.23.0 ] Wi-Fi Management

Post by DanNAP »

Im having issues doing layer 3 adoption. Does anyone know if this package uses TCP 8080 as inform port?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Ubiquiti UniFi ] [ 5.8.24.0 ] Wi-Fi Management

Post by QNAP_Stephane »

updated
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Coolsaber57
Starting out
Posts: 16
Joined: Sat Nov 16, 2013 1:21 am

Re: [ Ubiquiti UniFi ] [ 5.8.24.0 ] Wi-Fi Management

Post by Coolsaber57 »

Installed this on a TS-469L but it will not let me get to the setup wizard. It just says "site cannot be reached". Is there something I missed?
User avatar
Toxic17
Ask me anything
Posts: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ Ubiquiti UniFi ] [ 5.8.24.0 ] Wi-Fi Management

Post by Toxic17 »

Coolsaber57 wrote:Installed this on a TS-469L but it will not let me get to the setup wizard. It just says "site cannot be reached". Is there something I missed?
did you add the dependacy?
Dependency :

QJDK8
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Coolsaber57
Starting out
Posts: 16
Joined: Sat Nov 16, 2013 1:21 am

Re: [ Ubiquiti UniFi ] [ 5.8.24.0 ] Wi-Fi Management

Post by Coolsaber57 »

Toxic17 wrote:
Coolsaber57 wrote:Installed this on a TS-469L but it will not let me get to the setup wizard. It just says "site cannot be reached". Is there something I missed?
did you add the dependacy?
Dependency :

QJDK8
Yes, I installed that as well. Is there anything else that needs to be configured before the wizard will show?
mdhwoods
Know my way around
Posts: 188
Joined: Wed Mar 29, 2017 8:30 pm

Re: [ Ubiquiti UniFi ] [ 5.8.24.0 ] Wi-Fi Management

Post by mdhwoods »

no, if you installed the dependency, and then installed the app you should be good to go. try restarting the app and see if you can connect then. i just installed this and had no complications, wizard ran as expected. Have not tried to add a device yet, but server is running. Ap should be here tomorrow.
occamsrazor
Know my way around
Posts: 244
Joined: Tue Mar 30, 2010 8:30 pm

Re: [ Ubiquiti UniFi ] [ 5.8.24.0 ] Wi-Fi Management

Post by occamsrazor »

5.8.28 stable was released yesterday.... Would be great to get an updated QPKG. While I am here, thanks so much for maintaining the Unifi QPKG, I really prefer using this on my QNAP TS-451 than a docker which I found much more complicated to use and update.

https://community.ubnt.com/t5/UniFi-Upd ... -p/2449036
Last edited by occamsrazor on Thu Aug 09, 2018 11:13 pm, edited 1 time in total.
TS-451 [4 x 10TB WD Reds in Raid-5]
TS-239 Pro II [2 x 3TB in Raid-0]
pfSense router and Ubiquiti Unifi switches
Mac Minis, MacBook Pro, iPhones
Post Reply

Return to “Community Apps”