{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/pm2/issues/1623","repository_url":"https://api.github.com/repos/Unitech/pm2","labels_url":"https://api.github.com/repos/Unitech/pm2/issues/1623/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/pm2/issues/1623/comments","events_url":"https://api.github.com/repos/Unitech/pm2/issues/1623/events","html_url":"https://github.com/Unitech/pm2/issues/1623","id":106971329,"number":1623,"title":"pm2 cluster mode fails to start because `Error: ENOENT, no such file or directory` for process.cwd()","user":{"login":"yinrong","id":4221569,"avatar_url":"https://avatars.githubusercontent.com/u/4221569?v=3","gravatar_id":"","url":"https://api.github.com/users/yinrong","html_url":"https://github.com/yinrong","followers_url":"https://api.github.com/users/yinrong/followers","following_url":"https://api.github.com/users/yinrong/following{/other_user}","gists_url":"https://api.github.com/users/yinrong/gists{/gist_id}","starred_url":"https://api.github.com/users/yinrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yinrong/subscriptions","organizations_url":"https://api.github.com/users/yinrong/orgs","repos_url":"https://api.github.com/users/yinrong/repos","events_url":"https://api.github.com/users/yinrong/events{/privacy}","received_events_url":"https://api.github.com/users/yinrong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Unitech/pm2/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-09-17T12:18:45Z","updated_at":"2016-02-02T21:34:50Z","closed_at":null,"body":"same as #1244 \r\nThis always happen when stop the old server, replace the source code, and start the new server.\r\n\r\nOne way  to fix the problem is to kill PM2 and restart again. However, I can't do this, because I have to keep some processes running while stop/start the others."},"comment":{"url":"https://api.github.com/repos/Unitech/pm2/issues/comments/178835289","html_url":"https://github.com/Unitech/pm2/issues/1623#issuecomment-178835289","issue_url":"https://api.github.com/repos/Unitech/pm2/issues/1623","id":178835289,"user":{"login":"gansbrest","id":617735,"avatar_url":"https://avatars.githubusercontent.com/u/617735?v=3","gravatar_id":"","url":"https://api.github.com/users/gansbrest","html_url":"https://github.com/gansbrest","followers_url":"https://api.github.com/users/gansbrest/followers","following_url":"https://api.github.com/users/gansbrest/following{/other_user}","gists_url":"https://api.github.com/users/gansbrest/gists{/gist_id}","starred_url":"https://api.github.com/users/gansbrest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gansbrest/subscriptions","organizations_url":"https://api.github.com/users/gansbrest/orgs","repos_url":"https://api.github.com/users/gansbrest/repos","events_url":"https://api.github.com/users/gansbrest/events{/privacy}","received_events_url":"https://api.github.com/users/gansbrest/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T21:34:50Z","updated_at":"2016-02-02T21:34:50Z","body":"Yes, once the folder is gone - some issue. When we kill pm2, remove .pm2 folder and then issue /etc/init.d/pm2 start, it displays start message and pm2 process launches (with no processes), but later when we go into the app and issue reload command, pm2 seem to memorize cwd at that very moment. Is there a way to use main process ( the one started with upstart with empty process list) pwd? Any thoughts @soyuka?"}}