unifi-docker: Status unhealthy "ace.jar start: no such file or directory"
Operating system
Ubuntu 20.04.3 LTS
UniFi Tag
latest
Docker run
docker run -d --restart=unless-stopped --net=host --name=unifi -e TZ=‘Europe/London’ -e RUNAS_UID0=false -e UNIFI_UID=1001 -e UNIFI_GID=1001 -v /var/docks/unifi:/unifi jacobalberty/unifi:latest
Bug description
I have just updated to the latest verison and am now getting an error with it trying to start /usr/lib/unifi/lib/ace.jar
Steps to reproduce
No response
Relevant log output
[2021-12-10 20:03:35,743] <docker-entrypoint> Starting unifi controller service.
error: exec: "java -Dunifi.datadir=/unifi/data -Dunifi.logdir=/unifi/log -Dunifi.rundir=/var/run/unifi -Xmx1024M\n -Djava.awt.headless=true\n -Dfile.encoding=UTF-8 -jar /usr/lib/unifi/lib/ace.jar start": stat java -Dunifi.datadir=/unifi/data -Dunifi.logdir=/unifi/log -Dunifi.rundir=/var/run/unifi -Xmx1024M
-Djava.awt.headless=true
-Dfile.encoding=UTF-8 -jar /usr/lib/unifi/lib/ace.jar start: no such file or directory
[2021-12-10 20:03:36,775] <docker-entrypoint> WARN: unifi service process ended without being signaled? Check for errors in /unifi/log.
[2021-12-10 20:03:37,483] <docker-entrypoint> Starting unifi controller service.
error: exec: "java -Dunifi.datadir=/unifi/data -Dunifi.logdir=/unifi/log -Dunifi.rundir=/var/run/unifi -Xmx1024M\n -Djava.awt.headless=true\n -Dfile.encoding=UTF-8 -jar /usr/lib/unifi/lib/ace.jar start": stat java -Dunifi.datadir=/unifi/data -Dunifi.logdir=/unifi/log -Dunifi.rundir=/var/run/unifi -Xmx1024M
-Djava.awt.headless=true
-Dfile.encoding=UTF-8 -jar /usr/lib/unifi/lib/ace.jar start: no such file or directory
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 28 (13 by maintainers)
Commits related to this issue
- Update to 6.5.54. This is a release candidate but pushing to stable immediately due to CVE-2021-44228 — committed to jacobalberty/unifi-docker by jacobalberty 3 years ago
- Revert "Removing quotes for gosu should fix #493" This reverts commit 990d96262667fc36b80b287ea6a7cdabf8e23255. — committed to jacobalberty/unifi-docker by jacobalberty 3 years ago
- Removing quotes for gosu should fix #493 — committed to sadhac/unifi-docker by jacobalberty 3 years ago
Well I did say I would rather it break than leave people vulnerable. Just didn’t mean that literally.
New version is building on the hub now will update
v6.5
v6.5.54
andlatest
tags with the fixes. That’s very strange that it worked for me but not you guys. the only thing I can figure is kernel version. I run on debian bullseye kernel 5.10.70-1 (2021-09-30) what kernel are you guys using with the issue?I’m away from the computer for a little bit. When I get back I’m going to revert those two commits that affect docker entry point and then push one with the old entry script and the new version. The quotes are important to add to some of the variables in the long run but they only got pushed now on accident.
On Fri, Dec 10, 2021, 4:47 PM Eric W @.***> wrote:
Gonna need a minute to push the fix to docker hub i need to fix building real quick