# Chat unusable after update

**URL:** https://meta.discourse.org/t/chat-unusable-after-update/311208
**Category:** Support
**Created:** [June 8, 2024, 12:44am UTC](https://meta.discourse.org/t/chat-unusable-after-update/311208 "2024-06-08T00:44:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [June 8, 2024, 12:44am UTC](https://meta.discourse.org/t/chat-unusable-after-update/311208/1 "2024-06-08T00:44:50Z")

</div>

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.

```plaintext
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'

```

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [June 8, 2024, 2:02am UTC](https://meta.discourse.org/t/chat-unusable-after-update/311208/3 "2024-06-08T02:02:30Z")

</div>

It seems like commit 39902c148fd198b9608158f6a9d6082274f51b90 caused web-based updates on instances that haven’t been updated since (not sure when, but sometime on or after May 10) to result in chat being unusable post-update.
