# Script Error Enabling Let's Encrypt on new Discourse instance

**URL:** <https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791>\
**Category:** Self-hosting\
**Created:** [December 20, 2018, 8:54pm UTC](https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791 "2018-12-20T20:54:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 20, 2018, 9:35pm UTC](https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791/2 "2018-12-20T21:35:28Z")

</div>

> [@L30110](#):
>
> The setup script fails after a few encouraging messages, apparently because I have SMTP USER NAME and SMTP PASSWORD commented out

That’s right.

> [@L30110](#):
>
> This may happen if you have made unexpected changes

Can you suggest a more clear message here?

You can either edit the file by hand and follow this instructions for enabling let’s encrypt or delete app.yml, run it again, and comment out the smtp stuff after you’ve run disourse-setup. You get five seconds after it’s made the changes to your control-c before it starts to

```
./launcher rebuild app

```

---

_[View the full topic](https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791)._
