# Removing Let's Encrypt from installation choice

**URL:** https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366
**Category:** Self-hosting
**Created:** [14 juli 2018 om 19:25 UTC](https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366 "2018-07-14T19:25:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![KWCT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kwct/32/119772_2.png) [@KWCT](https://meta.discourse.org/u/KWCT)
#### Post date: [14 juli 2018 om 19:25 UTC](https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366/1 "2018-07-14T19:25:20Z")

</div>

Hi there,  
Due to a copy/paste mess up when running **./discourse-setup** on a new installation the last option is:

```
Let's Encrypt : SMTP username

```

I can’t get rid of this even when I re-run the setup. I guess that I’ll have to edit some file or something. Any help greatly appreciated.

Thanks.

---

<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: [14 juli 2018 om 21:05 UTC](https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366/2 "2018-07-14T21:05:23Z")

</div>

I believe that the prompt says that you can enter “n” to turn it off.

Edit: But what it says is “`Enter 'OFF' to disable`”.

---

<div class="post-metadata">

### Author: ![KWCT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kwct/32/119772_2.png) [@KWCT](https://meta.discourse.org/u/KWCT)
#### Post date: [14 juli 2018 om 22:10 UTC](https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366/3 "2018-07-14T22:10:10Z")

</div>

Thanks Jay, there is an “n” option, but that is just to “try again” - that still goes through the same questions without offering the Let’s Encrypt one - it’s always auto-populated for me.

I have just noticed that there is an error though after I’m asked for my SMTP Password this line is shown:

```
./discourse-setup: line 413: [: SMTP: binary operator expected

```

I guess the data that was copy/pasted in earlier has overwritten some important lines. I’m inexperienced with linux, but I’ll see if I can clean that up. I’d ideally like to wipe it all and start again from scratch at this stage.

---

<div class="post-metadata">

### Author: ![KWCT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kwct/32/119772_2.png) [@KWCT](https://meta.discourse.org/u/KWCT)
#### Post date: [14 juli 2018 om 22:15 UTC](https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366/4 "2018-07-14T22:15:44Z")

</div>

Ah, I guess I can just start all over again. I’ve just done this and it has allowed me to put in all new info.

```
rm -r /var/discourse
sudo -s
mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse

```

Hopefully there are no long term affects from doing it this way, but it seems to be reinstalling just fine now. Thanks for your help.

---

<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: [16 juli 2018 om 10:46 UTC](https://meta.discourse.org/t/removing-lets-encrypt-from-installation-choice/92366/5 "2018-07-16T10:46:31Z")

</div>

> [@KWCT](#):
>
> Thanks Jay, there is an “n” option, but that is just to “try again” - that still goes through the same questions without offering the Let’s Encrypt one - it’s always auto-populated for me.

It was the weekend and I was on my phone. This is the prompt I was talking about (it’s “OFF” not “n”):

> [@](#):
>
> Let’s Encrypt account email? (Enter ‘OFF’ to disable.) [sdf@sdf.com]:

Also, this output:

```plaintext
./discourse-setup: line 413: [: SMTP: binary operator expected

```

Hmm. That makes me think that you had an old version. Was this a recent install?

The way that you started over blew away your database, which I hope was ok.

But if anyone else stumbles here, it might be helpful to know that this would delete just the `app.yml` and let you start again with the config file, but not wipe your data.

```bash
cd /var/discourse
rm containers/app.yml
./discourse-setup

```
