{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4379","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4379/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4379/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4379/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/4379","id":178333122,"number":4379,"title":"Upgrade to 0.40 fails","user":{"login":"78c59635bdd8","id":6833993,"avatar_url":"https://avatars.githubusercontent.com/u/6833993?v=3","gravatar_id":"","url":"https://api.github.com/users/78c59635bdd8","html_url":"https://github.com/78c59635bdd8","followers_url":"https://api.github.com/users/78c59635bdd8/followers","following_url":"https://api.github.com/users/78c59635bdd8/following{/other_user}","gists_url":"https://api.github.com/users/78c59635bdd8/gists{/gist_id}","starred_url":"https://api.github.com/users/78c59635bdd8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/78c59635bdd8/subscriptions","organizations_url":"https://api.github.com/users/78c59635bdd8/orgs","repos_url":"https://api.github.com/users/78c59635bdd8/repos","events_url":"https://api.github.com/users/78c59635bdd8/events{/privacy}","received_events_url":"https://api.github.com/users/78c59635bdd8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-21T12:31:57Z","updated_at":"2016-09-21T16:11:43Z","closed_at":"2016-09-21T12:59:22Z","body":"Your Rocket.Chat version: 0.40.\r\n\r\nAfter upgrading to 0.40 this morning, our rocketchat service fails to start:\r\n\r\nSep 21 07:30:32 chat systemd: Started The Rocket.Chat  server.\r\nSep 21 07:30:32 chat systemd: Starting The Rocket.Chat  server...\r\nSep 21 07:30:32 chat rocketchat: assert.js:93\r\nSep 21 07:30:32 chat rocketchat: throw new assert.AssertionError({\r\nSep 21 07:30:32 chat rocketchat: ^\r\nSep 21 07:30:32 chat rocketchat: AssertionError: \"undefined\" === \"function\"\r\nSep 21 07:30:32 chat rocketchat: at wrapPathFunction (/root/Rocket.Chat/programs/server/mini-files.js:77:10)\r\nSep 21 07:30:32 chat rocketchat: at Object.<anonymous> (/root/Rocket.Chat/programs/server/mini-files.js:108:24)\r\nSep 21 07:30:32 chat rocketchat: at Module._compile (module.js:456:26)\r\nSep 21 07:30:32 chat rocketchat: at Object.Module._extensions..js (module.js:474:10)\r\nSep 21 07:30:32 chat rocketchat: at Module.load (module.js:356:32)\r\nSep 21 07:30:32 chat rocketchat: at Function.Module._load (module.js:312:12)\r\nSep 21 07:30:32 chat rocketchat: at Module.require (module.js:364:17)\r\nSep 21 07:30:32 chat rocketchat: at require (module.js:380:17)\r\nSep 21 07:30:32 chat rocketchat: at Object.<anonymous> (/root/Rocket.Chat/programs/server/boot.js:9:13)\r\nSep 21 07:30:32 chat rocketchat: at Module._compile (module.js:456:26)\r\nSep 21 07:30:32 chat systemd: rocketchat.service: main process exited, code=exited, status=8/n/a\r\nSep 21 07:30:32 chat systemd: Unit rocketchat.service entered failed state.\r\nSep 21 07:30:32 chat systemd: rocketchat.service failed.\r\n"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/248661756","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/4379#issuecomment-248661756","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4379","id":248661756,"user":{"login":"angshallen","id":14019916,"avatar_url":"https://avatars.githubusercontent.com/u/14019916?v=3","gravatar_id":"","url":"https://api.github.com/users/angshallen","html_url":"https://github.com/angshallen","followers_url":"https://api.github.com/users/angshallen/followers","following_url":"https://api.github.com/users/angshallen/following{/other_user}","gists_url":"https://api.github.com/users/angshallen/gists{/gist_id}","starred_url":"https://api.github.com/users/angshallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angshallen/subscriptions","organizations_url":"https://api.github.com/users/angshallen/orgs","repos_url":"https://api.github.com/users/angshallen/repos","events_url":"https://api.github.com/users/angshallen/events{/privacy}","received_events_url":"https://api.github.com/users/angshallen/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T16:11:43Z","updated_at":"2016-09-21T16:11:43Z","body":"Perhaps worth mentioning, I had to do:\r\nln -sf /usr/local/n/versions/node/4.5.0/bin/node /usr/bin/node\r\nto get 4.5."}}
{"actor":{"display_login":"angshallen"}}