호라이즌: 고맥락 주제 카드

관리자로서 이 옵션을 강제할 수도 있나요? 태그는 포럼 경험의 일부이며, 태그가 없으면 일부 사용자는 주제에 대한 추가 맥락을 놓칠 수 있습니다. 이제 Horizon 테마가 주제 세부 정보가 풍부해져서 정말 마음에 듭니다 :tada:

Enable with bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’로 활성화할 수 있는 “Excerpts(요약)” 부분은 제게는 작동하지 않는 것 같습니다.

/var/www/discourse# bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’                                                      
fatal: detected dubious ownership in repository at '/var/www/discourse'                                                                                                   
To add an exception for this directory, call:                                                                                                                             
                                                                                                                                                                          
        git config --global --add safe.directory /var/www/discourse                                                                                                       
/var/www/discourse/config/initializers/000-pg_connection_patch.rb:21:in `rescue in new_client': We could not find your database: discourse. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
                                                                                                                                                                          
To resolve this error:                                                                                                                                                    
                                                                                                                                                                          
- Did you not create the database, or did you delete it? To create the database, run:                                                                                                                                                                                                                                                               
                                                                                                                                                                          
    bin/rails db:create                                                                                                                                                   
                                                                                                                                                                          
- Has the database name changed? Verify that config/database.yml contains the correct database name.                                             

너무 깊이 파고들고 싶지는 않습니다. 그냥 이대로 두는 것이 좋을 것 같습니다. 하지만 제 설정이 깨져 있거나 Discourse에서 수정할 수 있는 부분이 있는지 모르겠으므로, 이 에러 메시지를 여기에 남겨두겠습니다.

2개의 좋아요