# ./launcher rebuild app 在 LANG 行出现语法错误

**URL:** https://meta.discourse.org/t/launcher-rebuild-app-syntax-error-on-lang-line/113251
**Category:** Self-hosting
**Created:** [2019年四月2日 17:32 UTC](https://meta.discourse.org/t/launcher-rebuild-app-syntax-error-on-lang-line/113251 "2019-04-02T17:32:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [2019年四月2日 17:32 UTC](https://meta.discourse.org/t/launcher-rebuild-app-syntax-error-on-lang-line/113251/1 "2019-04-02T17:32:25Z")

</div>

Did not find expected key while parsing a block mapping at line 40 column 3 -e LANG=en\_US.UTF-8  
YAML syntax error. Please check your …

app.yml line 39

env:  
LANG: en\_US.UTF-8  
# DISCOURSE\_DEFAULT\_LOCALE: en

So I messed up my smtp by putting smpt. I ran ./discourse-setup a second time and fixed it. it made a app.yml.bak. the new app.yml is fixed but when I run ./discourse-doctor It still has the typo for the smtp url.  
I’m not sure how to fix the syntax error so the container will rebuild.  
Thanks for your help.

---

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [2019年四月2日 17:53 UTC](https://meta.discourse.org/t/launcher-rebuild-app-syntax-error-on-lang-line/113251/2 "2019-04-02T17:53:08Z")

</div>

Fixed Do to the trouble shooting I added ’ ’ around my email address. this put double ’ ’ email ’ ’ remove extra quotes and it works.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年四月2日 21:21 UTC](https://meta.discourse.org/t/launcher-rebuild-app-syntax-error-on-lang-line/113251/3 "2019-04-02T21:21:18Z")

</div>


