./launcher start app hangs

Hi all,

this morning I switched form Mandrill to Mailgun. I followed the instructions in the blog post including Step 5. Spring Cleaning. All went fine and dandy until I tried to start the app with

./launcher start app

Problem: nothing happens. The shell hangs and my site is unreachable. If I Ctrl + c and run docker ps I see a discourse/discourse:1.0.17 image running, see below.

CONTAINER ID        IMAGE                        COMMAND                CREATED             STATUS              PORTS               NAMES
a3fce921de40        discourse/discourse:1.0.17   "/bin/sh -c 'md5sum    5 minutes ago       Up 5 minutes                            sick_goodall

Could the empty PORTS value be the problem? If so, how do I set it (I’m a Docker beginner)?

docker info output:

Containers: 10
Images: 17
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 37
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-52-generic
Operating System: Ubuntu 14.04.4 LTS
CPUs: 1
Total Memory: 994 MiB
ID: NAWC:SEKQ:IXUL:T7WC:IT5B:2FDJ:PPC6:LOGJ:W7GF:B43M:JC2K:2FZE
WARNING: No swap limit support

Output of docker version:

Client version: 1.7.0
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 0baf609
OS/Arch (client): linux/amd64
Server version: 1.7.0
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 0baf609
OS/Arch (server): linux/amd64

Any help is greatly appreciated as my site is currently down… :sadpanda:

command being "/bin/sh -c 'md5sum is a big concern … @mpalmer this really smells like it is this commit I am rolling it back for now:

https://github.com/discourse/discourse_docker/commit/21729b1bf284e487137c5c39957558834fc7bf9e

That change is reverted can you try rebuilding again?

2 Likes

Yes, that did it!

Thanks a million for the quick reply!

3 Likes

Just a followup to this, I’ve put together another PR that should fix this issue whilst still generating predicable MAC addresses.

2 Likes