I'm struggeling with a problem by deploying my Meteor App to Digital Ocean Ubuntu 16.04. My Meteor Version is [email protected]
mup setup work perfect. mup deploy Throws an error. I googled this error but I cant find a solution for this
Started TaskList: Pushing Meteor App
- Pushing Meteor App Bundle to the Server
- Pushing Meteor App Bundle to the Server: SUCCESS
- Prepare Bundle
x Prepare Bundle: FAILED
-----------------------------------STDERR-----------------------------------
Error response from daemon: No such container: CoachingDB
The command '/bin/sh -c cd /built_app/programs/server && npm install --unsafe-perm' returned a non-zero code: 137
Error response from daemon: No such container: CoachingDB
Error: failed to start containers: CoachingDB
-----------------------------------STDOUT-----------------------------------
[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-11-29T08_58_50_441Z-debug.log
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! [email protected] install: `node npm-rebuild.js`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-11-29T08_58_50_609Z-debug.log
----------------------------------------------------------------------------
Here your can see my mup.js configuration. I hope that I configured it correct
module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: 'xxx.xxx.xxx.xxx',
username: 'root',
// pem: './path/to/pem'
password: 'xxx'
// or neither for authenticate from ssh-agent
}
},
app: {
name: 'CoachingDB',
path: '../',
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
ROOT_URL: 'http://xxx.xxx.xxx.xxx/',
MONGO_URL: 'mongodb://localhost/meteor',
},
// ssl: { // (optional)
// // Enables let's encrypt (optional)
// autogenerate: {
// email: '[email protected]',
// // comma separated list of domains
// domains: 'website.com,www.website.com'
// }
// },
docker: {
// change to 'abernix/meteord:base' if your app is using Meteor 1.4 - 1.5
image: 'abernix/meteord:base',
},
enableUploadProgressBar: true,
deployCheckWaitTime: 180,
},
mongo: {
version: '3.4.1',
port: 27017,
oplog: true,
servers: {
one: {}
}
}
};
Does anyone know how to fix this Issue?
You can try the workaround which helped me in your situation. I described it here.