Error while deploying multiple meteor apps
See original GitHub issueHi, I am trying to deploy multiple meteor apps on AWS Ubuntu server using Nginx. I am getting error while doing mup deploy for app#2. node v7.7.2 npm 4.1.2
App#1 My first app1 is working fine on site1. App#1, which is working fine, is using meteor PORT: 3000 and mongo PORT: 27017.
App#2 App#2, which is giving above error, is using meteor PORT: 3003 and mongo PORT: 27021. App#2 is giving following error .
mup deploy error
Build Error. Check the logs printed above.
(node:12934) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: build-error
(node:12934) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
mup.js file for app#2
module.exports = {
servers: {
one: {
host: '35.164.201.159',
username: 'ubuntu',
pem: '~/.ssh/iAssureIT-Ubuntu.pem',
// password:
// or leave blank for authenticate from ssh-agent
}
},
meteor: {
name: 'musissive',
path: '/var/www/meteor/musissive',
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
ROOT_URL: 'http://musissive.in',
MONGO_URL: 'mongodb://localhost:27021/meteor',
PORT: 3003
},
docker: {
// change to 'kadirahq/meteord' if your app is not using Meteor 1.4
image: 'abernix/meteord:base',
},
deployCheckWaitTime: 60,
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: false
},
mongo: {
oplog: true,
port: 27021,
version: '3.4.1',
servers: {
one: {},
},
},
};
~
I was consistently getting the above error, even when mongo port was 27017 for both apps… So tried different ports for Mongodb in both apps. What must be causing the above error during mup deploy?
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
MUP deployment to multiple servers failed - Meteor forums
Hi, After successfully using the latest version of mup to deploy my meteor app to a single server, I try to deploy my...
Read more >MONGO_URL for running multiple Meteor apps on one server
I have one Meteor application running on my Ubuntu server (Digital Ocean). I use Meteor Up (MUP) to deploy and keep the app...
Read more >How to Deploy Your meteor.js App on Digital Ocean
For this tutorial, we're going to cover how to get your meteor.js app up and running on a Digital Ocean droplet running nginx....
Read more >meteor - Project Ricochet
Multiple Meteor apps running on the same domain & how to override packages ... Run multiple Meteor apps on the same domain by...
Read more >javascript - Deploying N amount of meteor apps on a single server ...
just use node-http-proxy and either use the command line or restart the proxy process on changes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iAssureIT I just released 1.2.4. Update mup with
npm install -g mup
, and try deploying withmup deploy --verbose
. With the verbose flag it will show the output frommeteor build
@zodern, GOOD NEWS! All the above errors have gone, as soon as I increased the RAM size from 1GB to 4GB. Now MUP DEPLOY is working very fine. Thank you… Thank you… Thank you very much for all your help!