You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails to start because beta tries to install unifi at launch time and it is not running as root.
I need to come up with a solution to safely run the install script as root. Perhaps through sudo or some other mechanism. Would need to perform some security auditing and cleanup on the install script too.
Steps to reproduce
Just run the docker run command line and look at the logs
Relevant log output
Reading package lists...
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
2022/02/19 18:33:38 Chown 999:999 /unifi
/usr/local/bin/docker-entrypoint.sh: line 170: cd: /usr/lib/unifi: No such file or directory
[2022-02-19 18:33:38,825] <docker-entrypoint> Starting unifi controller service.
/usr/local/bin/docker-entrypoint.sh: line 192: java: command not found
[2022-02-19 18:33:38,826] <docker-entrypoint> WARN: unifi service process ended without being signaled? Check forerrorsin /unifi/log.
The text was updated successfully, but these errors were encountered:
Operating system
Debian Bullseye
UniFi Tag
beta
Docker run
docker run --rm --user unifi --init -e "PKGURL=https://dl.ui.com/unifi/6.5.55/unifi_sysvinit_all.deb" -p 8080:8080 -p 8443:8443 -p 3478:3478/udp -e TZ='Africa/Johannesburg' -v ~/unifi:/unifi --name unifi jacobalberty/unifi:beta
Bug description
It fails to start because
beta
tries to install unifi at launch time and it is not running as root.I need to come up with a solution to safely run the install script as root. Perhaps through sudo or some other mechanism. Would need to perform some security auditing and cleanup on the install script too.
Steps to reproduce
Just run the
docker run
command line and look at the logsRelevant log output
The text was updated successfully, but these errors were encountered: