Can't bootstrap Discourse due to YAML error

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

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

Ok thanks, that tells me that this line is not corect :

db_default_text_search_config: “pg_catalog.english”

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?

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?

Yes 2 spaces not a tab, is there a way to restore the app.yml ?

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).

When i paste the code here lines with ## are changed in bold…

Put three ` (backticks) above the first line and three after the last line

1 Like

Ok i found the problem. It was some bad tabulation…Thanks for your help :wink:

4 Likes