rednut / docker-unifi-controller

unifi controller runnning in docker
53 stars 33 forks source link

Container fails #7

Open rayjohnson opened 8 years ago

rayjohnson commented 8 years ago

Just trying this for first time. I get this in the logs: Mac-a8206657ac00:unifi ray$ docker logs unifi /usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security. 'Supervisord is running as root and it is searching ' 2016-02-16 08:30:10,550 CRIT Supervisor running as root (no user in config file) 2016-02-16 08:30:10,550 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing 2016-02-16 08:30:10,566 INFO RPC interface 'supervisor' initialized 2016-02-16 08:30:10,566 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2016-02-16 08:30:10,566 INFO supervisord started with pid 1 2016-02-16 08:30:11,569 INFO spawned: 'unify' with pid 8 2016-02-16 08:30:11,574 INFO exited: unify (exit status 1; not expected)

I did not build my own Dockerfile but just pulled the one specified int he README.

romcheck commented 8 years ago

the reason of this issue is update to java 1.7

command=nice ionice -c2 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java -Xmx256M -jar /usr/lib/unifi/lib/ace.jar start

fails because path is incorrect. /usr/lib/jvm/java-6-openjdk-amd64 missing. there is /usr/lib/jvm/java-7-openjdk-amd64.

kMaiSmith commented 8 years ago

This should be fixed with both pull request #8 and #9