Error: Meteor up (mup)


#1

anyone help me, i using https://github.com/arunoda/meteor-up to deploy my app, but i’m getting error when i run mup setup. this error :smile:

[localhost] - Setting up Environment

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:905:11)
    at Object.afterConnect [as oncomplete] (net.js:896:19)

and this my mup.json file :

{
  // Server authentication info
  "servers": [
    {
      "host": "localhost",
      "username": "root",
      "password": "piyiku"
      // 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": false,

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

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

  // Application name (No spaces)
  "appName": "koperasi-indonesia",

  // Location of app (local directory)
  "app": "/home/komit/meteor-apps/koperasi-indonesia",

  // Configure environment
  "env": {
    "PORT": 4000,
    "ROOT_URL": "http://localhost/",
    "MONGO_URL": "mongodb://demo:demo@127.0.0.1:27017"
  },

  // 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": 15
}

#2

You may try “nodeVersion”: “0.10.36”, not 0.10.37


#3

Here server is “localhost”. You need to set the hostname of the actual server.


#4

{
// Server authentication info
"servers": [
{
“host”: “127.0.0.1”,
“username”: “root”,
“password”: “dhaval”
// or pem file (ssh based authentication)
//“pem”: “~/.ssh/id_rsa”
}
],

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

// 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.36”,

// 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”: “test”,

// Location of app (local directory)
“app”: “/var/www/html/meteor_app/test”,

// Configure environment
"env": {
“ROOT_URL”: “http://127.0.0.1/”,
“PORT”:“80”,
“MONGO_URL”:“mongodb://localhost:27017/test/”
},

// 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": 15
}

still i am getting same error