I've already got a Cloud Key currently running software version 6.0.44 for my newer Unifi gear. But I have some of the old square AP AC v2 units lying around I was planning to deploy. They're way too old for my Cloud Key so I looked for a Docker to run an older version and discovered unfi-controller. I loaded the current release and had no issues other than it not seeing the old AP AC v2s. Did some research, found this forum post and have read pages and pages and I'm not able to get LTS-5.6.42-ls97 to run despite hours of effort.
I deleted my install of current via the UI, downloaded the template again, and changed the Repository to: lscr.io/linuxserver/unifi-controller:LTS-5.6.42-ls97. The install goes fine but when launching the WEBUI I get "This site can’t be reached" message. In reviewing the log file it starts but shortly after starts throwing errors as follows:
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Error occurred during initialization of VM
Too small initial heap
Error occurred during initialization of VM
Too small initial heap
Error occurred during initialization of VM
Too small initial heap errors keep repeating about every second until I stop it. I've tried to increase the MEM_LIMIT and MEM_STARTUP in increments up to 4096 and still get the same result. Any suggestions would be greatly appreciated!