Can't bootstrap Discourse due to YAML error

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?