{"action":"created","issue":{"url":"https://api.github.com/repos/kadirahq/meteor-up/issues/126","repository_url":"https://api.github.com/repos/kadirahq/meteor-up","labels_url":"https://api.github.com/repos/kadirahq/meteor-up/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/meteor-up/issues/126/comments","events_url":"https://api.github.com/repos/kadirahq/meteor-up/issues/126/events","html_url":"https://github.com/kadirahq/meteor-up/issues/126","id":155609311,"number":126,"title":"TypeError path must be a string","user":{"login":"mbabauer","id":472616,"avatar_url":"https://avatars.githubusercontent.com/u/472616?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabauer","html_url":"https://github.com/mbabauer","followers_url":"https://api.github.com/users/mbabauer/followers","following_url":"https://api.github.com/users/mbabauer/following{/other_user}","gists_url":"https://api.github.com/users/mbabauer/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabauer/subscriptions","organizations_url":"https://api.github.com/users/mbabauer/orgs","repos_url":"https://api.github.com/users/mbabauer/repos","events_url":"https://api.github.com/users/mbabauer/events{/privacy}","received_events_url":"https://api.github.com/users/mbabauer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-18T21:47:23Z","updated_at":"2016-05-19T11:43:48Z","closed_at":null,"body":"I am using the following setup:\r\n\r\n```\r\nmodule.exports = {\r\n  servers: {\r\n    one: {\r\n      host: 'sc1.32past8.com',\r\n      username: 'xxx',\r\n      password: 'xxx',\r\n      // pem: './mykey',\r\n    },\r\n  },\r\n\r\n  meteor: {\r\n    name: 'strata_app',\r\n    path: '../../',\r\n    servers: {\r\n      one: {},\r\n    },\r\n    env: {\r\n      ROOT_URL: 'https://sc1.32past8.com',\r\n      MAIL_URL: \"smtp://postmaster@app.strataconsulting.us:f3cb14d9e0fd3a2d73dd6be808fe52fc@smtp.mailgun.org\",\r\n      MONGO_URL: 'mongodb://localhost/meteor'\r\n    },\r\n    ssl: {\r\n      certificate: \"./fullchain1.pem\",\r\n      key: \"./privkey1.key\",\r\n      port: 443\r\n    }\r\n  },\r\n\r\n  mongo: {\r\n    oplog: true,\r\n    port: 27017,\r\n    servers: {\r\n      one: {},\r\n    },\r\n  },\r\n};\r\n\r\n```\r\n\r\nWhich I placed in `.deploy/dev`, but I am getting an error when I run `mup setup`:\r\n\r\n```\r\nStarted TaskList: Setup Docker\r\n[sc1.32past8.com] - setup docker\r\n[sc1.32past8.com] - setup docker: SUCCESS\r\n\r\nStarted TaskList: Setup Meteor\r\n[sc1.32past8.com] - Setup Environment\r\n\r\nStarted TaskList: Setup Mongo\r\n[sc1.32past8.com] - setup environment\r\n[sc1.32past8.com] - setup environment: SUCCESS\r\n[sc1.32past8.com] - copying mongodb.conf\r\n[sc1.32past8.com] - Setup Environment: SUCCESS\r\n[sc1.32past8.com] - Copying SSL Certificate Bundle\r\nTypeError path must be a string\r\n```\r\n\r\nAlso, is there any way to turn on debug logging?"},"comment":{"url":"https://api.github.com/repos/kadirahq/meteor-up/issues/comments/220300667","html_url":"https://github.com/kadirahq/meteor-up/issues/126#issuecomment-220300667","issue_url":"https://api.github.com/repos/kadirahq/meteor-up/issues/126","id":220300667,"user":{"login":"mbabauer","id":472616,"avatar_url":"https://avatars.githubusercontent.com/u/472616?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabauer","html_url":"https://github.com/mbabauer","followers_url":"https://api.github.com/users/mbabauer/followers","following_url":"https://api.github.com/users/mbabauer/following{/other_user}","gists_url":"https://api.github.com/users/mbabauer/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabauer/subscriptions","organizations_url":"https://api.github.com/users/mbabauer/orgs","repos_url":"https://api.github.com/users/mbabauer/repos","events_url":"https://api.github.com/users/mbabauer/events{/privacy}","received_events_url":"https://api.github.com/users/mbabauer/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T11:43:48Z","updated_at":"2016-05-19T11:43:48Z","body":"Ok, I made sure everything was using single quotes, and even tried full path, but same issue.  I added a log to dump the stack on error, but that seemed less than helpful:\r\n\r\n```\r\nStarted TaskList: Setup Docker\r\n[sc1.32past8.com] - setup docker\r\n[sc1.32past8.com] - setup docker: SUCCESS\r\n\r\nStarted TaskList: Setup Meteor\r\n[sc1.32past8.com] - Setup Environment\r\n\r\nStarted TaskList: Setup Mongo\r\n[sc1.32past8.com] - setup environment\r\n[sc1.32past8.com] - setup environment: SUCCESS\r\n[sc1.32past8.com] - copying mongodb.conf\r\n[sc1.32past8.com] - Setup Environment: SUCCESS\r\n[sc1.32past8.com] - Copying SSL Certificate Bundle\r\nTypeError path must be a string\r\nTypeError: path must be a string\r\n    at TypeError (native)\r\n    at Object.fs.open (fs.js:575:11)\r\n    at fastXfer (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/ssh2-streams/lib/sftp.js:1008:7)\r\n    at SFTPStream.fastPut (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/ssh2-streams/lib/sftp.js:1111:3)\r\n    at SFTPWrapper.fastPut (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/ssh2/lib/SFTPWrapper.js:52:23)\r\n    at onSftp (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/nodemiral/lib/ssh.js:43:12)\r\n    at SFTPStream.onReady (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/ssh2/lib/client.js:741:9)\r\n    at SFTPStream.g (events.js:273:16)\r\n    at emitNone (events.js:80:13)\r\n    at SFTPStream.emit (events.js:179:7)\r\n    at SFTPStream._transform (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/ssh2-streams/lib/sftp.js:340:14)\r\n    at SFTPStream.Transform._read (_stream_transform.js:167:10)\r\n    at SFTPStream._read (/Users/mbauer/Documents/development/oss_projects/meteor-up/node_modules/ssh2-streams/lib/sftp.js:170:15)\r\n    at SFTPStream.Transform._write (_stream_transform.js:155:12)\r\n    at doWrite (_stream_writable.js:301:12)\r\n    at writeOrBuffer (_stream_writable.js:287:5)\r\n```\r\n\r\nOne thing I find strange is that the SSL log output is printing after the line \"Started TaskList: Setup Mongo\", but the code seems to add the step as part of the Meteor module setup (lines 45-62 of src/modules/meteor/index.js).  Not sure why, perhaps threading?"}}