{"action":"created","issue":{"url":"https://api.github.com/repos/cozy-labs/cozy-docker/issues/3","labels_url":"https://api.github.com/repos/cozy-labs/cozy-docker/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cozy-labs/cozy-docker/issues/3/comments","events_url":"https://api.github.com/repos/cozy-labs/cozy-docker/issues/3/events","html_url":"https://github.com/cozy-labs/cozy-docker/issues/3","id":64285274,"number":3,"title":"error - Install failed for data-system.","user":{"login":"arthurlutz","id":108437,"avatar_url":"https://avatars.githubusercontent.com/u/108437?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurlutz","html_url":"https://github.com/arthurlutz","followers_url":"https://api.github.com/users/arthurlutz/followers","following_url":"https://api.github.com/users/arthurlutz/following{/other_user}","gists_url":"https://api.github.com/users/arthurlutz/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurlutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurlutz/subscriptions","organizations_url":"https://api.github.com/users/arthurlutz/orgs","repos_url":"https://api.github.com/users/arthurlutz/repos","events_url":"https://api.github.com/users/arthurlutz/events{/privacy}","received_events_url":"https://api.github.com/users/arthurlutz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cozy-labs/cozy-docker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/cozy-labs/cozy-docker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-25T14:38:19Z","updated_at":"2015-04-13T13:47:24Z","closed_at":null,"body":"```\r\ndocker build .\r\n[snip]\r\nStep 15 : RUN su - couchdb -c 'couchdb -b'  && sleep 5  && while ! curl -s 127.0.0.1:5984; do sleep 5; done  && /usr/local/lib/node_modules/cozy-controller/bin/cozy-controller & sleep 5  && while ! curl -s 127.0.0.1:9002; do sleep 5; done  && cd /usr/local/cozy-indexer/cozy-data-indexer  && . ./virtualenv/bin/activate  && /usr/local/cozy-indexer/cozy-data-indexer/virtualenv/bin/python server.py & sleep 5  && while ! curl -s 127.0.0.1:9102; do sleep 5; done  && cozy-monitor install data-system  && cozy-monitor install home  && cozy-monitor install proxy\r\n ---> Running in 177806b2b3cc\r\nApache CouchDB has started, time to relax.\r\n{\"couchdb\":\"Welcome\",\"uuid\":\"1636e42c6c3e5c89cd79475b15c5a7d7\",\"version\":\"1.5.0\",\"vendor\":{\"version\":\"14.04\",\"name\":\"Ubuntu\"}}\r\ninfo - ### FILE INITIALIZATION ###\r\ninfo - init: source directory\r\ninfo - init: stack file\r\ninfo - init : token file\r\ninfo - ### AUTOSTART ###\r\ninfo - couchDB: started\r\ninfo - Stack isn't installed\r\ninfo - ### Start Cozy Controller ###\r\n[2015-03-25 14:24:23:646] info - americano | Routes loaded.\r\n[2015-03-25 14:24:23:662] info - americano | Configuration for production loaded.\r\n[2015-03-25 14:24:23:662] info - americano | controller server is listening on port 9002...\r\nCannot GET /\r\n[Wed, 25 Mar 2015 14:24:25 GMT] - GET / - 404 - 11.340 ms -  -\r\n[I 150325 14:24:26 server:15] Cozy Data Indexer started on port 9102.\r\n[I 150325 14:24:30 web:1462] 200 GET / (127.0.0.1) 2.06ms\r\nCozy Data Indexer v1.0.0info - Install started for data-system...\r\nerror - Error: Cannot uninstall an application not installed\r\nError: Error: Cannot uninstall an application not installed\r\n    at /usr/local/lib/node_modules/cozy-controller/build/server/controllers/applications.js:137:13\r\n    at Object.module.exports.uninstall (/usr/local/lib/node_modules/cozy-controller/build/server/lib/controller.js:337:14)\r\n    at Object.module.exports.uninstall [as handle] (/usr/local/lib/node_modules/cozy-controller/build/server/controllers/applications.js:134:21)\r\n    at next_layer (/usr/local/lib/node_modules/cozy-controller/node_modules/americano/node_modules/express/lib/router/route.js:103:13)\r\n    at Object.module.exports.check [as handle] (/usr/local/lib/node_modules/cozy-controller/build/server/middlewares/token.js:31:16)\r\n    at next_layer (/usr/local/lib/node_modules/cozy-controller/node_modules/americano/node_modules/express/lib/router/route.js:103:13)\r\n    at Route.dispatch (/usr/local/lib/node_modules/cozy-controller/node_modules/americano/node_modules/express/lib/router/route.js:107:5)\r\n    at /usr/local/lib/node_modules/cozy-controller/node_modules/americano/node_modules/express/lib/router/index.js:213:24\r\n    at param (/usr/local/lib/node_modules/cozy-controller/node_modules/americano/node_modules/express/lib/router/index.js:303:14)\r\n    at param (/usr/local/lib/node_modules/cozy-controller/node_modules/americano/node_modules/express/lib/router/index.js:319:14)\r\n[Wed, 25 Mar 2015 14:24:33 GMT] - POST /drones/data-system/clean - 400 - 34.836 ms -  11\r\ninfo - data-system:git clone\r\ninfo - data-system:npm install\r\nwarn - WARNING : \r\n{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }\r\nError: spawn ENOENT\r\n    at errnoException (child_process.js:988:11)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:779:34)\r\n\r\n[Wed, 25 Mar 2015 14:34:33 GMT] - POST /drones/data-system/start - - - - ms -  -\r\nerror - An error occured:\r\nerror - Install failed for data-system.\r\n[Error: Error: socket hang up]\r\nINFO[5988] The command [/bin/sh -c su - couchdb -c 'couchdb -b'  && sleep 5  && while ! curl -s 127.0.0.1:5984; do sleep 5; done  && /usr/local/lib/node_modules/cozy-controller/bin/cozy-controller & sleep 5  && while ! curl -s 127.0.0.1:9002; do sleep 5; done  && cd /usr/local/cozy-indexer/cozy-data-indexer  && . ./virtualenv/bin/activate  && /usr/local/cozy-indexer/cozy-data-indexer/virtualenv/bin/python server.py & sleep 5  && while ! curl -s 127.0.0.1:9102; do sleep 5; done  && cozy-monitor install data-system  && cozy-monitor install home  && cozy-monitor install proxy] returned a non-zero code: 1 \r\n```"},"comment":{"url":"https://api.github.com/repos/cozy-labs/cozy-docker/issues/comments/92360207","html_url":"https://github.com/cozy-labs/cozy-docker/issues/3#issuecomment-92360207","issue_url":"https://api.github.com/repos/cozy-labs/cozy-docker/issues/3","id":92360207,"user":{"login":"arthurlutz","id":108437,"avatar_url":"https://avatars.githubusercontent.com/u/108437?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurlutz","html_url":"https://github.com/arthurlutz","followers_url":"https://api.github.com/users/arthurlutz/followers","following_url":"https://api.github.com/users/arthurlutz/following{/other_user}","gists_url":"https://api.github.com/users/arthurlutz/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurlutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurlutz/subscriptions","organizations_url":"https://api.github.com/users/arthurlutz/orgs","repos_url":"https://api.github.com/users/arthurlutz/repos","events_url":"https://api.github.com/users/arthurlutz/events{/privacy}","received_events_url":"https://api.github.com/users/arthurlutz/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T13:47:24Z","updated_at":"2015-04-13T13:47:24Z","body":"@Kloadut any CMD command that I can add to try out this theory ? \r\n"}}