# Problems with INSTALL-cloud.md directions

**URL:** https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314
**Category:** Self-hosting
**Created:** [April 27, 2016, 12:28pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314 "2016-04-27T12:28:27Z")
**Posts on this page:** 11
**Page:** 3

<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: [March 23, 2017, 12:13am UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/45 "2017-03-23T00:13:59Z")

</div>

> [@bradydowling](#):
>
> this exact error

Sorry what? There are a number of “errors” reported in this topic so can you please elaborate with the actual text?

---

<div class="post-metadata">

### Author: ![bradydowling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bradydowling/32/121138_2.png) [@bradydowling](https://meta.discourse.org/u/bradydowling)
#### Post date: [March 23, 2017, 4:31pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/46 "2017-03-23T16:31:42Z")

</div>

> [@codinghorror](#):
>
> There are a number of “errors” reported in this topic so can you please elaborate with the actual text

Yes I was referring to the originally reported error:

```plaintext
Press ENTER to continue, 'n' to try again, or ^C to exit:
LETSENCRYPT_ACCOUNT_EMAIL change failed.
web.ssl.template.yml enabled
letsencrypt.ssl.template.yml enabled

Unfortunately, there was an error changing containers/app.yml

```

This was an issue for me with EC2 when I had micro and small instances. Once I used a medium sized instance (4GB of RAM), the installer ran fine.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 23, 2017, 4:45pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/47 "2017-03-23T16:45:07Z")

</div>

Wait. You’re saying that you got that error about not enabling Let’s Encrypt with 4GB and not with 2GB? I cannot imagine how that could possibly be true. The only thing that I can think of would be that there was an error with `discourse-setup` when you tried in the 2GB container that got updated when you tried again in the 4GB host, but I don’t remember that I had committed broken code, so that explanation doesn’t quite make sense either.

Aha. It looks like the current version of `discourse-setup` prints `Let's Encrypt will be enabled for $letsencrypt_account_email` before it attempts to change the file. My best guess is that your 2GB attempt failed because of old code and the new one worked with the new code.

---

<div class="post-metadata">

### Author: ![bradydowling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bradydowling/32/121138_2.png) [@bradydowling](https://meta.discourse.org/u/bradydowling)
#### Post date: [March 23, 2017, 4:49pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/48 "2017-03-23T16:49:14Z")

</div>

> [@pfaffman](#):
>
> Wait. You’re saying that you got that error about not enabling Let’s Encrypt with 4GB and not with 2GB?

No, I said the opposite.

> [@bradydowling](#):
>
> Once I used a medium sized instance (4GB of RAM), the installer ran fine.

As for why this worked and the 2GB didn’t, I can’t say for sure but I know that I was pulling the latest version of Discourse on each attempt. These attempts were a few minutes apart so I’d be pretty darn surprised if there were a change in those few minutes that made the difference but perhaps you’d know more than me about that.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 23, 2017, 4:54pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/49 "2017-03-23T16:54:02Z")

</div>

The code that does the replacement for the Let’s Encrypt address should be impervious to RAM requirements. I just did a quick test on my machine with 32GB of RAM and it worked fine.

And both instances were running the same OS?

I’ve got no explanation.

---

<div class="post-metadata">

### Author: ![bradydowling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bradydowling/32/121138_2.png) [@bradydowling](https://meta.discourse.org/u/bradydowling)
#### Post date: [March 23, 2017, 5:14pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/50 "2017-03-23T17:14:20Z")

</div>

> [@pfaffman](#):
>
> I just did a quick test on my machine with 32GB of RAM and it worked fine.

Sorry, I think I’m not being very clear. From my experience, I’d expect it to work with 32GB of RAM but not with 2GB of RAM. Did you try it with 2GB of RAM?

My installs were all done with Ubuntu 16.04 LTS on EC2.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 23, 2017, 5:43pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/51 "2017-03-23T17:43:34Z")

</div>

OK. I just did a quick test of a 1GB DO droplet. I let `discourse-setup` create a 2GB swap file.

```plaintext
Does this look right?

Hostname : test.ltcmp.net
Email : pfaffman@gmail.com
SMTP address : sdf.com
SMTP port : 587
SMTP username : ef
SMTP password : pas
Let's Encrypt : pfaffman@gmail.com

ENTER to continue, 'n' to try again, Ctrl+C to exit: 
Let's Encrypt will be enabled for pfaffman@gmail.com
web.ssl.template.yml enabled
letsencrypt.ssl.template.yml enabled

Configuration file at containers/app.yml updated successfully!

```

Mine has that “Let’s Encrypt will be enabled for [pfaffman@gmail.com](mailto:pfaffman@gmail.com)” before it attempts the change. I can’t explain why yours didn’t if you did a

```
git clone https://github.com/discourse/discourse_docker.git /var/discourse

```

recently.

---

<div class="post-metadata">

### Author: ![bradydowling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bradydowling/32/121138_2.png) [@bradydowling](https://meta.discourse.org/u/bradydowling)
#### Post date: [March 23, 2017, 5:45pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/52 "2017-03-23T17:45:41Z")

</div>

Strange, I also let mine create a swap file. Could be something with EC2 that causes issues, not sure what else it would be.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 23, 2017, 5:50pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/53 "2017-03-23T17:50:06Z")

</div>

Did you get a message like this when you tried to enable let’s encrypt:

```plaintext
Checking your domain name . . .
test.ltcmp.net resolves to 162.243.30.29. Looks good!

```

If not, you somehow got an older version of `discourse-setup`.

---

<div class="post-metadata">

### Author: ![bradydowling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bradydowling/32/121138_2.png) [@bradydowling](https://meta.discourse.org/u/bradydowling)
#### Post date: [March 23, 2017, 5:51pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/54 "2017-03-23T17:51:32Z")

</div>

Yes, I did get this. I actually don’t remember explicitly enabling let’s encrypt so I’m guessing it does it automatically or I did it without noticing.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:44pm UTC](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314/55 "2024-06-08T12:44:49Z")

</div>

This topic was automatically closed after 2964 days. New replies are no longer allowed.

[Previous page](https://meta.discourse.org/t/problems-with-install-cloud-md-directions/43314.md?page=2)
