docforyou
(docforyou)
1. Dezember 2015 um 12:54
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)
1. Dezember 2015 um 12:59
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 „Gefällt mir“
docforyou
(docforyou)
1. Dezember 2015 um 13:10
3
Ok thanks, that tells me that this line is not corect :
db_default_text_search_config: “pg_catalog.english”
cpradio
(cpradio)
1. Dezember 2015 um 13:16
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)
1. Dezember 2015 um 13:29
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)
1. Dezember 2015 um 13:37
7
Yes 2 spaces not a tab, is there a way to restore the app.yml ?
cpradio
(cpradio)
1. Dezember 2015 um 13:40
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)
1. Dezember 2015 um 13:45
9
When i paste the code here lines with ## are changed in bold…
cpradio
(cpradio)
1. Dezember 2015 um 13:55
10
Put three ` (backticks) above the first line and three after the last line
1 „Gefällt mir“
docforyou
(docforyou)
1. Dezember 2015 um 14:10
11
Ok i found the problem. It was some bad tabulation…Thanks for your help
4 „Gefällt mir“