# The installation stopped in the middle

**URL:** <https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311>\
**Category:** Self-hosting\
**Created:** [2014年六月7日 00:55 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311 "2014-06-07T00:55:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devanil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/devanil/32/37608_2.png) [@Devanil](https://meta.discourse.org/u/Devanil)\
**Post date:** [2014年六月7日 00:55 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/1 "2014-06-07T00:55:39Z")

</div>

I’m following [this tutorial installation](https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md). But the installation stopped it:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/0/5003c18b0120e4a2ea3521390def9588655c98e6.png) 

What to do?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年六月7日 02:09 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/2 "2014-06-07T02:09:24Z")

</div>

Are you installing on Digital Ocean? With at least the recommended 1 GB Ram?

---

<div class="post-metadata">

**Author:** ![Mark\_Protas](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@Mark\_Protas](https://meta.discourse.org/u/Mark_Protas)\
**Post date:** [2014年六月7日 02:44 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/3 "2014-06-07T02:44:34Z")

</div>

I had the same experience with both a 1 GB and a 2 GB instance. From what I can tell, the culprit is docker 0.12.0. I installed 0.11.1 via apt-get and everything seems fine. With docker 0.12.0, both docker pull and the bootstrap process hang.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年六月7日 02:53 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/4 "2014-06-07T02:53:05Z")

</div>

Hmm @sam this is a concern I will test this later tonight

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2014年六月7日 05:23 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/5 "2014-06-07T05:23:34Z")

</div>

I have a local repro, I will try to fix this ASAP, keep in mind its a long weekend here … I am time poor.

Update:

Got a repro, opened and issue with Docker

[https://github.com/dotcloud/docker/issues/6245](https://github.com/dotcloud/docker/issues/6245)

The workaround is to run as `--priveleged` however this was not required in the past and is best avoided. Waiting on Docker here.

---

<div class="post-metadata">

**Author:** ![Devanil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/devanil/32/37608_2.png) [@Devanil](https://meta.discourse.org/u/Devanil)\
**Post date:** [2014年六月7日 12:44 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/6 "2014-06-07T12:44:49Z")

</div>

How do I use `--privileged` to test here?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2014年六月7日 13:37 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/7 "2014-06-07T13:37:08Z")

</div>

you would have to edit launcher, its a headache.

---

<div class="post-metadata">

**Author:** ![ziggymo](https://avatars.discourse-cdn.com/v4/letter/z/c2a13f/32.png) [@ziggymo](https://meta.discourse.org/u/ziggymo)\
**Post date:** [2014年六月7日 15:57 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/8 "2014-06-07T15:57:34Z")

</div>

@Mark_Protas Can you elaborate how you installed via apt-get?

---

<div class="post-metadata">

**Author:** ![Mark\_Protas](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@Mark\_Protas](https://meta.discourse.org/u/Mark_Protas)\
**Post date:** [2014年六月7日 17:57 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/9 "2014-06-07T17:57:45Z")

</div>

I manually added the repo to /etc/apt/sources.list.d, e.g.:

```
echo "deb https://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list

```

followed by an `apt-get update` and an `apt-get install lxc-docker-0.11.1`.

You could accomplish the same thing by installing docker via the script as described in the discourse installation instructions and following that up with an `apt-get install lxc-docker-0.11.1`.

---

<div class="post-metadata">

**Author:** ![Devanil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/devanil/32/37608_2.png) [@Devanil](https://meta.discourse.org/u/Devanil)\
**Post date:** [2014年六月7日 21:28 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/10 "2014-06-07T21:28:16Z")

</div>

This works.

But now I can not configure the email. I’ve tried everything, but did not get confirmation emails. Do not know if this could be related.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年六月8日 05:41 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/11 "2014-06-08T05:41:04Z")

</div>

OK, this should be fixed now, Docker confirmed that they pulled in a fix. Not sure what it means in terms of Docker versioning though..

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2014年六月8日 05:54 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/12 "2014-06-08T05:54:44Z")

</div>

Note, the build should land on test tomorrow, expecting a new version of Docker later this week.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年六月8日 06:31 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/13 "2014-06-08T06:31:39Z")

</div>

> [@Mark\_Protas](#):
>
> You could accomplish the same thing by installing docker via the script as described in the discourse installation instructions and following that up with an apt-get install lxc-docker-0.11.1.

Thanks for this Mark, I [updated the install guide with that workaround](https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md#install-docker), which I confirmed seems to work OK in my testing.

It adds some steps, but hopefully we won’t have to wait long for Docker 0.12.1 to land..

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年六月8日 08:05 UTC](https://meta.discourse.org/t/the-installation-stopped-in-the-middle/16311/14 "2014-06-08T08:05:46Z")

</div>


