{"action":"created","issue":{"url":"https://api.github.com/repos/lisong/code-push-server/issues/45","repository_url":"https://api.github.com/repos/lisong/code-push-server","labels_url":"https://api.github.com/repos/lisong/code-push-server/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/lisong/code-push-server/issues/45/comments","events_url":"https://api.github.com/repos/lisong/code-push-server/issues/45/events","html_url":"https://github.com/lisong/code-push-server/issues/45","id":201777869,"number":45,"title":"code-push release-react 部署包导致code-push-server进程退出","user":{"login":"anhuiliujun","id":721395,"avatar_url":"https://avatars.githubusercontent.com/u/721395?v=3","gravatar_id":"","url":"https://api.github.com/users/anhuiliujun","html_url":"https://github.com/anhuiliujun","followers_url":"https://api.github.com/users/anhuiliujun/followers","following_url":"https://api.github.com/users/anhuiliujun/following{/other_user}","gists_url":"https://api.github.com/users/anhuiliujun/gists{/gist_id}","starred_url":"https://api.github.com/users/anhuiliujun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhuiliujun/subscriptions","organizations_url":"https://api.github.com/users/anhuiliujun/orgs","repos_url":"https://api.github.com/users/anhuiliujun/repos","events_url":"https://api.github.com/users/anhuiliujun/events{/privacy}","received_events_url":"https://api.github.com/users/anhuiliujun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-19T06:47:58Z","updated_at":"2017-01-19T07:01:17Z","closed_at":null,"body":"使用如下命令部署\r\n```\r\ncode-push release-react finance-android android --description \"13. 测试提示\" -d \"Production\" -m\r\n```\r\n\r\n服务端错误日志：\r\n\r\n```\r\n0|code-pus | { Error: ENOENT: no such file or directory, chmod '/home/ubuntu/storage/FkrEhz92120pOEqjFY5zUhi9Teoz'\r\n0|code-pus |   errno: -2,\r\n0|code-pus |   code: 'ENOENT',\r\n0|code-pus |   syscall: 'chmod',\r\n0|code-pus |   path: '/home/ubuntu/storage/FkrEhz92120pOEqjFY5zUhi9Teoz' }\r\n0|code-pus | Error: ENOENT: no such file or directory, open '/tmp/codepush_DZ6SFf4vUBZwgKvTzMLOpzn2ZElmjH2Y/FgJjaMWow7_70N7g29IezDkkwl19.zip'\r\nPM2        | App [code-push-server] with id [0] and pid [21423], exited with code [1] via signal [SIGINT]\r\nPM2        | Starting execution sequence in -fork mode- for app name:code-push-server id:0\r\nPM2        | App name:code-push-server id:0 online\r\n```\r\n\r\n可以看出code-push-server进程是退出了，但是由于使用了pm2管理并开启watch，所以又重启了。\r\n\r\n不知道为什么会出现这样的错误，还请指教"},"comment":{"url":"https://api.github.com/repos/lisong/code-push-server/issues/comments/273697187","html_url":"https://github.com/lisong/code-push-server/issues/45#issuecomment-273697187","issue_url":"https://api.github.com/repos/lisong/code-push-server/issues/45","id":273697187,"user":{"login":"anhuiliujun","id":721395,"avatar_url":"https://avatars.githubusercontent.com/u/721395?v=3","gravatar_id":"","url":"https://api.github.com/users/anhuiliujun","html_url":"https://github.com/anhuiliujun","followers_url":"https://api.github.com/users/anhuiliujun/followers","following_url":"https://api.github.com/users/anhuiliujun/following{/other_user}","gists_url":"https://api.github.com/users/anhuiliujun/gists{/gist_id}","starred_url":"https://api.github.com/users/anhuiliujun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhuiliujun/subscriptions","organizations_url":"https://api.github.com/users/anhuiliujun/orgs","repos_url":"https://api.github.com/users/anhuiliujun/repos","events_url":"https://api.github.com/users/anhuiliujun/events{/privacy}","received_events_url":"https://api.github.com/users/anhuiliujun/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T07:01:17Z","updated_at":"2017-01-19T07:01:17Z","body":"另外，我有个疑问：使用local的方式，历史版本是如何维护的，永远不删除吗？"}}
{"actor":{"display_login":"anhuiliujun"}}