deploy an application on a droplet

Posted October 15, 2020 501 views
DigitalOceanDeploymentUbuntu 20.04

I am trying to deploy an application on my dropLet.
mup set returns each operation with ‘SUCCESS’
mup deploy also returns each operation with 'SUCCESS’
until meteor starts up where I have the following error:

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

          Error: No such image: mup-test:latest
    Error: No such image: mup-test:latest
    Error: No such image: mup-test:previous
    Error: No such image: mup-test:previous
    Error: No such image: mup-test:latest
    Removing docker containers. Errors about nonexistent endpoints and containers are normal.
    Error response from daemon: endpoint test not found
    Error: No such container: test-frontend
    Error response from daemon: endpoint test-frontend not found
    Error: No such container: test-nginx-letsencrypt
    Error response from daemon: endpoint test-nginx-letsencrypt not found
    Error: No such container: test-nginx-proxy
    Error response from daemon: endpoint test-nginx-proxy not found
    Finished removing docker containers
    docker: Error response from daemon: driver failed programming external connectivity on endpoint test (75f5f4a0ced362f68d8427644584a1d2cfd9bac44de97d12245d97ef8bbb8ae3): Error starting userland proxy: listen tcp bind: address already in use.

          Removing images
    REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    mup-test            build               ff48b079d0d0        15 hours ago        721MB
    abernix/meteord     node-12-base        5a12601e3f09        7 months ago        587MB
    mongo               3.4.1               0dffc7177b06        3 years ago         402MB
    kadirahq/meteord    latest              807754a01782        4 years ago         331MB
    using bundle
    Image kadirahq/meteord
    Volume --volume=/opt/test/current:/bundle
    Using default tag: latest
    latest: Pulling from kadirahq/meteord
    Digest: sha256:7ec54d5fafc11acbcc82f3e555fddce8e4742ddeda05a64997f2a10e3c04137e
    Status: Image is up to date for kadirahq/meteord:latest
    Pulled kadirahq/meteord


Can someone help me and point me to a search for this error?

Thank you for your help

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Docker allows us to define a set of instructions that create what are called layers. If you want to imagine what a layer looks like, imagine your filesystem frozen at a moment in time. Each new layer is a modification or addition to that filesystem, that’s then frozen again.

These compositions of layers on top of each other form what’s known as an image, which is essentially a filesystem in a box, ready to go.

This image can be used to create containers, which are living versions of that filesystem, ready to run a task that we define for it.

Another useful aspect of this is that we can use pre-made images as the first layer in our own images, giving us a jumpstart by avoiding boilerplate configurations.

  • OK and thanks for your explanation and for explaining to me what an image is here.
    But why did this mup built image, I think, disappeared and why this causes an error and prevents the deployment from going to the end.

I have advanced in my research.

Docker needs an image to build the Meteor application. The image proposed in mup.js (abernix/meteord:node-12-base) is designed for meteor 1.10 and my application is developed with meteor 1.11

Now the question is: Where to find this image and how to add it in my dropLet configuration.
If anyone has the solution it would be great

Thank you