{"action":"created","issue":{"url":"https://api.github.com/repos/arunoda/meteor-up/issues/1060","repository_url":"https://api.github.com/repos/arunoda/meteor-up","labels_url":"https://api.github.com/repos/arunoda/meteor-up/issues/1060/labels{/name}","comments_url":"https://api.github.com/repos/arunoda/meteor-up/issues/1060/comments","events_url":"https://api.github.com/repos/arunoda/meteor-up/issues/1060/events","html_url":"https://github.com/arunoda/meteor-up/issues/1060","id":160984833,"number":1060,"title":"mupx verifying deployment failed - meteor 1.3.3","user":{"login":"wemyss","id":8426915,"avatar_url":"https://avatars.githubusercontent.com/u/8426915?v=3","gravatar_id":"","url":"https://api.github.com/users/wemyss","html_url":"https://github.com/wemyss","followers_url":"https://api.github.com/users/wemyss/followers","following_url":"https://api.github.com/users/wemyss/following{/other_user}","gists_url":"https://api.github.com/users/wemyss/gists{/gist_id}","starred_url":"https://api.github.com/users/wemyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wemyss/subscriptions","organizations_url":"https://api.github.com/users/wemyss/orgs","repos_url":"https://api.github.com/users/wemyss/repos","events_url":"https://api.github.com/users/wemyss/events{/privacy}","received_events_url":"https://api.github.com/users/wemyss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-17T22:15:07Z","updated_at":"2016-06-18T07:59:50Z","closed_at":null,"body":"Important info:\r\n* Ubuntu 14.04 LTS (GNU/Linux 3.13.0-86-generic x86_64)\r\n* Node `0.10.41` is specified in `mup.json` (also tried `0.10.40`)\r\n* mupx is latest stable version\r\n\r\nSo i seem to be getting this error no matter what. I have tried:\r\n* Removing `/opt` on the server\r\n* Removing `docker` and all of it's containers (reinstalled fine on the next push)\r\n* Changing `deployCheckWaitTime` to 300 (same error)\r\n* Rolling back to a previous version of my project in git that I know pushed up and worked\r\n\r\n```\r\nDEBUG=* mupx deploy\r\n(node:66734) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n\r\nMeteor Up: Production Quality Meteor Deployments\r\n------------------------------------------------\r\nConfiguration file : mup.json\r\nSettings file      : settings.json\r\n\r\n“ Checkout Kadira!\r\n  It's the best way to monitor performance of your app.\r\n  Visit: https://kadira.io/mup ”\r\n\r\nMeteor app path    : /Users/wemyss/Projects/dummyname/app\r\nUsing buildOptions : {}\r\n\r\nStarted TaskList: Deploy app 'dummyname' (linux)\r\n[dummyname.com] - Uploading bundle\r\n  nodemiral:sess: dummyname.com copy file - src: /tmp/4bd3f33a-e554-40cd-9003-574aee137282/bundle.tar.gz, dest: /opt/dummyname/tmp/bundle.tar.gz, vars: undefined +0ms\r\n[dummyname.com] - Uploading bundle: SUCCESS\r\n[dummyname.com] - Sending environment variables\r\n  nodemiral:sess: dummyname.com copy file - src: /usr/local/lib/node_modules/mupx/templates/linux/env.list, dest: /opt/dummyname/config/env.list, vars: {\"env\":{\"ROOT_URL\":\"http://dummyname.com\",\"METEOR_SETTINGS\":\"{\\\"dummykey\\\":\\\"dummyvalue\\\",\\\"dummykey\\\":\\\"dummyvalue\\\",\\\"dummykey\\\":\\\"dummyvalue\\\",\\\"dummykey\\\":\\\"dummyvalue\\\",\\\"public\\\":{\\\"postsPerPage\\\":6}}\",\"CLUSTER_ENDPOINT_URL\":\"http://dummyname.com:80\"},\"appName\":\"dummyname\"} +2s\r\n[dummyname.com] - Sending environment variables: SUCCESS\r\n[dummyname.com] - Initializing start script\r\n  nodemiral:sess:dummyname.com copy file - src: /usr/local/lib/node_modules/mupx/templates/linux/start.sh, dest: /opt/dummyname/config/start.sh, vars: {\"appName\":\"dummyname\",\"useLocalMongo\":true,\"port\":80} +34ms\r\n[dummyname.com] - Initializing start script: SUCCESS\r\n[dummyname.com] - Invoking deployment process\r\n[dummyname.com] - Invoking deployment process: SUCCESS\r\n[dummyname.com] - Verifying deployment\r\n[dummyname.com] x Verifying deployment: FAILED\r\n\r\n\t-----------------------------------STDERR-----------------------------------\r\n\tnpm@2, which has some small\r\n\tnpm WARN deprecated backwards-incompatible changes made to `npm run-script` and\r\n\tnpm WARN deprecated semver behavior.\r\n\tnpm ERR! install Couldn't read dependencies\r\n\tnpm ERR! Failed to parse json\r\n\tnpm ERR! Unexpected end of input\r\n\tnpm ERR! File: /bundle/bundle/programs/server/package.json\r\n\tnpm ERR! Failed to parse package.json data.\r\n\tnpm ERR! package.json must be actual JSON, not just JavaScript.\r\n\tnpm ERR!\r\n\tnpm ERR! This is not a bug in npm.\r\n\tnpm ERR! Tell the package author to fix their package.json file. JSON.parse\r\n\r\n\tnpm ERR! System Linux 3.13.0-86-generic\r\n\tnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"i\"\r\n\tnpm ERR! cwd /bundle/bundle/programs/server\r\n\tnpm ERR! node -v v0.10.43\r\n\tnpm ERR! npm -v 1.4.29\r\n\tnpm ERR! file /bundle/bundle/programs/server/package.json\r\n\tnpm ERR! code EJSONPARSE\r\n\tnpm ERR!\r\n\tnpm ERR! Additional logging details can be found in:\r\n\tnpm ERR!     /bundle/bundle/programs/server/npm-debug.log\r\n\tnpm ERR! not ok code 0\r\n\r\n\t=> Redeploying previous version of the app\r\n\r\n\t-----------------------------------STDOUT-----------------------------------\r\n\r\n\tTo see more logs type 'mup logs --tail=50'\r\n\r\n\t----------------------------------------------------------------------------\r\n```\r\n\r\nAn interesting thing to note is if I log into the server and look at the package.json (or any other JSON in the `progams/server` directory they have one line of text: `{`. So just an open curly brace and that's it.\r\n\r\nI'm quite stuck on this one, any help would be greatly appreciated! :)\r\n\r\n**EDIT**\r\n* It seems that all files that i've checked in `progams/server` just have one line of code, e.g. `progams/server/app/app.js` only has `var re`.\r\n* I think the main issue is that all the files are only partially uploaded, what would the cause of this be?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/arunoda/meteor-up/issues/comments/226928328","html_url":"https://github.com/arunoda/meteor-up/issues/1060#issuecomment-226928328","issue_url":"https://api.github.com/repos/arunoda/meteor-up/issues/1060","id":226928328,"user":{"login":"MasterJames","id":1840183,"avatar_url":"https://avatars.githubusercontent.com/u/1840183?v=3","gravatar_id":"","url":"https://api.github.com/users/MasterJames","html_url":"https://github.com/MasterJames","followers_url":"https://api.github.com/users/MasterJames/followers","following_url":"https://api.github.com/users/MasterJames/following{/other_user}","gists_url":"https://api.github.com/users/MasterJames/gists{/gist_id}","starred_url":"https://api.github.com/users/MasterJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasterJames/subscriptions","organizations_url":"https://api.github.com/users/MasterJames/orgs","repos_url":"https://api.github.com/users/MasterJames/repos","events_url":"https://api.github.com/users/MasterJames/events{/privacy}","received_events_url":"https://api.github.com/users/MasterJames/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T07:59:50Z","updated_at":"2016-06-18T07:59:50Z","body":"What happens with node 0.10.40 ? Same thing? "}}
{"actor":{"display_login":"MasterJames"}}