arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

Error mupx setup #708

Open isibz opened 8 years ago

isibz commented 8 years ago

Hi,

When I execute mupx setup in windows to setup a VPS Ubuntu 14.04 Desktop (64 bit) I get this error:

Started TaskList: Setup (linux) [46.105.20.25] - Installing Docker [46.105.20.25] - Installing Docker: SUCCESS [46.105.20.25] - Setting up Environment [46.105.20.25] - Setting up Environment: SUCCESS [46.105.20.25] - Copying MongoDB configuration [46.105.20.25] - Copying MongoDB configuration: SUCCESS [46.105.20.25] - Installing MongoDB [46.105.20.25] x Installing MongoDB: FAILED

    -----------------------------------STDERR-------------------------------

    Error response from daemon: no such id: mongodb
    Error: failed to remove containers: [mongodb]
    Error response from daemon: Cannot start container aea9cf2520728ec2c52c4

e6fc2f395b364e89112773c62778e79df8877e29a36: operation not supported

-----------------------------------STDOUT-------------------------------

    plete
    c43884a3c774: Verifying Checksum
    c43884a3c774: Download complete
    44ae943f170a: Verifying Checksum
    44ae943f170a: Download complete
    eb4ffde66e1e: Verifying Checksum
    eb4ffde66e1e: Download complete
    1e20f9afa674: Verifying Checksum
    1e20f9afa674: Download complete
    711a5d59ecf5: Verifying Checksum
    711a5d59ecf5: Download complete
    1e20f9afa674: Pull complete
    3ce45fcbdfa8: Pull complete
    44ae943f170a: Pull complete
    eb4ffde66e1e: Pull complete
    db6b9bfcc218: Pull complete
    40e1ba7c3bb5: Pull complete
    68d8ab161b83: Pull complete
    4f69e92307b3: Pull complete
    dbef49e93b9d: Pull complete
    b1ae3e437bf0: Pull complete
    711a5d59ecf5: Pull complete
    664e23ecb316: Pull complete
    2de189aa7810: Pull complete
    c43884a3c774: Pull complete
    a447e9d02e75: Pull complete
    26abe62ffb50: Pull complete
    910678a338ed: Pull complete
    Digest: sha256:703623552c5477d9eb7427ca4e4db65609618f8fc17841b814c547df6

b113502 Status: Downloaded newer image for mongo:latest aea9cf2520728ec2c52c4e6fc2f395b364e89112773c62778e79df8877e29a36

    This is my mup.json
    {
      // Server authentication info
      "servers": [
        {
          "host": "xx.xx.xx.xx",
          "username": "root",
          "password": "XXXXX",            
          "env": {}
        }
      ],
      // Install MongoDB on the server. Does not destroy the local MongoDB on future setups
      "setupMongo": true,
      // Application name (no spaces).
      "appName": "meteor",
      // Location of app (local directory). This can reference '~' as the users home directory.
      // i.e., "app": "~/Meteor/my-app",
      // This is the same as the line below.
      "app": ".",

      // Configure environment
      // ROOT_URL must be set to your correct domain (https or http)
      "env": {
        "PORT": 80,
        "ROOT_URL": "http://xx.xx.xx.xx"
      },

      // Meteor Up checks if the app comes online just after the deployment.
      // Before mup checks that, it will wait for the number of seconds configured below.
      "deployCheckWaitTime": 60,

      // show a progress bar while uploading. 
      // Make it false when you deploy using a CI box.
      "enableUploadProgressBar": true
    }
nekkon commented 8 years ago

Exactly the same problem. Don't know why this has such a slow support..

brylie commented 8 years ago

I have a similar problem, with the following error printed in console:

Started TaskList: Setup (linux)
[register.pacificyearlymeeting.org] - Installing Docker
[register.pacificyearlymeeting.org] - Installing Docker: SUCCESS
[register.pacificyearlymeeting.org] - Setting up Environment
[register.pacificyearlymeeting.org] - Setting up Environment: SUCCESS
[register.pacificyearlymeeting.org] - Copying MongoDB configuration
[register.pacificyearlymeeting.org] - Copying MongoDB configuration: SUCCESS
[register.pacificyearlymeeting.org] - Installing MongoDB
[register.pacificyearlymeeting.org] x Installing MongoDB: FAILED

    -----------------------------------STDERR-----------------------------------
    Cannot connect to the Docker daemon. Is the docker daemon running on this host?
    -----------------------------------STDOUT-----------------------------------
    Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/
    ----------------------------------------------------------------------------
MasterJames commented 8 years ago

The second problem is a docker problem with some custom registry server failing I think.

The first problem says it can't find mongodb image to remove it. You should try connecting to the target with docker manually or SSH into the target machine and then see what's up with docker there. Using docker exec bash is a handy way to connect into the different containers. Fresh instances and trying the new kadirahq port are also options to consider.

brylie commented 8 years ago

OK, thanks. I have read the kadirahq meteor-up README. Is arunoda meteor-up being deprecated?

MasterJames commented 8 years ago

Eventually. Not officially today but I'm wondering what percentage of people with problems here find it works? There is less help from official devs here and no PRs have been merged for a long time.

brylie commented 8 years ago

OK, thanks for your advice @MasterJames.