Closed tong2x closed 11 months ago
OPNsense 23.7-amd64 FreeBSD 13.2-RELEASE-p1 OpenSSL 1.1.1u 30 May 2023
root@OPNsense:~ # Starting UniFi controller.
root@OPNsense:~ # 17:00:03,224 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could NOT configuration file [/usr/local/UniFi/logback-access.xml] using property "catalina.base"
17:00:03,224 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could NOT configuration file [/usr/local/UniFi/logback-access.xml] using property "catalina.home"
17:00:03,224 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Found [logback-access.xml] as a resource.
17:00:03,227 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@87b5b49 - URL [jar:file:/usr/local/UniFi/lib/ace.jar!/logback-access.xml] is not of type file
17:00:03,269 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set
17:00:03,270 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:00:03,270 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [access_log]
17:00:03,279 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@4a7a965d - No compression will be used
17:00:03,281 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encoder] property
17:00:03,297 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access_log] - Active log file name: logs/access.log
17:00:03,297 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access_log] - File property is set to [logs/access.log]
17:00:03,297 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [access_log] to ch.qos.logback.access.tomcat.LogbackValve[null]
17:00:03,298 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.
17:00:03,298 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@507b79f7 - Registering current configuration as safe fallback point
17:00:03,298 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Done configuring
Is this supposed to work with the lastest OPNsense version now?
some progress, cant say this will hold for all... please try OS: OPNsense 23.7.5-amd64, FreeBSD 13.2-RELEASE-p3, OpenSSL 1.1.1w 11 Sep 2023 Firmware: beta UniFi Network Application 7.5.187 File System: ZFS Hybrid Install Type: Clean install (new hardware new OPNsense) Other changes: saw some posted this fix for the log errors in the main Unifi forums page... by User "doestergaard" view post
/usr/local/etc/rc.d/unifi.sh
Try appending --add-opens=java.base/java.time=ALL-UNNAMED to your execstart:
ExecStart=/usr/bin/java --add-opens=java.base/java.time=ALL-UNNAMED -jar /opt/UniFi/lib/ace.jar
using winscp I modified
# So we start it in the background and stash the pid:
/usr/local/bin/java -jar /usr/local/UniFi/lib/ace.jar start &
to
# So we start it in the background and stash the pid:
/usr/local/bin/java --add-opens=java.base/java.time=ALL-UNNAMED -jar /usr/local/UniFi/lib/ace.jar start &
after modification, I rebooted OPNSense and Unifi start successfully and was able to load Unifi web interface will try this modification to an existing system if that would successfully work at a later time. if some of you cold do it earlier please report here. (After opensense install and Unifi install, Unifi still did not start and show the NOT FOUND)
OS: OPNsense 23.7.5-amd64, FreeBSD 13.2-RELEASE-p3, OpenSSL 1.1.1w 11 Sep 2023 Firmware: beta UniFi Network Application 7.5.187 File System: UFS Hybrid Install Type: Upgrade from older 7.4.162
seems to be ok/successfull for OPNsense with the update update for RC script. if this could be tested to pfsense, maybe the rc script could also be updated, as of now temporary udpate everytime unifi is installed, as the startup script is overwriten.
beta UniFi Network Application 7.5.187 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/44v7wa2n | sh -s Other changes: saw some posted this fix for the log errors in the main Unifi forums page... by User "doestergaard" view post
using winscp I modified
to
beta UniFi Network Application 7.5.174 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/2p8hy9z7 | sh -s
beta UniFi Network Application 7.5.172 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/2hwtd9kk | sh -s
beta UniFi Network Application 7.5.165 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/298av2mx | sh -s
AddPkg graphite2 AddPkg harfbuzz AddPkg openjdk17 Updated MongoDB44