# Containers/\*.yml LC\_ALL: en\_US.UTF-8

**URL:** https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975
**Category:** Self-hosting
**Created:** [January 25, 2022, 7:20pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975 "2022-01-25T19:20:05Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [January 25, 2022, 7:20pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/1 "2022-01-25T19:20:05Z")

</div>

Hello!

Ive got an issue when reinstalling Discourse.  
Here’s the error:

```plaintext
 (<unknown>): control characters are not allowed at line 1 column 1 -e LANG=en_US.UTF-8
YAML syntax error. Please check your containers/*.yml config files.

```

i used [yamllint](http://www.yamllint.com/) too check the config. here’s the result.

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

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [January 25, 2022, 7:38pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/2 "2022-01-25T19:38:38Z")

</div>

> [@jo-andre](#):
>
> ```plaintext
> (<unknown>): control characters are not allowed at line 1 column 1 -e LANG=en_US.UTF-8
> YAML syntax error. Please check your containers/*.yml config files.
> 
> ```

What is on line 1 ?

If it is an empty line, remove that line and try again

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [January 25, 2022, 7:43pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/3 "2022-01-25T19:43:35Z")

</div>

> [@IAmGav](#):
>
> What is on line 1 ?

It was nothing!.. And by that i mean whitespace… Of course i read this now.  
_ **YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT!** _

not used to whitespace being a problem in coding. Thank you very much! and sorry for bothering you ❤

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [January 25, 2022, 7:45pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/4 "2022-01-25T19:45:13Z")

</div>

> [@jo-andre](#):
>
> sorry for bothering you

it is no bother at all.

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [January 25, 2022, 7:45pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/5 "2022-01-25T19:45:45Z")

</div>

Oh but now probably. That was not the case after all.. 😅

there was a whitespace on line 1.. but i removed it. Saved and ./launcher rebuild app. but i still getting the same error.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [January 25, 2022, 7:48pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/6 "2022-01-25T19:48:02Z")

</div>

PM me the conf file without the passwords

I’ll check it and send it back

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [January 25, 2022, 7:54pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/7 "2022-01-25T19:54:47Z")

</div>

i just PM you, but i can’t see our dialog anywhere. did it go through?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [January 25, 2022, 8:00pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/8 "2022-01-25T20:00:18Z")

</div>

did you get my reply ?

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [January 25, 2022, 8:01pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/9 "2022-01-25T20:01:20Z")

</div>

Yes i did. did you correct any mistakes?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [January 25, 2022, 8:02pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/10 "2022-01-25T20:02:02Z")

</div>

yes i did.

put the password back in and rebuild app

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [January 25, 2022, 8:07pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/11 "2022-01-25T20:07:27Z")

</div>

alright. got a new error  
`did not find expected key while parsing a block mapping at line 34 column 3 -e LANG=en_US.UTF-8`

---

<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: [January 25, 2022, 8:39pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/12 "2022-01-25T20:39:37Z")

</div>

The easiest thing is probably to delete your `app.yml` and run `discourse-setup` again. It could literally be a single extra or missing space most anywhere. Or tab instead of some spaces. Maybe you can figure it out with `yamlint`, or maybe you’ll always mess something up when you copy to or from it.

If what you did to break it was add plugins, see that next time you copy/paste the existing `git clone` line and edit it. That way you can’t mess up the spacing.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [January 25, 2022, 8:51pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/13 "2022-01-25T20:51:04Z")

</div>

i found the problem

the smtp password should not contain the character **"**

i removed the password and it build.

advised to reset the password and rebuild app again

---

<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: [January 25, 2022, 9:34pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/14 "2022-01-25T21:34:33Z")

</div>

> [@IAmGav](#):
>
> the smtp password should not contain the character `"`

Oh! Good one. Yeah, I think you might have been able to backslash it, but my solution would have been zero help.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 24, 2022, 9:34pm UTC](https://meta.discourse.org/t/containers-yml-lc-all-en-us-utf-8/215975/15 "2022-02-24T21:34:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
