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

Most upvoted comments

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 and latest 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:

Pulled and same error. I’m going to clone this and see if I can figure out where the issue is.

unifi-controller_1 | [2021-12-10 17:43:43,453] <docker-entrypoint> INFO: Changing ‘unifi’ UID to ‘1000’ and GID to ‘1000’ unifi-controller_1 | 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 unifi-controller_1 | -Djava.awt.headless=true unifi-controller_1 | -Dfile.encoding=UTF-8 -jar /usr/lib/unifi/lib/ace.jar start: no such file or directory unifi-controller_1 | [2021-12-10 17:44:05,579] <docker-entrypoint> WARN: unifi service process ended without being signaled? Check for errors in /unifi/log. unifi-controller_1 | [2021-12-10 17:44:06,113] <docker-entrypoint> Starting unifi controller service. unifi-controller_1 | 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 unifi-controller_1 | -Djava.awt.headless=true unifi-controller_1 | -Dfile.encoding=UTF-8 -jar /usr/lib/unifi/lib/ace.jar start: no such file or directory unifi-controller_1 | [2021-12-10 17:44:07,125] <docker-entrypoint> WARN: unifi service process ended without being signaled? Check for errors in /unifi/log.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jacobalberty/unifi-docker/issues/493#issuecomment-991354536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPDNASKBBTP4FL3T7KPHQLUQJ7OTANCNFSM5JZ6JXUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Gonna need a minute to push the fix to docker hub i need to fix building real quick