arunoda / meteor-up-legacy

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

Installing Docker: FAILED #888

Open watsonkelvin opened 8 years ago

watsonkelvin commented 8 years ago

I'm having issues when I get to the mupx setup command in the README.

Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

“ Checkout Kadira!
  It's the best way to monitor performance of your app.
  Visit: https://kadira.io/mup ”

Started TaskList: Setup (linux)
[My IP Address] - Installing Docker
[My IP Address] x Installing Docker: FAILED

    -----------------------------------STDERR-----------------------------------
    bash: line 4: docker: command not found
    rm: cannot remove ‘/var/cache/apt/archives/lock’: No such file or directory
    W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-vivid/main/binary-amd64/Packages  Hash Sum mismatch

    E: Some index files failed to download. They have been ignored, or old ones used instead.
    -----------------------------------STDOUT-----------------------------------
    s.archive.ubuntu.com vivid-updates/universe i386 Packages
    Hit http://us.archive.ubuntu.com vivid-updates/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com vivid-updates/main Translation-en
    Hit http://us.archive.ubuntu.com vivid-updates/multiverse Translation-en
    Hit http://us.archive.ubuntu.com vivid-updates/restricted Translation-en
    Hit http://us.archive.ubuntu.com vivid-updates/universe Translation-en
    Hit http://us.archive.ubuntu.com vivid-backports/main Sources
    Hit http://us.archive.ubuntu.com vivid-backports/universe Sources
    Hit http://us.archive.ubuntu.com vivid-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com vivid-backports/universe amd64 Packages
    Hit http://us.archive.ubuntu.com vivid-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com vivid-backports/universe i386 Packages
    Hit http://us.archive.ubuntu.com vivid-backports/main Translation-en
    Hit http://us.archive.ubuntu.com vivid-backports/universe Translation-en
    Fetched 11.4 kB in 8s (1,395 B/s)
    -----------------------------------------------

I am running on Ubuntu 14.04.4 LTS. I always seem to get this error but I have no idea what is wrong. Can anyone help?

PolGuixe commented 8 years ago

+1

macrozone commented 8 years ago

Same issue all of sudden on a fresh machine (ubuntu server 16.04).

Edit: seems to be related to https://github.com/docker/docker/issues/23203 in my case

MasterJames commented 8 years ago

Official only Ubuntu 14 was supported (before the new version at kaditahq/meteor-up) but 15 was okay so I'd be surprised if Ubuntu 16 doesn't work? Anyway to confirm that would be nice. Can anyone experiencing this problem 'manually' install docker on the target machine via SSH etc. and confirm a simple hello world type container works?

PolGuixe commented 8 years ago

In my case I had problems with the locale. So once that was fixed, then it was fine. :)