gijzelaerr / discodocker

docker files for setting up disco
7 stars 3 forks source link

chown: cannot access '/usr/local/var/disco': No such file or directory #1

Closed lc3t35 closed 10 years ago

lc3t35 commented 10 years ago

With current version of disco (tag 0.5.3), in base/Dockerfile :

RUN chown -R disco /usr/local/var/disco

Fails : chown: cannot access '/usr/local/bin/disco': No such file or directory

Changed to

RUN chown -R disco /usr/bin/disco

OK and change also command in in supervisord.conf :

command=/usr/bin/disco nodaemon -v

Working fine with tag/0.5.

lc3t35 commented 10 years ago

Since 0.5.2, "By default, Disco is now installed in /usr instead of /usr/local" https://github.com/discoproject/disco/blob/bf65f7a4c84563e5cbd12015a94f8bca4d300605/doc/releases.rst

gijzelaerr commented 10 years ago

i'm forcing the installation to /usr/local now:

https://github.com/gijzelaerr/discodocker/commit/b4b61416d487d4f027c25db747c69b80bbeb1400