Open tong2x opened 1 year ago
added code #310 for testing on latest script for .150
firmware 165 error, unifi does not seem to run properly due to the error script installs correctly, using openjdk17. could this be mongodb or other dependecy?
root@OPNsense:~ # service unifi.sh start
Starting UniFi controller.
root@OPNsense:~ # 19:07:30,658 |-INFO in ch.qos.logback.classic.LoggerContext[de fault] - Found resource [logback-test.xml] at [jar:file:/usr/local/UniFi/lib/ace .jar!/logback-test.xml]
19:07:30,684 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@18d8 7d80 - URL [jar:file:/usr/local/UniFi/lib/ace.jar!/logback-test.xml] is not of t ype file
19:07:30,894 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:07:30,915 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About t o instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
19:07:30,927 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [server_log]
19:07:30,989 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@6184 25b5 - No compression will be used
19:07:31,006 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [filter] of type [com.ubnt.ace.logs.EffectiveLogLe velFilter] java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevel Filter
at java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevel Filter
at at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Bu iltinClassLoader.java:641)
at at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loa dClass(ClassLoaders.java:188)
at at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:52 0)
at at ch.qos.logback.core.util.Loader.loadClass(Loader.java:120)
at at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begi n(NestedComplexPropertyIA.java:102)
at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Int erpreter.java:269)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interp reter.java:145)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interp reter.java:128)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.ja va:50)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:165)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:152)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:110)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:53)
at at ch.qos.logback.classic.util.ContextInitializer.configureByRes ource(ContextInitializer.java:64)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(Con textInitializer.java:134)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.jav a:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder .java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.j ava:124)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java: 417)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
at at com.ubnt.service.system.nullString.Ø00000(Unknown Source)
at at com.ubnt.service.system.nullString.<clinit>(Unknown Source)
at at com.ubnt.ace.Launcher.<clinit>(Unknown Source)
19:07:31,008 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] fo r [encoder] property
19:07:31,136 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[server_lo g] - Active log file name: logs/server.log
19:07:31,136 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[server_lo g] - File property is set to [logs/server.log]
19:07:31,137 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About t o instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
19:07:31,138 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [migration_log]
19:07:31,139 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5d71 48e2 - No compression will be used
19:07:31,140 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] fo r [encoder] property
19:07:31,142 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[migration _log] - Active log file name: logs/migration.log
19:07:31,142 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[migration _log] - File property is set to [logs/migration.log]
19:07:31,142 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About t o instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
19:07:31,142 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [tasks_log]
19:07:31,144 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@25fb 8912 - No compression will be used
19:07:31,145 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] fo r [encoder] property
19:07:31,146 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[tasks_log ] - Active log file name: logs/tasks.log
19:07:31,146 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[tasks_log ] - File property is set to [logs/tasks.log]
19:07:31,149 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [turboFilter] of type [com.ubnt.ace.logs.Overwrite LogLevelFilter] java.lang.ClassNotFoundException: com.ubnt.ace.logs.OverwriteLog LevelFilter
at java.lang.ClassNotFoundException: com.ubnt.ace.logs.OverwriteLogLevel Filter
at at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Bu iltinClassLoader.java:641)
at at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loa dClass(ClassLoaders.java:188)
at at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:52 0)
at at ch.qos.logback.core.util.Loader.loadClass(Loader.java:120)
at at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begi n(NestedComplexPropertyIA.java:102)
at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Int erpreter.java:269)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interp reter.java:145)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interp reter.java:128)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.ja va:50)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:165)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:152)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:110)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:53)
at at ch.qos.logback.classic.util.ContextInitializer.configureByRes ource(ContextInitializer.java:64)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(Con textInitializer.java:134)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.jav a:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder .java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.j ava:124)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java: 417)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
at at com.ubnt.service.system.nullString.Ø00000(Unknown Source)
at at com.ubnt.service.system.nullString.<clinit>(Unknown Source)
at at com.ubnt.ace.Launcher.<clinit>(Unknown Source)
19:07:31,149 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About t o instantiate appender of type [com.ubnt.ace.logs.InMemoryAppender]
19:07:31,151 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [InMemoryAppender]
19:07:31,152 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [filter] of type [com.ubnt.ace.logs.EffectiveLogLe velFilter] java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevel Filter
at java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevel Filter
at at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Bu iltinClassLoader.java:641)
at at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loa dClass(ClassLoaders.java:188)
at at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:52 0)
at at ch.qos.logback.core.util.Loader.loadClass(Loader.java:120)
at at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begi n(NestedComplexPropertyIA.java:102)
at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Int erpreter.java:269)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interp reter.java:145)
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interp reter.java:128)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.ja va:50)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:165)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:152)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:110)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(Gen ericConfigurator.java:53)
at at ch.qos.logback.classic.util.ContextInitializer.configureByRes ource(ContextInitializer.java:64)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(Con textInitializer.java:134)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.jav a:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder .java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.j ava:124)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java: 417)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
at at com.ubnt.service.system.nullString.Ø00000(Unknown Source)
at at com.ubnt.service.system.nullString.<clinit>(Unknown Source)
at at com.ubnt.ace.Launcher.<clinit>(Unknown Source)
19:07:31,152 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] fo r [encoder] property
19:07:31,154 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About t o instantiate appender of type [com.ubnt.service.trace.logerror.AnalyticsAppende r]
19:07:31,164 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [AnalyticsAppender]
19:07:31,693 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [java] to ERROR
19:07:31,693 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [javax] to ERROR
19:07:31,693 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [javax.jmdns] to OFF
19:07:31,693 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [sun] to ERROR
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.apache] to WARN
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [httpclient.wire] to WARN
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [net.schmizz] to ERROR
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [com.codahale] to ERROR
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.apache.tomcat] to ERROR
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.apache.commons] to WARN
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.apache.catalina] to ERROR
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.hibernate.validator] to WARN
19:07:31,694 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [com.mongodb] to ERROR
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.mongodb] to ERROR
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [org.springframework] to WARN
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [de.javawi.jstun] to WARN
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [com.ubnt] to INFO
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [com.ubiquiti] to INFO
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [com.amazonaws.internal] to WARN
19:07:31,695 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Settin g level of logger [springfox] to WARN
19:07:31,695 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Atta ching appender named [migration_log] to Logger[migration]
19:07:31,696 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Atta ching appender named [tasks_log] to Logger[tasks]
19:07:31,696 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Se tting level of ROOT logger to INFO
19:07:31,697 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Atta ching appender named [server_log] to Logger[ROOT]
19:07:31,697 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Atta ching appender named [InMemoryAppender] to Logger[ROOT]
19:07:31,697 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Atta ching appender named [AnalyticsAppender] to Logger[ROOT]
19:07:31,697 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
19:07:31,699 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@7c24b813 - Registering current configuration as safe fallback point
19:07:38,049 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could N OT configuration file [/usr/local/UniFi/logback-access.xml] using property "cata lina.base"
19:07:38,049 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could N OT configuration file [/usr/local/UniFi/logback-access.xml] using property "cata lina.home"
19:07:38,050 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Found [ logback-access.xml] as a resource.
19:07:38,051 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@23b3 aa8c - URL [jar:file:/usr/local/UniFi/lib/ace.jar!/logback-access.xml] is not of type file
19:07:38,077 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set
19:07:38,078 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About t o instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
19:07:38,078 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [access_log]
19:07:38,081 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@9940 7c2 - No compression will be used
19:07:38,082 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encode r] property
19:07:38,101 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access_lo g] - Active log file name: logs/access.log
19:07:38,101 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access_lo g] - File property is set to [logs/access.log]
19:07:38,102 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Atta ching appender named [access_log] to ch.qos.logback.access.tomcat.LogbackValve[n ull]
19:07:38,102 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.
19:07:38,102 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@6c796cc1 - Registering current configuration as safe fallback point
19:07:38,102 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Done co nfiguring
OPNSense users can now start and test beta UniFi Network Application 7.5.187 Freebsd13 #326
I have had success from a clean install and upgrade
beta UniFi Network Application 7.4.162 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/yc5nv7fs | sh -s Update - python39 Update - mongoDB44 -once proven to be stable, will introduce firmware 165 -will probabaly make a PR with 7.4.165 and mongodb44/mongodb50 for test in pfsense 2.7
beta UniFi Network Application 7.4.162 Install command: fetch -o - https://tinyurl.com/46cak93x | sh -s Added - mongoDB50
beta UniFi Network Application 7.4.162 Install command: fetch -o - https://tinyurl.com/y47muuxr | sh -s Modify - AddPkg python38 Added - mongoDB44
beta UniFi Network Application 7.4.165 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/bdhw9vu7 | sh -s added
NOTE: seems to be failing to load due to numerous other reason, logs etc... clean install didnt help
beta UniFi Network Application 7.4.162 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/edfwfc5y | sh -s
Install command: fetch -o - https://tinyurl.com/3vm9d5cv | sh -s Modify - AddPkg python38
beta UniFi Network Application 7.4.158 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/yck2at8w | sh -s
beta UniFi Network Application 7.4.156 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/357223ms | sh -s
beta UniFi Network Application 7.4.155 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/5bdd9bck | sh -s NOTE: removed 'libpthread-stubs' for compatibility testing with PFsend 2.6, those having installation issues
beta UniFi Network Application 7.4.154 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/ysp38t6f | sh -s
beta UniFi Network Application 7.4.150 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/yckfm6nc | sh -s
beta UniFi Network Application 7.4.149 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/5n9knctr | sh -s
beta UniFi Network Application 7.4.146 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/w8v5zyrh | sh -s
with shaneallgeier patch #310
from closed pull request #292 beta UniFi Network Application 7.4.146 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/mr2y2xy4 | sh -s
beta UniFi Network Application 7.4.145 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/ycyx34km | sh -s
beta UniFi Network Application 7.4.144 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/44yzxsz8 | sh -s
beta UniFi Network Application 7.4.140 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/5euc9c6p | sh -s NOTE: This release will only appear on UniFi OS Consoles running version 3.0 or newer, it's not recommended for consoles running older UniFi OS versions.
beta UniFi Network Application 7.3.83 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/485sxuyr | sh -s
RC UniFi Network Application 7.3.81 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/3fzkkxz6 | sh -s NOTE: just moved up jbigkit above tiff app
beta UniFi Network Application 7.3.80 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/3pmz4yfn | sh -s
beta UniFi Network Application 7.3.76 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/bdec9by6 | sh -s
beta UniFi Network Application 7.3.73 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/4fxzjrb5 | sh -s
beta UniFiNetworkApplication 7.3.69 Firmware Overview/Details ** Support for the UC-CK has been dropped in UniFi Network 7.3 and newer. (vintage product) using OpenJDK11 Install command: fetch -o - https://tinyurl.com/2kbdcpm4 | sh -s
beta UniFiNetworkApplication 7.2.94 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/yc4rbrtw | sh -s