# Can not rebuild - Configure app.yml I got this error

**URL:** <https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216>\
**Category:** Support\
**Created:** [2016年二月26日 08:33 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216 "2016-02-26T08:33:06Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![M\_c\_Tau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/m_c_tau/32/134836_2.png) [@M\_c\_Tau](https://meta.discourse.org/u/M_c_Tau)\
**Post date:** [2016年二月26日 08:33 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/1 "2016-02-26T08:33:06Z")

</div>

(): Did not find expected key while parsing a block mapping at line 15 column 1 -e LANG=en\_US.UTF-8  
YAML syntax error. Please check your /var/discourse/containers/\*.yml config files.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/8/a865664d192ef071094b2285013bc33bb07793bc.png)

I am using TextMate Editor and It seems to work fine on yml file

 ![](https://global.discourse-cdn.com/meta/original/3X/8/2/82595812e65ba689074287810902ab76a1092ae6.png)

Here is the result from [http://www.yamllint.com](http://www.yamllint.com)

 ![](https://global.discourse-cdn.com/meta/original/3X/6/2/62cd5ab0d8df6ece39296c71321de5778cfa3df6.png)

Someone please give some comments ☹

---

<div class="post-metadata">

**Author:** ![M\_c\_Tau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/m_c_tau/32/134836_2.png) [@M\_c\_Tau](https://meta.discourse.org/u/M_c_Tau)\
**Post date:** [2016年二月26日 12:14 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/2 "2016-02-26T12:14:56Z")

</div>

Up! Somebody please helps ☹

---

<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:** [2016年二月26日 12:17 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/3 "2016-02-26T12:17:37Z")

</div>

Looks like the “`db_shared_buffers`” on line **37** needs to be properly indented (it needs to have 2 spaces before).

---

<div class="post-metadata">

**Author:** ![M\_c\_Tau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/m_c_tau/32/134836_2.png) [@M\_c\_Tau](https://meta.discourse.org/u/M_c_Tau)\
**Post date:** [2016年二月26日 12:28 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/4 "2016-02-26T12:28:39Z")

</div>

Contented was removed. The problem was solved 🙂

---

<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:** [2016年二月26日 12:29 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/5 "2016-02-26T12:29:38Z")

</div>

Can you paste the actual text content of the file rather to posting screenshots?

---

<div class="post-metadata">

**Author:** ![M\_c\_Tau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/m_c_tau/32/134836_2.png) [@M\_c\_Tau](https://meta.discourse.org/u/M_c_Tau)\
**Post date:** [2016年二月26日 12:51 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/6 "2016-02-26T12:51:54Z")

</div>

Edit… edited…

---

<div class="post-metadata">

**Author:** ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)\
**Post date:** [2016年二月26日 13:16 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/7 "2016-02-26T13:16:32Z")

</div>

Format it as code by using the \</\> button

---

<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:** [2016年二月26日 14:25 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/8 "2016-02-26T14:25:45Z")

</div>

On line **52** , `UNICORN_WORKERS` requires **2 spaces** (you have only **1** ).

---

<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:** [2016年二月26日 14:52 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/9 "2016-02-26T14:52:45Z")

</div>

Also, you should change your passwords now that you’ve made them public ⚠

---

<div class="post-metadata">

**Author:** ![f0rkz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/f0rkz/32/105561_2.png) [@f0rkz](https://meta.discourse.org/u/f0rkz)\
**Post date:** [2016年二月26日 17:15 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/10 "2016-02-26T17:15:00Z")

</div>

For reals.

Sanitize your data before sending it @M_c_Tau . Attaching it to the post was the wrong move. Just do what @Tom_Newsom said and paste it as a code block (and sanitize your user creds)… I would suggest changing your passwords as well as deleting your attachment post. Your password is clear as day!

---

<div class="post-metadata">

**Author:** ![M\_c\_Tau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/m_c_tau/32/134836_2.png) [@M\_c\_Tau](https://meta.discourse.org/u/M_c_Tau)\
**Post date:** [2016年二月26日 17:20 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/11 "2016-02-26T17:20:29Z")

</div>

That’s a random password. However, I removed it already.  
Thank you for your advise.

@zogstrip it works like charm! Many thanks

---

<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:** [2016年二月26日 17:21 UTC](https://meta.discourse.org/t/can-not-rebuild-configure-app-yml-i-got-this-error/40216/12 "2016-02-26T17:21:38Z")

</div>


