How to config mup.json (mupx setup/deploy error)

Hello, I am going to upload my meteor app here with mupx, { // Server authentication info “servers”: [ { “host”: “”, // IP address copy from droplets “username”: “root”, “password”: “mypasswordofroot”, // or pem file (ssh based authentication) // WARNING: Keys protected by a passphrase are not supported //“pem”: “~/.ssh/id_rsa” // Also, for non-standard ssh port use this //“sshOptions”: { “port” : 49154 }, // server specific environment variables “env”: {} } ],

// Install MongoDB on the server. Does not destroy the local MongoDB on future setups //“setupMongo”: true,

// Application name (no spaces). “appName”: “ezafah”,

// Location of app (local directory). This can reference ‘~’ as the users home directory. // i.e., “app”: “~/Meteor/my-app”, // This is the same as the line below. “app”: “G:/EZAFAH/ezafah”,

// Configure environment // ROOT_URL must be set to your correct domain (https or http) “env”: { “PORT”: 80, “ROOT_URL”: “” },

// Meteor Up checks if the app comes online just after the deployment. // Before mup checks that, it will wait for the number of seconds configured below. “deployCheckWaitTime”: 600,

// show a progress bar while uploading. // Make it false when you deploy using a CI box. “enableUploadProgressBar”: true }

when i uncomment “setupMongo”: true, it gives error and at this time when i comment this line mupx setup (command is done) but mupx deploy --settings=settings.json gives error, please help me.


What are the errors you are getting with these different settings commented or un-commented?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Without further information it’s difficult to give you a definitive answer on how to correct the error you are getting. I would recommend checking out a guide like this one to walk you through deploying your meteor app with mupx.