Justin Eder
Justin Eder

Reputation: 183

Trying to deploy a Meteor app -- mup setup error

Does anyone have any idea what I'm missing here? I'm on a Windows machine. This happens with an app that I've built myself. I also get the same error on Meteor's hello world app. Thanks in advance.

mup init works fine, but when I try to run mup setup, I receive this error message.

//--------------- Below is the info from my mup.json file ----------

{
  // Server authentication info
  "servers": [
    {
      "host": "xxx.xxx.xxx.xx",
      "username": "xxxxxx",
      "password": "xxxxxx"
      // or pem file (ssh based authentication)
      //"pem": "~/.ssh/id_rsa"
    }
  ],

  // Install MongoDB in the server, does not destroy local MongoDB on future setup
  "setupMongo": false,

  // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
  "setupNode": true,

  // WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
  "nodeVersion": "0.10.40",

  // Install PhantomJS in the server
  "setupPhantom": true,

  // Show a progress bar during the upload of the bundle to the server.
  // Might cause an error in some rare cases if set to true, for instance in Shippable CI
  "enableUploadProgressBar": true,

  // Application name (No spaces)
  "appName": "alp-new",

  // Location of app (local directory)
  "app": ".",

  // Configure environment
  "env": {
    "ROOT_URL": "http://xxxx.xxxx.com/",
    "MONGO_URL": "mongodb://xxxxxx:[email protected]:10503,candidate.16.mongolayer.com:11209/alp-telescope?replicaSet=set-5634fd304bed0503ed000ade"
  },

  // Meteor Up checks if the app comes online just after the deployment
  // before mup checks that, it will wait for no. of seconds configured below
  "deployCheckWaitTime": 30
}

Upvotes: 1

Views: 1298

Answers (1)

Ruby_Pry
Ruby_Pry

Reputation: 237

Per https://github.com/arunoda/meteor-up#ssh-based-authentication-with-sudo, you need to ensure that your key file is not protected by a passphrase. Not sure if you are deploying to Digital Ocean, but this article can still serve as a good reference regardless:

http://meteortips.com/deployment-tutorial/digitalocean-part-1/

Upvotes: 0

Related Questions