2017-11-29 3 views
0

Ich habe Probleme mit der Bereitstellung meiner Meteor App auf Digital Ocean Ubuntu 16.04. Meine Meteor Version ist [email protected]Bereitstellen von Meteor Digital Ocean Ubuntu - Kein solcher Container Fehler

mup setup arbeiten perfekt. mup deploy Wirft einen Fehler. Ich googeln diesen Fehler, aber ich kann eine Lösung für dieses

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 

    ---------------------------------------------------------------------------- 

Hier Ihr meine mup.js Konfiguration sehen können. Ich hoffe, dass ich es richtig konfigurierte

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: {} 
    } 
} 
}; 

Kann jemand dieses Problem beheben?

Antwort

Verwandte Themen