Install a purpuse made docker (from dockerhub) to truenas scale

Hello again everyone !

I just started to get all my old ‘‘jails’’ to fit the new linux environement.

Now come’s in unifi.

Thank god they love us, their clients, what would it be otherwise !

I’ve tried the official docker image at first, no can do, this controller software is too recent and cannot adopt my EOL AP ( 5 300N basic ones ) + 2 Exterior UAP ( and I probably can adot these ones since more recent 2.4G 5G APs )

So I have to do like I used to and sport an old unifi controller which, for local is fine.

Found some links that states that I can just import a docker container from dockerhub and voilà… yes yes voilà…

I get this error message :

I used this docker from docker hub :
cannable/unifi/6.0.43 image for x64amd

also I removed ?context=explore from this url

Now the unifi controller does not install and I am at a bit of a lost.

Thank you all !

I would try

Docker Image: cannable/unifi
Image repository: << empty >> or https://hub.docker.com
Image tag: amd64-6.0.43 (if you want this specific version) or latest (for version 7.2.95 as of today)

hoouuu give me 10 minutes !

Thanks !

I do not really have time to look further into this at this second ( I only have 3 days off left and PTA meetings ) BUT !

so docker image field does not exist but I read somewhere that if not specified it assumes dockerhub ( good ! )

inputed cannable/unifi in image repository

inputed image tag as amd64-6.0.43

first logs were the same bad request but now it is looking like ti is installing as in pic rel:

I’ll have more news tonight or tomorrow !

@jode

Weellllllll … :frowning:

here are the logs, it appears has if it installed, I might have missed something but even if I fowarded port 9443 to 8443 and tried with http or https, I cannot log on to the web UI

Why can’t IX systems have a port that you can choose your controller version, that would make anyone’s life so simple… or let anyone keep their old AP’s :wink:


2022-11-29T19:03:21.295986420Z [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
2022-11-29T19:03:21.323252706Z [s6-init] ensuring user provided files have correct perms…exited 0.
2022-11-29T19:03:21.324654957Z [fix-attrs.d] applying ownership & permissions fixes…
2022-11-29T19:03:21.326029517Z [fix-attrs.d] 01-unifi-vols: applying…
2022-11-29T19:03:21.349062458Z [fix-attrs.d] 01-unifi-vols: exited 0.
2022-11-29T19:03:21.349598464Z [fix-attrs.d] done.
2022-11-29T19:03:21.350229812Z [cont-init.d] executing container initialization scripts…
2022-11-29T19:03:21.351130181Z [cont-init.d] done.
2022-11-29T19:03:21.351941679Z [services.d] starting services
2022-11-29T19:03:21.359449262Z [services.d] done.
2022-11-29T19:03:21.999809138Z 2022-11-29 19:03:21,996 main ERROR Unable to create file logs/server.log java.io.IOException: Could not create directory /run/s6/services/unifi/logs
2022-11-29T19:03:21.999845860Z at org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:118)
2022-11-29T19:03:21.999853931Z at org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils.java:135)
2022-11-29T19:03:21.999867902Z at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:657)
2022-11-29T19:03:21.999874776Z at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:641)
2022-11-29T19:03:21.999885068Z at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:113)
2022-11-29T19:03:21.999891561Z at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)
2022-11-29T19:03:21.999897723Z at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:205)
2022-11-29T19:03:21.999907374Z at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146)
2022-11-29T19:03:21.999913841Z at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:62)
2022-11-29T19:03:21.999920008Z at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
2022-11-29T19:03:21.999929519Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1002)
2022-11-29T19:03:21.999936037Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:942)
2022-11-29T19:03:21.999942130Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:934)
2022-11-29T19:03:21.999951495Z at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:552)
2022-11-29T19:03:21.999958380Z at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:241)
2022-11-29T19:03:21.999970177Z at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:288)
2022-11-29T19:03:21.999976747Z at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:618)
2022-11-29T19:03:21.999982780Z at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691)
2022-11-29T19:03:21.999990064Z at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708)
2022-11-29T19:03:21.999999576Z at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
2022-11-29T19:03:22.000006008Z at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
2022-11-29T19:03:22.000012235Z at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
2022-11-29T19:03:22.000021931Z at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
2022-11-29T19:03:22.000028391Z at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:138)
2022-11-29T19:03:22.000034497Z at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:45)
2022-11-29T19:03:22.000043706Z at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48)
2022-11-29T19:03:22.000050081Z at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
2022-11-29T19:03:22.000056267Z at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
2022-11-29T19:03:22.000065823Z at com.ubnt.service.system.O0oO.o00000(Unknown Source)
2022-11-29T19:03:22.000072350Z at com.ubnt.service.system.O0oO.(Unknown Source)
2022-11-29T19:03:22.000078554Z at com.ubnt.ace.Launcher.(Unknown Source)
2022-11-29T19:03:22.000084927Z
2022-11-29T19:03:22.003315278Z 2022-11-29 19:03:22,002 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.cor[email protected]4ae3c1cd] unable to create manager for [logs/server.log] with data [org.apache.log[email protected]29f69090[pattern=logs/server.log.%i, append=true, bufferedIO=true, bufferSize=8192, policy=SizeBasedTriggeringPolicy(size=10485760), strategy=DefaultRolloverStrategy(min=1, max=3, useMax=false), advertiseURI=null, layout=[%d{ISO8601}] <%t> %-5p %-6c{1} - %m%n, filePermissions=null, fileOwner=null]] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.cor[email protected]4ae3c1cd] unable to create manager for [logs/server.log] with data [org.apache.log[email protected]29f69090[pattern=logs/server.log.%i, append=true, bufferedIO=true, bufferSize=8192, policy=SizeBasedTriggeringPolicy(size=10485760), strategy=DefaultRolloverStrategy(min=1, max=3, useMax=false), advertiseURI=null, layout=[%d{ISO8601}] <%t> %-5p %-6c{1} - %m%n, filePermissions=null, fileOwner=null]]
2022-11-29T19:03:22.003382834Z at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:115)
2022-11-29T19:03:22.003401990Z at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)
2022-11-29T19:03:22.003413295Z at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:205)
2022-11-29T19:03:22.003423736Z at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146)
2022-11-29T19:03:22.003438847Z at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:62)
2022-11-29T19:03:22.003458789Z at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
2022-11-29T19:03:22.003471637Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1002)
2022-11-29T19:03:22.003496797Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:942)
2022-11-29T19:03:22.003508581Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:934)
2022-11-29T19:03:22.003524646Z at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:552)
2022-11-29T19:03:22.003536406Z at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:241)
2022-11-29T19:03:22.003546616Z at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:288)
2022-11-29T19:03:22.003563217Z at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:618)
2022-11-29T19:03:22.003574698Z at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691)
2022-11-29T19:03:22.003584837Z at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708)
2022-11-29T19:03:22.003600917Z at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
2022-11-29T19:03:22.003619623Z at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
2022-11-29T19:03:22.003629425Z at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
2022-11-29T19:03:22.003645458Z at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
2022-11-29T19:03:22.003656621Z at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:138)
2022-11-29T19:03:22.003667365Z at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:45)
2022-11-29T19:03:22.003677897Z at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48)
2022-11-29T19:03:22.003694454Z at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
2022-11-29T19:03:22.003706322Z at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
2022-11-29T19:03:22.003717729Z at com.ubnt.service.system.O0oO.o00000(Unknown Source)
2022-11-29T19:03:22.003731039Z at com.ubnt.service.system.O0oO.(Unknown Source)
2022-11-29T19:03:22.003737712Z at com.ubnt.ace.Launcher.(Unknown Source)
2022-11-29T19:03:22.003743857Z
2022-11-29T19:03:22.005479731Z 2022-11-29 19:03:22,004 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender
2022-11-29T19:03:22.005511096Z at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:234)
2022-11-29T19:03:22.005524150Z at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:134)
2022-11-29T19:03:22.005531062Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1002)
2022-11-29T19:03:22.005537321Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:942)
2022-11-29T19:03:22.005547865Z at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:934)
2022-11-29T19:03:22.005554581Z at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:552)
2022-11-29T19:03:22.005560682Z at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:241)
2022-11-29T19:03:22.005571437Z at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:288)
2022-11-29T19:03:22.005578027Z at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:618)
2022-11-29T19:03:22.005584081Z at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691)
2022-11-29T19:03:22.005594971Z at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708)
2022-11-29T19:03:22.005601497Z at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
2022-11-29T19:03:22.005607559Z at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
2022-11-29T19:03:22.005617814Z at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
2022-11-29T19:03:22.005624514Z at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
2022-11-29T19:03:22.005630629Z at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:138)
2022-11-29T19:03:22.005641153Z at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:45)
2022-11-29T19:03:22.005647962Z at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48)
2022-11-29T19:03:22.005654035Z at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
2022-11-29T19:03:22.005664276Z at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
2022-11-29T19:03:22.005670744Z at com.ubnt.service.system.O0oO.o00000(Unknown Source)
2022-11-29T19:03:22.005676696Z at com.ubnt.service.system.O0oO.(Unknown Source)
2022-11-29T19:03:22.005682783Z at com.ubnt.ace.Launcher.(Unknown Source)
2022-11-29T19:03:22.005693075Z
2022-11-29T19:03:22.012888293Z WARN Unable to load properties from ‘/usr/lib/unifi/data/system.properties’ - /usr/lib/unifi/data/system.properties (No such file or directory)
2022-11-29T19:03:22.186117123Z 2022-11-29 19:03:22,185 main ERROR Null object returned for RollingFile in Appenders.
2022-11-29T19:03:22.206316813Z 2022-11-29 19:03:22,205 main ERROR Unable to locate appender “server_log” for logger config “root”