docforyou
(docforyou)
December 1, 2015, 12:54pm
1
Hello, first post here.
I’m trying to bootstrap discourse but i have this error :
(<unknown>): did not find expected key while parsing a block mapping at line 32 column 3 -e LANG=en_US.UTF-8 YAML syntax error. Please check your /var/discourse/containers/*.yml config files.
What should i do ?
Thanks
cpradio
(cpradio)
December 1, 2015, 12:59pm
2
Feed your app.yml configuration through http://www.yamllint.com/ to figure out where you messed up.
You didn’t format your app.yml correctly (or one of the other files) and therefore it is blowing up.
1 Like
docforyou
(docforyou)
December 1, 2015, 1:10pm
3
Ok thanks, that tells me that this line is not corect :
db_default_text_search_config: “pg_catalog.english”
cpradio
(cpradio)
December 1, 2015, 1:16pm
4
without seeing it in context, I can’t tell you why it is wrong, can you post the 5 lines above it and the 5 lines below it?
cpradio
(cpradio)
December 1, 2015, 1:29pm
6
Are you sure that is the line? Can you confirm it has two spaces before db_default_text_search_config and isn’t a tab character?
docforyou
(docforyou)
December 1, 2015, 1:37pm
7
Yes 2 spaces not a tab, is there a way to restore the app.yml ?
cpradio
(cpradio)
December 1, 2015, 1:40pm
8
Can you remove all sensitive information from it and post it here? Sensitive info being: your email settings, and anything else you don’t want shared (domain name, email addresses, etc).
docforyou
(docforyou)
December 1, 2015, 1:45pm
9
When i paste the code here lines with ## are changed in bold…
cpradio
(cpradio)
December 1, 2015, 1:55pm
10
Put three ` (backticks) above the first line and three after the last line
1 Like
docforyou
(docforyou)
December 1, 2015, 2:10pm
11
Ok i found the problem. It was some bad tabulation…Thanks for your help
4 Likes