Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta UniFi Network Application 7.5.169 #325

Open
wants to merge 4 commits into
base: tong2x-Beta-Firmwares7.4.x
Choose a base branch
from

Conversation

tong2x
Copy link
Collaborator

@tong2x tong2x commented Jul 24, 2023

beta UniFi Network Application 7.5.169
Firmware Overview/Details
Install command: fetch -o - https://tinyurl.com/yhk3sau4 | sh -s
Updated MongoDB44
integrates DirectXMan12 #328
integrates fabriciocampos2022 #324
NOTE: can not test on my own, i dont have pfsense 2.7

beta UniFi Network Application 7.5.169
Firmware Overview/Details
Install command: fetch -o - https://tinyurl.com/2p8y2y8z | sh -s
Updated MongoDB50

beta UniFi Network Application 7.5.169
Firmware Overview/Details
Install command: fetch -o - https://tinyurl.com/s5pzynvc | sh -s

beta UniFi Network Application 7.5.165
Firmware Overview/Details
Install command: fetch -o - https://tinyurl.com/bdfcrw7t | sh -s

AddPkg graphite2
AddPkg harfbuzz
AddPkg openjdk17
Updated MongoDB44

7.5.165 with mongoDB44
@tong2x
Copy link
Collaborator Author

tong2x commented Jul 24, 2023

open for trial on PFsense 2.7 Freebsd14, please report errors
thank you

alot of failure mostly on QOS.logback OPNSENSE 23.1 FREEBSD 13

@dvdp
Copy link

dvdp commented Jul 25, 2023

Still hitting that openssl thing:
mongod --dbpath /usr/local/UniFi/data/db --repair
ld-elf.so.1: /lib/libcrypto.so.30: version OPENSSL_3_0_9 required by /usr/local/bin/mongod not found

@TheDave94
Copy link

TheDave94 commented Jul 25, 2023

I get this when trying to install on OPNsense 23.7.r2

Exception in thread "launcher" java.lang.NullPointerException: Web context failed to initialize
at java.base/java.util.Objects.requireNonNull(Objects.java:235)
at com.ubnt.net.OoOO.returnnew(Unknown Source)
at com.ubnt.net.OoOO.nullsuper(Unknown Source)
at com.ubnt.service.C.classObject(Unknown Source)
at com.ubnt.ace.Launcher.Ó00000(Unknown Source)
at com.ubnt.ace.Launcher.main(Unknown Source)

Which one is the last version actually working? I had 7.4.162 running, but did a clean install since

@tong2x
Copy link
Collaborator Author

tong2x commented Jul 25, 2023

I had 7.4.162 last stable for opnsense 23.x and also for pfsense 2.6 i think.

major changes to 7.5.165, using openjdk17, it does install correctly but somehow components aer incompatible or crashing.
in may case alot of rerror regarging java "logback"
installaling mongodb50, causes major mailure with mongodb running itself

@TheDave94
Copy link

Ok thanks, I will install 7.4.162 then

@tong2x
Copy link
Collaborator Author

tong2x commented Jul 26, 2023

OPNsense 23.1.11-amd64
FreeBSD 13.1-RELEASE-p8
OpenSSL 1.1.1u 30 May 2023
anyone have ideas? or should there be a need to add other openjdk version?

Starting the unifi service...Starting UniFi controller. 
 done.
18:36:34,950 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [jar:file:/usr/local/UniFi/lib/ace.jar!/logback-test.xml]
18:36:34,981 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@18d87d80 - URL [jar:file:/usr/local/UniFi/lib/ace.jar!/logback-test.xml] is not of type file
18:36:35,244 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
18:36:35,267 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
18:36:35,289 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [server_log]
18:36:35,351 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@618425b5 - No compression will be used
18:36:35,358 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [filter] of type [com.ubnt.ace.logs.EffectiveLogLevelFilter] java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevelFilter
	at java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevelFilter
	at 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at 	at ch.qos.logback.core.util.Loader.loadClass(Loader.java:120)
	at 	at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:102)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:269)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:128)
	at 	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
	at 	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:64)
	at 	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:134)
	at 	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java: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.java: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)
18:36:35,359 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:36:35,531 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[server_log] - Active log file name: logs/server.log
18:36:35,531 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[server_log] - File property is set to [logs/server.log]
18:36:35,533 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
18:36:35,533 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [migration_log]
18:36:35,539 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5d7148e2 - No compression will be used
18:36:35,541 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:36:35,542 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[migration_log] - Active log file name: logs/migration.log
18:36:35,542 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[migration_log] - File property is set to [logs/migration.log]
18:36:35,543 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
18:36:35,543 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [tasks_log]
18:36:35,547 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@25fb8912 - No compression will be used
18:36:35,548 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:36:35,550 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[tasks_log] - Active log file name: logs/tasks.log
18:36:35,550 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[tasks_log] - File property is set to [logs/tasks.log]
18:36:35,556 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [turboFilter] of type [com.ubnt.ace.logs.OverwriteLogLevelFilter] java.lang.ClassNotFoundException: com.ubnt.ace.logs.OverwriteLogLevelFilter
	at java.lang.ClassNotFoundException: com.ubnt.ace.logs.OverwriteLogLevelFilter
	at 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at 	at ch.qos.logback.core.util.Loader.loadClass(Loader.java:120)
	at 	at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:102)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:269)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:128)
	at 	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
	at 	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:64)
	at 	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:134)
	at 	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java: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.java: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)
18:36:35,556 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [com.ubnt.ace.logs.InMemoryAppender]
18:36:35,558 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [InMemoryAppender]
18:36:35,562 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [filter] of type [com.ubnt.ace.logs.EffectiveLogLevelFilter] java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevelFilter
	at java.lang.ClassNotFoundException: com.ubnt.ace.logs.EffectiveLogLevelFilter
	at 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at 	at ch.qos.logback.core.util.Loader.loadClass(Loader.java:120)
	at 	at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:102)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:269)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:128)
	at 	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
	at 	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:64)
	at 	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:134)
	at 	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java: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.java: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)
18:36:35,562 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:36:35,567 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [com.ubnt.service.trace.logerror.AnalyticsAppender]
18:36:35,579 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [AnalyticsAppender]
18:36:36,113 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java] to ERROR
18:36:36,113 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [javax] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [javax.jmdns] to OFF
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [sun] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to WARN
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.schmizz] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.codahale] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.tomcat] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons] to WARN
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.validator] to WARN
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.mongodb] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mongodb] to ERROR
18:36:36,114 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to WARN
18:36:36,115 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [de.javawi.jstun] to WARN
18:36:36,115 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.ubnt] to INFO
18:36:36,115 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.ubiquiti] to INFO
18:36:36,115 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.amazonaws.internal] to WARN
18:36:36,115 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [springfox] to WARN
18:36:36,115 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [migration_log] to Logger[migration]
18:36:36,116 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [tasks_log] to Logger[tasks]
18:36:36,116 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
18:36:36,116 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [server_log] to Logger[ROOT]
18:36:36,116 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [InMemoryAppender] to Logger[ROOT]
18:36:36,116 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [AnalyticsAppender] to Logger[ROOT]
18:36:36,116 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
18:36:36,117 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@7c24b813 - Registering current configuration as safe fallback point

@tong2x tong2x changed the title beta UniFi Network Application 7.5.165 beta UniFi Network Application 7.5.169 Jul 29, 2023
@CodeJACKz
Copy link

CodeJACKz commented Aug 1, 2023

As stated by other, Im getting the same issue where the install is completing but the missing libcrypto package is preventing mongod from running:

fetch -o - https://tinyurl.com/s5pzynvc | sh -s
8985 B 3826 kBps 00s
Stopping the unifi service...There is no pid file. The controller may not be running.
done.
ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "mongod"
Mounting new filesystems... done.
Gathering package list from remote repository...
Done.
Removing discontinued packages...
done.
Installing required packages...
Package png-1.6.39 already installed.
Package brotli-1.0.9,1 already installed.
Package jpeg-turbo-2.1.5.1 already installed.
Package zstd-1.5.5 already installed.
Package libdeflate-1.18 already installed.
Package jbigkit-2.1_1 already installed.
Package tiff-4.4.0_1 already installed.
Package freetype2-2.12.1_2 already installed.
Package fontconfig-2.14.2,1 already installed.
Package alsa-lib-1.2.2_1 already installed.
Package mpdecimal-2.5.1 already installed.
Package python38-3.8.17 already installed.
Package libfontenc-1.1.4 already installed.
Package mkfontscale-1.2.1 already installed.
Package dejavu-2.37_1 already installed.
.........................
Install continues to the end and tries to start unifi.sh but the 404 error is all that displays in the browser.

pkg info | grep mongodb
mongodb44-4.4.23 Distributed document-oriented "NoSQL" database (4.4.x Branch)

@tong2x
Copy link
Collaborator Author

tong2x commented Aug 2, 2023

this is using mongodb 4.4
mongodb 5.0 is available but fails to run on freebsd13
maybe another pull?

could someone check the the following
MongoDB 6.0
MongoDB 5.3
MongoDB 5.2
MongoDB 5.1
MongoDB 5.0
which will work better?

@CodeJACKz
Copy link

The latest change installs mongodb50 but still the same issue with libcrypto so it wont run and the error 404 persists

fetch -o - https://tinyurl.com/2p8y2y8z | sh -s
8995 B 2056 kBps 00s
Stopping the unifi service...Signaling the UniFi controller to stop... acknowledged.
Waiting for the UniFi controller to stop (this can take a long time)...pgrep: Cannot get process list (kvm_getprocs: No such process)
stopped.
done.
ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "mongod"
Backing up UniFi data...
tar: Removing leading '/' from member names
a usr/local/UniFi/data
a usr/local/UniFi/data/backup
a usr/local/UniFi/data/system.properties.bk
a usr/local/UniFi/data/system.properties
a usr/local/UniFi/data/keystore
a usr/local/UniFi/data/db

@CodeJACKz
Copy link

pkg info mongodb50
mongodb50-5.0.19
Name : mongodb50
Version : 5.0.19
Installed on : Wed Aug 2 13:17:39 2023 IST
Origin : databases/mongodb50
Architecture : FreeBSD:14:amd64
Prefix : /usr/local
Categories : net databases
Licenses : SSPLv1 and APACHE20
Maintainer : ronald@FreeBSD.org
WWW : https://docs.mongodb.com/v5.0/
Comment : Distributed document-oriented "NoSQL" database (5.0.x Branch)
Options :
LTO : on
NOAVX : off
SASL : on
SSL : on
Shared Libs required:
libzstd.so.1
libyaml-cpp.so.0
libunwind.so.8
libstemmer.so.0
libsnappy.so.1
libsasl2.so.3
libpcrecpp.so.0
libpcre.so.1
libcurl.so.4
Annotations :
FreeBSD_version: 1400093
cpe : cpe:2.3:a:mongodb:mongodb:5.0.19:::::freebsd14:x64
Flat size : 160MiB
Description :
Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.

WWW: https://docs.mongodb.com/v5.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants