MUP Start Meteor: FAILED "Error response from daemon: no such id:"

I’m getting the following error while trying to deploy using MUP (from KadiraHQ)
I’m on Meteor v1.3.2_4

x Start Meteor: FAILED

        -----------------------------------STDERR-----------------------------------
        Error response from daemon: no such id: CGST
        time="2016-04-22T04:52:06-04:00" level=fatal msg="Error: failed to remove one or                                          more containers"
        Error response from daemon: no such id: CGST-frontend
        time="2016-04-22T04:52:06-04:00" level=fatal msg="Error: failed to remove one or                                          more containers"
        flag provided but not defined: --log-opt
        See 'docker run --help'.
        -----------------------------------STDOUT-----------------------------------
        5331: Pulling fs layer
        d9d271efe197: Pulling fs layer
        5db90047e619: Pulling fs layer
        f7abb9c8edce: Pulling fs layer
        f7abb9c8edce: Verifying Checksum
        f7abb9c8edce: Download complete
        38892953ce14: Verifying Checksum
        38892953ce14: Download complete
        2f1b29695331: Verifying Checksum
        2f1b29695331: Download complete
        1e64efe9eb63: Verifying Checksum
        1e64efe9eb63: Download complete
        48843199d162: Verifying Checksum
        48843199d162: Download complete
        5db90047e619: Verifying Checksum
        5db90047e619: Download complete
        7a06eff3d676: Verifying Checksum
        7a06eff3d676: Download complete
        7a06eff3d676: Pull complete
        38892953ce14: Pull complete
        1e64efe9eb63: Pull complete
        48843199d162: Pull complete
        2f1b29695331: Pull complete
        d9d271efe197: Verifying Checksum
        d9d271efe197: Download complete
        d9d271efe197: Pull complete
        5db90047e619: Pull complete
        f7abb9c8edce: Pull complete
        Digest: sha256:684021facd5847f6a4ee2f0095fd26b4d7f5af2b776150531914d43fd0eb889b
        Status: Downloaded newer image for meteorhacks/meteord:base
        ----------------------------------------------------------------------------

@tsega did you find a solution for your problem? I am facing a similar one.

@ziedmahdi I believe the issue was with the default docker image option, I changed into 'abernix/meteord:base' and it worked for me.

Here is my mup.js file:

module.exports = {
  servers: {
    one: {
      host: 'XXXXXXXXX',
      username: 'XXXXXX',
      password: 'XXXXXX'
      // pem:
      // password:
      // or leave blank for authenticate from ssh-agent
    }
  },

  meteor: {
    name: 'My App',
    path: 'path_to_app',
    servers: {
      one: {}
    },
    buildOptions: {
      serverOnly: true,
    },
    env: {
      ROOT_URL: 'XXXXXXXXXX',
      MONGO_URL: 'XXXXXXXXXX'
    },

    dockerImage: 'abernix/meteord:base' // this is the part to change
  },

  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },

  deployCheckWaitTime: 60
};

Correct. It’s an issue related to docker Image meteorhacks/meteord:base.
Stable docker Image: abernix/meteord:base

I m having same problem.

Started TaskList: Start Meteor
[] - Start Meteor
[] x Start Meteor: FAILED

-----------------------------------STDERR-----------------------------------
Error response from daemon: no such id: xahive
time="2017-03-10T04:43:38Z" level=fatal msg="Error: failed to remove one or more containers"
Error response from daemon: no such id: xahive-frontend
time="2017-03-10T04:43:38Z" level=fatal msg="Error: failed to remove one or more containers"
Error response from daemon: no such id: xahive-nginx-letsencrypt
time="2017-03-10T04:43:38Z" level=fatal msg="Error: failed to remove one or more containers"
Error response from daemon: no such id: xahive-nginx-proxy
time="2017-03-10T04:43:38Z" level=fatal msg="Error: failed to remove one or more containers"
flag provided but not defined: --log-opt
See 'docker run --help'.
-----------------------------------STDOUT-----------------------------------
Removed xahive-frontend
Removed xahive-nginx-letsencrypt
Removed xahive-nginx-proxy
base: Pulling from abernix/meteord
0f48656fed63: Already exists
8d6cce8d12a6: Already exists
2ef269bc98bc: Already exists
e580001f6913: Already exists
82b7f29cf12b: Already exists
993b7f451ec3: Already exists
71288a5ec90d: Already exists
ff72bcaefaad: Already exists
25e0c7b795e9: Already exists
ba48e301bea3: Already exists
a965882f6dfc: Already exists
08439cfb9864: Already exists
7cf3805cfa88: Already exists
45183032a108: Already exists
Digest: sha256:733a3647086dce25b09d3479e924674690c44542fcbf7e469ebeeb2901095085
Status: Image is up to date for abernix/meteord:base
Pulled abernix/meteord:base

METEOR@1.4.3.1

and this is my mup.js file

module.exports = {
    servers: {
        one: {
            host: 'xxxx',
            username: 'ubu', //To make it easier for u, use a
            pem: '/id_rsa',
        }
    },

    meteor: {
        name: 'xahive-staging',
        port: 80,
        path: '../../', //path to the meteor app, if the mup file is in the same directory as your meteor project it's current dir (./)
        servers: {
            one: {}
        },
        docker: {
            image: 'abernix/meteord:base' //as your meteor version is +1.4 u should use this one
        },
        buildOptions: {
            serverOnly: true,
        },
        ssl: {
            crt: 'xxx', // this is a bundle of certificates
            key: 'xxxx', // this is the private key of the certificate
            port: 443 // 443 is the default value and it's the standard HTTPS port
        },
        env: {
            ROOT_URL: 'https://xxx/',
            PORT: 80,
        },
        deployCheckWaitTime: 600
    },

    mongo: { // (optional)
        port: 27017,
        version: '3.4.1', // (optional), default is 3.4.1
        servers: {
            one: {},
        },
    },
};

Could you please try changing the name of your application something else or go into you main server and remove all of the old container and images. I have had issues with this before.

sorry guys, my bad it appears that the app was 1.x and then someone runned meteor update and now it’s not even running

You mean pre Meteor 1.4? If that’s the case then the abernix/meteord:base is not guaranteed to work as you also noted. My suggestion is, if the server is simple Digital Ocean droplet or similar, to simply re-create it and start over.

I used mupx and it worked fine. Thank you for your help.

samish issue :

-----------------------------------STDERR-----------------------------------
iner: xxxxxx-nginx-proxy
Error response from daemon: endpoint xxxxxx-nginx-proxy not found
--2017-05-08 16:56:09--  https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10088 (9.9K) [text/plain]
Saving to: ‘/opt/xxxxxx/config/nginx.tmpl’

     0K .........                                             100% 21.3M=0s

2017-05-08 16:56:09 (21.3 MB/s) - ‘/opt/xxxxxx/config/nginx.tmpl’ saved [10088/10088]

docker: Error response from daemon: driver failed programming external connectivity on endpoint xxxxxx-nginx-proxy (d975a99382d7909ca5330eae166fbd6d9f7e2ff1850ade445fd08575ef1a25e8): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use.
-----------------------------------STDOUT-----------------------------------
f5d3de: Verifying Checksum
cc6f85f5d3de: Download complete
57168433389f: Verifying Checksum
57168433389f: Download complete
36a46ebd5019: Verifying Checksum
36a46ebd5019: Download complete
5758a9b8a740: Verifying Checksum
5758a9b8a740: Download complete
3366538f4563: Verifying Checksum
3366538f4563: Download complete
4aff1f989bd4: Verifying Checksum
4aff1f989bd4: Download complete
b0ca4c4cf173: Verifying Checksum
b0ca4c4cf173: Download complete
58b0e2253195: Verifying Checksum
58b0e2253195: Download complete
36a46ebd5019: Pull complete
57168433389f: Pull complete
332ec8285c50: Pull complete
cc6f85f5d3de: Pull complete
5758a9b8a740: Pull complete
4aff1f989bd4: Pull complete
3366538f4563: Pull complete
b0ca4c4cf173: Pull complete
58b0e2253195: Pull complete
Digest: sha256:46d0d37160349d6802bc6a89b5c7d5479b48fedb846584f61461f36c2fb907fb
Status: Downloaded newer image for jwilder/nginx-proxy:latest
Pulled autogenerate images
c19bee6298500149106bae6b4dd44a0d632fc48ee63a7e680719c75dbd27f943
----------------------------------------------------------------------------

I do not understand the error. In the stdout, it says that the elements have been removed.

mup on meteor 1.4

@ziedmahdi mind sharing which exact version of mupx you’re using? It might help @fabienhuet with his error.

Unfortunately, it has been a while, I can not remember which mupx version I used. I got another meteor 1.2.1 project and I used the latest mup (version 1.2.6) and it works fine, you just have to put kadirahq/meteord as docker image

1 Like