Развертывание Meteor Digital Ocean Ubuntu - Нет такой ошибки контейнера

Я борюсь с проблемой, развернув приложение Meteor на Digital Ocean Ubuntu 16.04. Моя версия Meteor - METEOR@1.5.2.2

Настройка MUP работает отлично. mup deploy Выдает ошибку. Я погуглил эту ошибку, но не могу найти решение для этого

    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-----------------------------------
    de-sass@4.5.2 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 meteor-dev-bundle@0.0.0 No description
    npm WARN meteor-dev-bundle@0.0.0 No repository field.
    npm WARN meteor-dev-bundle@0.0.0 No license field.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 137
    npm ERR! meteor-dev-bundle@0.0.0 install: `node npm-rebuild.js`
    npm ERR! Exit status 137
    npm ERR! 
    npm ERR! Failed at the meteor-dev-bundle@0.0.0 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

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

Здесь вы можете увидеть мою конфигурацию mup.js. Я надеюсь, что я настроил это правильно

  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.address@domain.com',
    //     // 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: {}
    }
}
};

Кто-нибудь знает, как исправить эту проблему?

1 ответ

Вы можете попробовать обходной путь, который помог мне в вашей ситуации. Я описал это здесь.

Другие вопросы по тегам