A forum I help run was updated a few minutes ago, and chat seems to be unusable now (the UI for chat doesn’t show up, and attempting to use chat in tabs that haven’t been reloaded since the update results in an error).
Here’s an example of an error logged to /var/discourse/shared/standalone/log/rails/production.log
when a chat API endpoint is accessed.
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'