{"action":"reopened","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/7084","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7084/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7084/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7084/events","html_url":"https://github.com/TryGhost/Ghost/issues/7084","id":164806810,"number":7084,"title":"Unable to Update Ghost to v0.8.0 on production server","user":{"login":"prashantsani","id":814793,"avatar_url":"https://avatars.githubusercontent.com/u/814793?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantsani","html_url":"https://github.com/prashantsani","followers_url":"https://api.github.com/users/prashantsani/followers","following_url":"https://api.github.com/users/prashantsani/following{/other_user}","gists_url":"https://api.github.com/users/prashantsani/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantsani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantsani/subscriptions","organizations_url":"https://api.github.com/users/prashantsani/orgs","repos_url":"https://api.github.com/users/prashantsani/repos","events_url":"https://api.github.com/users/prashantsani/events{/privacy}","received_events_url":"https://api.github.com/users/prashantsani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-11T10:32:10Z","updated_at":"2016-09-23T17:12:48Z","closed_at":null,"body":"Hello,\r\nI have a live blog and I'm unable to update my ghost blog as per the docs.\r\n\r\nI tried several combinations of following : \r\n1. deleting entire core, node_modules and index.js file and replacing it with new ones\r\n2. using ` npm cache clean `\r\n3. changing and updating to root level and using the commands as a root user. \r\n4. changing node version.  \r\n\r\nBut none of them work.\r\n\r\nWhile using 0.12.0, I get following error while installing node \r\n```\r\n> npm install semver && node -e \"require('./core/server/utils/startup-check.js').nodeVersion()\"\r\n\r\nsemver@5.1.0 node_modules/semver\r\n \r\n> jsonpath@0.2.2 postinstall /var/www/ghost/node_modules/jsonpath\r\n> node lib/aesprim.js > generated/aesprim-browser.js\r\n\r\nKilled\r\n```\r\n\r\nWhat does **Killed** mean?\r\n\r\n\r\nThis is what is shown when I  type ` npm start --production`\r\n```\r\n>ghost@0.8.0 start /var/www/ghost\r\n> node index\r\n\r\nmodule.js:338\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'xmlbuilder'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/var/www/ghost/node_modules/nodemailer/node_modules/aws-sdk/lib/xml/builder.js:2:15)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/var/www/ghost/node_modules/nodemailer/node_modules/aws-sdk/lib/core.js:42:14)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n\r\nnpm ERR! Linux 3.13.0-57-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\" \"--production\"\r\nnpm ERR! node v0.12.0\r\nnpm ERR! npm  v2.5.1\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! ghost@0.8.0 start: `node index`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the ghost@0.8.0 start script 'node index'.\r\nnpm ERR! This is most likely a problem with the ghost package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node index\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls ghost\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /var/www/ghost/npm-debug.log\r\n\r\n```\r\n\r\n\r\nAnd these are contents of `/var/www/ghost/npm-debug.log`\r\n```\r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'start',\r\n1 verbose cli   '--production' ]\r\n2 info using npm@1.2.14\r\n3 info using node@v0.10.0\r\n4 verbose read json /var/www/package.json\r\n5 error Error: ENOENT, open '/var/www/package.json'\r\n6 error If you need help, you may report this log at:\r\n6 error     <http://github.com/isaacs/npm/issues>\r\n6 error or email it to:\r\n6 error     <npm-@googlegroups.com>\r\n7 error System Linux 3.13.0-57-generic\r\n8 error command \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\" \"--production\"\r\n9 error cwd /var/www\r\n10 error node -v v0.10.0\r\n11 error npm -v 1.2.14\r\n12 error path /var/www/package.json\r\n13 error code ENOENT\r\n14 error errno 34\r\n15 verbose exit [ 34, true ]\r\n \r\n```\r\n\r\n\r\nUpdate: I get the same issue while installing 0.9.0-beta.2\r\n\r\n```\r\n> ghost@0.9.0-beta.2 preinstall /var/www/ghost\r\n> npm install semver && node -e \"require('./core/server/utils/startup-check.js').nodeVersion()\"\r\n\r\nsemver@5.1.0 node_modules/semver\r\nKilled\r\n\r\n```\r\n\r\n\r\nThanks"}}
{"actor":{"display_login":"prashantsani"}}