openjdk:11 is no longer enough it seems: Sep 09 08:02:42 moya unifi[787592]: Error: LinkageError occurred while loading main class com.ubnt.ace.Launcher Sep 09 08:02:42 moya unifi[787592]: java.lang.UnsupportedClassVersionError: com/ubnt/ace/Launcher has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only r> Sep 09 08:02:42 moya systemd[1]: unifi.service: Main process exited, code=exited, status=1/FAILURE Sep 09 08:02:42 moya systemd[1]: unifi.service: Failed with result 'exit-code'. Fixed up the build to use virtual/jre:17, the service starts, but crashes a few seconds after: Sep 09 08:28:31 moya systemd[1]: Started unifi.service. Sep 09 08:28:32 moya unifi[824141]: 08:28:32,600 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could NOT configuration file [/usr/lib/unifi/logback-access.xml] using property "catalina.base" Sep 09 08:28:32 moya unifi[824141]: 08:28:32,600 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could NOT configuration file [/usr/lib/unifi/logback-access.xml] using property "catalina.home" Sep 09 08:28:32 moya unifi[824141]: 08:28:32,600 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Found [logback-access.xml] as a resource. Sep 09 08:28:32 moya unifi[824141]: 08:28:32,601 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@77a2aa4a - URL [jar:file:/usr/lib/unifi/lib/ace.jar!/logback-access.xml] is not of type file Sep 09 08:28:32 moya unifi[824141]: 08:28:32,607 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set Sep 09 08:28:32 moya unifi[824141]: 08:28:32,607 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] Sep 09 08:28:32 moya unifi[824141]: 08:28:32,608 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [access_log] Sep 09 08:28:32 moya unifi[824141]: 08:28:32,608 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@47ad69f7 - No compression will be used Sep 09 08:28:32 moya unifi[824141]: 08:28:32,609 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encoder] property Sep 09 08:28:32 moya unifi[824141]: 08:28:32,613 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access_log] - Active log file name: logs/access.log Sep 09 08:28:32 moya unifi[824141]: 08:28:32,613 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access_log] - File property is set to [logs/access.log] Sep 09 08:28:32 moya unifi[824141]: 08:28:32,613 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [access_log] to ch.qos.logback.access.tomcat.LogbackValve[null] Sep 09 08:28:32 moya unifi[824141]: 08:28:32,613 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration. Sep 09 08:28:32 moya unifi[824141]: 08:28:32,613 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@2b917fb0 - Registering current configuration as safe fallback point Sep 09 08:28:32 moya unifi[824141]: 08:28:32,613 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Done configuring Sep 09 08:28:42 moya unifi[824141]: Exception in thread "launcher" java.lang.NullPointerException: Web context failed to initialize Sep 09 08:28:42 moya unifi[824141]: at java.base/java.util.Objects.requireNonNull(Objects.java:235) Sep 09 08:28:42 moya unifi[824141]: at com.ubnt.net.OoOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO> Sep 09 08:28:42 moya unifi[824141]: at com.ubnt.net.OoOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO> Sep 09 08:28:42 moya unifi[824141]: at com.ubnt.service.Object.??0000(Unknown Source) Sep 09 08:28:42 moya unifi[824141]: at com.ubnt.ace.Launcher.Object(Unknown Source) Sep 09 08:28:42 moya unifi[824141]: at com.ubnt.ace.Launcher.main(Unknown Source) 7.4 still works. Reproducible: Always
Ubiquiti reverted 7.5.174 back to RC status after numerous issues were uncovered, I think it's best to mask this version.
(In reply to Manuel Lauss from comment #1) > Ubiquiti reverted 7.5.174 back to RC status after numerous issues were > uncovered, I think it's best to mask this version. Do you have any link about that for me?
Look at the release notes at [1]; it's again tagged as "Release Candidate" and somewhere in the comments "UI Glenn" somewhat promises 7.5.181 or 7.6 even which should resolve the issues some people see. But I cannot even get to run it even with openjdk:17... [1] https://community.ui.com/releases/UniFi-Network-Application-7-5-174/d05b091f-f00c-4ebb-8f42-b77e0adac78b
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce662c8c3f96cfe6839b80aef747168c2ba4c446 commit ce662c8c3f96cfe6839b80aef747168c2ba4c446 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2023-09-09 19:54:34 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2023-09-09 19:54:34 +0000 package.mask: mask unifi-7.5 release Closes: https://bugs.gentoo.org/913884 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1646a323c9fa71a98148ccdd56ee9182969f2825 commit 1646a323c9fa71a98148ccdd56ee9182969f2825 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2023-09-09 19:43:10 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2023-09-09 19:53:01 +0000 net-wireless/unifi: switch to Java 17 Bug: https://bugs.gentoo.org/913884 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-wireless/unifi/{unifi-7.5.174.ebuild => unifi-7.5.174-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)