Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Failed to fetch docker, HttpError 404 #8

Open
Arnei opened this issue Jul 20, 2017 · 6 comments
Open

Failed to fetch docker, HttpError 404 #8

Arnei opened this issue Jul 20, 2017 · 6 comments

Comments

@Arnei
Copy link

Arnei commented Jul 20, 2017

Greetings Autolab Users,

we recently tried to do a local install of Autolab, but are stuck at the following error:

W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/vivid/edge/binary-amd64/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
Fetched 21.4 MB in 5s (4146 kB/s)
ERROR: Service 'tango' failed to build: The command '/bin/sh -c curl -sSL https://get.docker.com/ | sh' returned a non-zero code: 100
./install.sh: Zeile 98: ./install.sh: Datei oder Verzeichnis nicht gefunden

It appears the script tries to install docker from a dead link. It did not even choose the right dist, as we are on Ubuntu 16.04.2, so it should be xenial instead of vivid (or at least I think so, my ubuntu dist knowledge is minimal). What's more is that we already have docker installed, so there really should be need for another installation. Does someone have an idea on how the one-click installation script could be changed to prevent this error?

@devanshk
Copy link
Contributor

Looking into this..

@devanshk
Copy link
Contributor

Made a hotfix on branch hotfix_docker. See if that works for you.

@Arnei
Copy link
Author

Arnei commented Jul 24, 2017

That gives me this error:

[5/6] Init docker images and containers...
ERROR: no such image: mysql: failed to get digest sha256:ec161391b8c32a70b45c4eb505fb94b674a41e7de920a20d37887252e7385d61: open /var/lib/docker/image/aufs/imagedb/content/sha256/ec161391b8c32a70b45c4eb505fb94b674a41e7de920a20d37887252e7385d61: no such file or directory
./install.sh: line 98: ./install.sh: No such file or directory

When I try to rerun the install.sh, it hangs on this...:

[2/6] Downloading source file...
fatal: destinationpath 'Tango' already exists and is not an empty directory.

...Forcing me to run the uninstall.sh everytime I want to retry the installation. Maybe this is intended, I just wanted to make sure to mention it.

@devanshk
Copy link
Contributor

Looks like a bug with the uninstall script not performing a full reset - the script runs to completion on a fresh install of Ubuntu 16.04.2.

Are you running this on a VM or existing system?

@Arnei
Copy link
Author

Arnei commented Jul 25, 2017

An existing system.

@devanshk
Copy link
Contributor

Alright, I've been able to replicate it. Main issue is that uninstall.sh throws
rm: cannot remove '/var/lib/docker/aufs': Device or resource busy which contains the containers that errored out. The install script expects autolab-related images and containers to be cleared from /var/lib/docker before it runs. Still working on a fix to this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants