제가 관리하는 포럼이 몇 분 전에 업데이트되었고, 이제 채팅이 사용 불가능한 것 같습니다(채팅 UI가 표시되지 않고, 업데이트 이후 새로 고침되지 않은 탭에서 채팅을 사용하려고 하면 오류가 발생합니다).
채팅 API 엔드포인트에 액세스할 때 /var/discourse/shared/standalone/log/rails/production.log에 기록되는 오류의 예를 아래에 공유합니다.
Started POST "/chat/api/direct-message-channels.json" for 0.0.0.0 at 2024-06-08 00:39:26 +0000
Processing by Chat::Api::DirectMessagesController#create as JSON
Parameters: {"target_usernames"=>["Firepup650"], "name"=>""}
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms | Allocations: 4098)
LoadError (cannot load such file -- /var/www/discourse/plugins/chat/lib/service_runner.rb)
app/helpers/with_service_helper.rb:13:in `with_service'
app/controllers/application_controller.rb:423:in `block in with_resolved_locale'
app/controllers/application_controller.rb:423:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:64:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:393:in `call'
lib/middleware/csp_script_nonce_injector.rb:12:in `call'
config/initializers/008-rack-cors.rb:14:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
lib/middleware/request_tracker.rb:277:in `call'