Are there any limit to the number of Meteor Apps that we can deploy with MUP

Hi,

I use the latest version of MUP to deploy my Meteor Apps and everything is working fine.

However after deploying successfully my first 3 Apps, when I deploy the 4th App, MUP stop at Sending Environment Variables: SUCCESS and doesn’t go forward with Start Meteor and Verifying Deployment.

Each Meteor App have its own port.

My Server is a DigitalOcean droplet with 8 Gb Ram and 4 CPU.

Thank You
Kosona

I have a 1Gb 1cpu DO droplet running 5 (very lightweight) Meteor apps using mupx (each app on its own port). I would have thought your server could handle 4 apps comfortably. Must be something else going on.

Thank You babrahams. I will update nodejs on my server to see if that change anything.

Kosona

Hi,

I found the reasons and I want to share it with all of you.

With mup setup make sure that in your mup.js, your last line in each block end with space and not , . If the last block end with , you will see the process stuck and get timeout error.
Example:
The below is correct.
buildOptions: {
serverOnly: true,
debug: true,
cleanAfterBuild: true
},

The below will generate error
buildOptions: {
serverOnly: true,
debug: true,
cleanAfterBuild: true,
},

With mup deploy make sure that in your settings.json your last line in each block end with space and not , . If the last block end with , you will see the process stuck and get timeout error.
Example:
The below is correct.
“oAuth”: {

"twitter": {

  "consumerKey": "xxx",

  "secret": "xxxx",
  "access_token_key": "xxx",
  "access_token_secret": "xxx"

},

"facebook": {

  "appId": "xxx",

  "secret": "xxxx"

}

}

The below will generate error timeout
"oAuth": {

"twitter": {

  "consumerKey": "xxx",

  "secret": "xxxx",
  "access_token_key": "xxx",
  "access_token_secret": "xxx"

},

"facebook": {

  "appId": "xxx",

  "secret": "xxxx"

},

}

HOPE THAT WILL HELP !

Cheers,
Kosona

1 Like