Failed to bootstrap web_only - no cid file but totally fresh build

(Jonathan Norris) #1


I am doing a first build of discourse, using the data.yml and web_only.yml configs. I have no running containers and have never had a web_only container running. data.yml bootstraps successfully. But web_only.yml gives me:

root@debian:/var/discourse# ./launcher bootstrap web_only
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: Error response from daemon: could not get container for data: No such container: data.
See '/usr/bin/docker run --help'.
cat: cids/web_only_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...] [flags]

Remove one or more containers
rm: cannot remove 'cids/web_only_bootstrap.cid': No such file or directory
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Is it expecting the cid file there from a previously running web_only container?

Any help appreciated.

(Jay Pfaffman) #2

You need to build the data container first.

(Jonathan Norris) #3

cheers, I already had the container built but not actually started. Once I started the container I could build the web_only container.