{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-monitor/issues/80","labels_url":"https://api.github.com/repos/cozy/cozy-monitor/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-monitor/issues/80/comments","events_url":"https://api.github.com/repos/cozy/cozy-monitor/issues/80/events","html_url":"https://github.com/cozy/cozy-monitor/issues/80","id":88352990,"number":80,"title":"Cozy down, can't restart and cozy-monitor failed","user":{"login":"lakano","id":731955,"avatar_url":"https://avatars.githubusercontent.com/u/731955?v=3","gravatar_id":"","url":"https://api.github.com/users/lakano","html_url":"https://github.com/lakano","followers_url":"https://api.github.com/users/lakano/followers","following_url":"https://api.github.com/users/lakano/following{/other_user}","gists_url":"https://api.github.com/users/lakano/gists{/gist_id}","starred_url":"https://api.github.com/users/lakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakano/subscriptions","organizations_url":"https://api.github.com/users/lakano/orgs","repos_url":"https://api.github.com/users/lakano/repos","events_url":"https://api.github.com/users/lakano/events{/privacy}","received_events_url":"https://api.github.com/users/lakano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-15T08:07:21Z","updated_at":"2015-06-15T09:22:16Z","closed_at":null,"body":"Hello,\r\n\r\nI have an instance since may be 2 months on my own server.\r\n\r\nSince this morning ( or may be 1 or 2 days before), I can't access to cozy ( DavDroid failed, and error 504 Gateway timeout from Firefox )\r\n\r\nOn the system, I can't restart it : \r\n```\r\n# cozy-monitor restart-cozy-stack\r\ninfo - Restart data-system...\r\nerror - An error occured:\r\nerror - Restart failed for data-system.\r\n```\r\nAnd monitor failed : \r\n```\r\n# cozy-monitor status\r\npostfix: up\r\ncouch: down\r\ncontroller: up\r\nds: down\r\nhome: up\r\nproxy: up\r\nindex: up\r\nerror - An error occured:\r\nerror - Cannot display status\r\n[Error: Cannot retrieve apps]\r\n```\r\n\r\nAny help will be appreciated... I don't understood how this could stop like this, only DavDroid use it, and I haven't made upgrades since 1 month...\r\n\r\n```\r\n# cozy-monitor version\r\n1.2.20\r\n```\r\n\r\n```\r\n# cozy-monitor versions\r\n\r\nCozy Stack:\r\ncontroller: 2.0.24\r\ndata-system: 1.0.28\r\nhome: 1.0.42\r\nproxy: 1.0.14\r\nindexer: 1.0.0\r\nmonitor: 1.2.20\r\n\r\nOther applications: \r\nerror - Error when retrieving user application.\r\n\r\n/usr/local/lib/node_modules/cozy-monitor/node_modules/async/lib/async.js:144\r\n        if (!arr.length) {\r\n                ^\r\nTypeError: Cannot read property 'length' of undefined\r\n  at Object.async.eachSeries (/usr/local/lib/node_modules/cozy-monitor/node_modules/async/lib/async.js:144:17)\r\n  at /usr/local/lib/node_modules/cozy-monitor/lib/main.js:365:22\r\n  at /usr/local/lib/node_modules/cozy-monitor/lib/application.js:147:16\r\n  at parseBody (/usr/local/lib/node_modules/cozy-monitor/node_modules/request-json-light/main.js:74:10)\r\n  at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/cozy-monitor/node_modules/request-json-light/main.js:99:14)\r\n  at IncomingMessage.EventEmitter.emit (events.js:117:20)\r\n  at _stream_readable.js:920:16\r\n  at process._tickCallback (node.js:415:13)\r\n```\r\n\r\n\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-monitor/issues/comments/111989548","html_url":"https://github.com/cozy/cozy-monitor/issues/80#issuecomment-111989548","issue_url":"https://api.github.com/repos/cozy/cozy-monitor/issues/80","id":111989548,"user":{"login":"aenario","id":1580287,"avatar_url":"https://avatars.githubusercontent.com/u/1580287?v=3","gravatar_id":"","url":"https://api.github.com/users/aenario","html_url":"https://github.com/aenario","followers_url":"https://api.github.com/users/aenario/followers","following_url":"https://api.github.com/users/aenario/following{/other_user}","gists_url":"https://api.github.com/users/aenario/gists{/gist_id}","starred_url":"https://api.github.com/users/aenario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aenario/subscriptions","organizations_url":"https://api.github.com/users/aenario/orgs","repos_url":"https://api.github.com/users/aenario/repos","events_url":"https://api.github.com/users/aenario/events{/privacy}","received_events_url":"https://api.github.com/users/aenario/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T09:22:15Z","updated_at":"2015-06-15T09:22:15Z","body":"Hi @lakano , Thanks for reporting.\r\n\r\nIt appears your cozy-data-system is failing to start\r\n\r\nCould you try ton run `cozy-monitor log data-system cat` and let us know what's there ?\r\n\r\nRegards,"}}