A user named docforyou reported a YAML parsing error while trying to bootstrap Discourse, specifically citing an issue at line 32 with the key db_default_text_search_config. Another user, cpradio, suggested using an online linter to identify the syntax error and asked for context around the problematic line. After docforyou shared a screenshot, cpradio inquired if the indentation was correct (two spaces versus a tab). When the user asked about restoring the configuration, cpradio requested the full file with sensitive data removed. Upon realizing that markdown formatting was altering the code, cpradio advised using code blocks with triple backticks. Ultimately, docforyou resolved the issue by identifying incorrect tabulation in the file.
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.
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).