# Chat not working after dev install

**URL:** https://meta.discourse.org/t/chat-not-working-after-dev-install/354575
**Category:** Support
**Tags:** dev-install, chat
**Created:** [February 26, 2025, 8:24am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575 "2025-02-26T08:24:39Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 8:24am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/1 "2025-02-26T08:24:39Z")

</div>

After following all steps in doc: [Install Discourse on Ubuntu or Debian for Development](https://meta.discourse.org/t/install-discourse-on-ubuntu-or-debian-for-development/14727)

I tried running server using “bin/ember-cli -u” and (“bin/ember-cli” + “rails s” in saparate terminal windows).

I am getting error as: “network error” in chat window.

 ![Screenshot from 2025-02-26 13-53-01](https://global.discourse-cdn.com/meta/original/4X/8/f/a/8fa6345fcab4feb6a2506a6436388057b35e8886.png)

Do i need to running any additional command in terminal? or did i missed something?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [February 26, 2025, 11:30am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/2 "2025-02-26T11:30:11Z")

</div>

Do you have anything in /logs ?

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 11:42am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/3 "2025-02-26T11:42:44Z")

</div>

No, in server logs i only get 500 error. nothing else (nor even the line at which code breaks)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 11:51am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/4 "2025-02-26T11:51:19Z")

</div>

What is the backtrace and error for the 500?

My suspicion is you may not have run migrations, have you?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [February 26, 2025, 11:52am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/5 "2025-02-26T11:52:09Z")

</div>

yes I was going to say the same but it’s definitely in the steps of the doc 🤷‍♂️

I would recommend you to try using: [Developing Discourse using a Dev Container](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366)

That should be a much easier way for you to get a working dev env.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 11:53am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/6 "2025-02-26T11:53:45Z")

</div>

> [@j.jaffeux](#):
>
> but it’s definitely in the steps of the doc 🤷‍♂️

Actually, is it? It may exclude plugin migrations?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 11:55am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/7 "2025-02-26T11:55:44Z")

</div>

@Neeraj_Keriya try:

```plaintext
LOAD_PLUGINS=1 rake db:migrate

```

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 11:56am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/8 "2025-02-26T11:56:38Z")

</div>

I ran all the command from the doc and wanted to install discourse manually (not with docker) and all three DB’s are migrated successfully.

checking:

```plaintext
LOAD_PLUGINS=1 rake db:migrate

```

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 11:59am UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/9 "2025-02-26T11:59:20Z")

</div>

Initially, When running “bundle install”. i got issues with gem (“mini\_racer”, “0.18.pre1”) so i downgrade it to ‘~\> 0.6.2’.

Is that can be the cause? This is the only thing i did different from document.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 12:00pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/10 "2025-02-26T12:00:14Z")

</div>

Maybe, once you’ve run migrations again, check for 500 and report the detail of that error from within `/logs` here.

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 12:01pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/11 "2025-02-26T12:01:46Z")

</div>

Sure, will do.

BTW this is what i am getting on “rails db:create” with “mini\_racer”, “0.18.pre1”

```plaintext
bin/rails aborted!
LoadError: /home/developer/.rvm/gems/ruby-3.2.1@discourse/extensions/x86_64-linux/3.2.0/mini_racer-0.18.0.pre1/mini_racer_extension.so: undefined symbol: __libc_single_threaded (LoadError)
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/mini_racer-0.18.0.pre1/lib/mini_racer.rb:22:in `load'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/mini_racer-0.18.0.pre1/lib/mini_racer.rb:22:in `<main>'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler/runtime.rb:60:in `require'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler/runtime.rb:55:in `each'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler/runtime.rb:55:in `block in require'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler/runtime.rb:44:in `each'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler/runtime.rb:44:in `require'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bundler-2.5.18/lib/bundler.rb:212:in `require'
/home/developer/Desktop/Workspace/learn/discourse/config/application.rb:69:in `<main>'
<internal:/home/developer/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/home/developer/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/home/developer/Desktop/Workspace/learn/discourse/Rakefile:7:in `<main>'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/commands/rake/rake_command.rb:43:in `block in with_rake'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/commands/rake/rake_command.rb:41:in `with_rake'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/commands/rake/rake_command.rb:20:in `perform'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/command.rb:156:in `invoke_rake'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/command.rb:73:in `block in invoke'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/command.rb:149:in `with_argv'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/command.rb:69:in `invoke'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/railties-7.2.2.1/lib/rails/commands.rb:18:in `<main>'
<internal:/home/developer/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/home/developer/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
bin/rails:18:in `<main>'
(See full trace by running task with --trace)

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 12:04pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/12 "2025-02-26T12:04:21Z")

</div>

FYI current Ruby is something closer to 3.3.6 in Production, so switching to that version of Ruby might be a good idea.

(this is why @j.jaffeux recommends the docker install as these things can be a pain in non-docker dev)

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 12:13pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/13 "2025-02-26T12:13:23Z")

</div>

@merefield @j.jaffeux here is the logs, when i type in message box and send.

```plaintext
Delivering messages [] to client 4c6e690d53844d29be1f7e2f38dd12d8 for user 1 (chunked)
  UserAuthToken Load (1.5ms) SELECT "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=' OR
                          prev_auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=') AND rotated_at > '2024-12-28 12:10:59.994672') ORDER BY "user_auth_tokens"."id" ASC LIMIT 1
  User Load (2.3ms) SELECT "users"."id", "users"."username", "users"."created_at", "users"."updated_at", "users"."name", "users"."last_posted_at", "users"."active", "users"."username_lower", "users"."last_seen_at", "users"."admin", "users"."last_emailed_at", "users"."trust_level", "users"."approved", "users"."approved_by_id", "users"."approved_at", "users"."previous_visit_at", "users"."suspended_at", "users"."suspended_till", "users"."date_of_birth", "users"."views", "users"."flag_level", "users"."ip_address", "users"."moderator", "users"."title", "users"."uploaded_avatar_id", "users"."locale", "users"."primary_group_id", "users"."registration_ip_address", "users"."staged", "users"."first_seen_at", "users"."silenced_till", "users"."group_locked_trust_level", "users"."manual_locked_trust_level", "users"."secure_identifier", "users"."flair_group_id", "users"."last_seen_reviewable_id", "users"."required_fields_version", "users"."seen_notification_id" FROM "users" WHERE "users"."id" = 1 LIMIT 1
   (4.7ms) SELECT "groups"."id" FROM "groups"
Delivering messages [] to client 4c6e690d53844d29be1f7e2f38dd12d8 for user 1 (chunked)
Started POST "/presence/update" for 127.0.0.1 at 2025-02-26 17:41:02 +0530
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"4c6e690d53844d29be1f7e2f38dd12d8", "present_channels"=>["/chat/online", "/chat-reply/1"]}
  UserAuthToken Load (2.5ms) SELECT "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=' OR
                          prev_auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=') AND rotated_at > '2024-12-28 12:11:02.184406') ORDER BY "user_auth_tokens"."id" ASC LIMIT 1
  User Load (2.9ms) SELECT "users"."id", "users"."username", "users"."created_at", "users"."updated_at", "users"."name", "users"."last_posted_at", "users"."active", "users"."username_lower", "users"."last_seen_at", "users"."admin", "users"."last_emailed_at", "users"."trust_level", "users"."approved", "users"."approved_by_id", "users"."approved_at", "users"."previous_visit_at", "users"."suspended_at", "users"."suspended_till", "users"."date_of_birth", "users"."views", "users"."flag_level", "users"."ip_address", "users"."moderator", "users"."title", "users"."uploaded_avatar_id", "users"."locale", "users"."primary_group_id", "users"."registration_ip_address", "users"."staged", "users"."first_seen_at", "users"."silenced_till", "users"."group_locked_trust_level", "users"."manual_locked_trust_level", "users"."secure_identifier", "users"."flair_group_id", "users"."last_seen_reviewable_id", "users"."required_fields_version", "users"."seen_notification_id" FROM "users" WHERE "users"."id" = 1 LIMIT 1
  UserOption Load (6.1ms) SELECT "user_options"."user_id", "user_options"."mailing_list_mode", "user_options"."email_digests", "user_options"."external_links_in_new_tab", "user_options"."enable_quoting", "user_options"."dynamic_favicon", "user_options"."automatically_unpin_topics", "user_options"."digest_after_minutes", "user_options"."auto_track_topics_after_msecs", "user_options"."new_topic_duration_minutes", "user_options"."last_redirected_to_top_at", "user_options"."email_previous_replies", "user_options"."email_in_reply_to", "user_options"."like_notification_frequency", "user_options"."mailing_list_mode_frequency", "user_options"."include_tl0_in_digests", "user_options"."notification_level_when_replying", "user_options"."theme_key_seq", "user_options"."allow_private_messages", "user_options"."homepage_id", "user_options"."theme_ids", "user_options"."hide_profile_and_presence", "user_options"."text_size_key", "user_options"."text_size_seq", "user_options"."email_level", "user_options"."email_messages_level", "user_options"."title_count_mode_key", "user_options"."enable_defer", "user_options"."timezone", "user_options"."enable_allowed_pm_users", "user_options"."dark_scheme_id", "user_options"."skip_new_user_tips", "user_options"."color_scheme_id", "user_options"."default_calendar", "user_options"."chat_enabled", "user_options"."only_chat_push_notifications", "user_options"."oldest_search_log_date", "user_options"."chat_sound", "user_options"."dismissed_channel_retention_reminder", "user_options"."dismissed_dm_retention_reminder", "user_options"."bookmark_auto_delete_preference", "user_options"."ignore_channel_wide_mention", "user_options"."chat_email_frequency", "user_options"."enable_experimental_sidebar", "user_options"."seen_popups", "user_options"."chat_header_indicator_preference", "user_options"."sidebar_link_to_filtered_list", "user_options"."sidebar_show_count_of_new_items", "user_options"."watched_precedence_over_muted", "user_options"."chat_separate_sidebar_mode", "user_options"."topics_unread_when_closed", "user_options"."show_thread_title_prompts", "user_options"."enable_smart_lists", "user_options"."hide_profile", "user_options"."hide_presence", "user_options"."chat_send_shortcut" FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1
   (1.5ms) SELECT "group_users"."group_id" FROM "group_users" WHERE "group_users"."user_id" = 1
  Chat::Channel Load (1.3ms) SELECT "chat_channels"."id", "chat_channels"."chatable_id", "chat_channels"."deleted_at", "chat_channels"."deleted_by_id", "chat_channels"."featured_in_category_id", "chat_channels"."delete_after_seconds", "chat_channels"."chatable_type", "chat_channels"."created_at", "chat_channels"."updated_at", "chat_channels"."name", "chat_channels"."description", "chat_channels"."status", "chat_channels"."user_count", "chat_channels"."auto_join_users", "chat_channels"."user_count_stale", "chat_channels"."type", "chat_channels"."slug", "chat_channels"."allow_channel_wide_mentions", "chat_channels"."messages_count", "chat_channels"."threading_enabled", "chat_channels"."last_message_id", "chat_channels"."icon_upload_id" FROM "chat_channels" WHERE "chat_channels"."deleted_at" IS NULL AND "chat_channels"."id" = 1 LIMIT 1
  Chat::DirectMessage Load (1.5ms) SELECT "direct_message_channels".* FROM "direct_message_channels" WHERE "direct_message_channels"."id" = 1 LIMIT 1
   (1.9ms) SELECT "users"."id" FROM "users" INNER JOIN "direct_message_users" ON "users"."id" = "direct_message_users"."user_id" WHERE "direct_message_users"."direct_message_channel_id" = 1
  User Load (1.5ms) SELECT "users"."id", "users"."username", "users"."created_at", "users"."updated_at", "users"."name", "users"."last_posted_at", "users"."active", "users"."username_lower", "users"."last_seen_at", "users"."admin", "users"."last_emailed_at", "users"."trust_level", "users"."approved", "users"."approved_by_id", "users"."approved_at", "users"."previous_visit_at", "users"."suspended_at", "users"."suspended_till", "users"."date_of_birth", "users"."views", "users"."flag_level", "users"."ip_address", "users"."moderator", "users"."title", "users"."uploaded_avatar_id", "users"."locale", "users"."primary_group_id", "users"."registration_ip_address", "users"."staged", "users"."first_seen_at", "users"."silenced_till", "users"."group_locked_trust_level", "users"."manual_locked_trust_level", "users"."secure_identifier", "users"."flair_group_id", "users"."last_seen_reviewable_id", "users"."required_fields_version", "users"."seen_notification_id" FROM "users" WHERE "users"."id" = 1
  UserOption Load (2.3ms) SELECT "user_options"."user_id", "user_options"."mailing_list_mode", "user_options"."email_digests", "user_options"."external_links_in_new_tab", "user_options"."enable_quoting", "user_options"."dynamic_favicon", "user_options"."automatically_unpin_topics", "user_options"."digest_after_minutes", "user_options"."auto_track_topics_after_msecs", "user_options"."new_topic_duration_minutes", "user_options"."last_redirected_to_top_at", "user_options"."email_previous_replies", "user_options"."email_in_reply_to", "user_options"."like_notification_frequency", "user_options"."mailing_list_mode_frequency", "user_options"."include_tl0_in_digests", "user_options"."notification_level_when_replying", "user_options"."theme_key_seq", "user_options"."allow_private_messages", "user_options"."homepage_id", "user_options"."theme_ids", "user_options"."hide_profile_and_presence", "user_options"."text_size_key", "user_options"."text_size_seq", "user_options"."email_level", "user_options"."email_messages_level", "user_options"."title_count_mode_key", "user_options"."enable_defer", "user_options"."timezone", "user_options"."enable_allowed_pm_users", "user_options"."dark_scheme_id", "user_options"."skip_new_user_tips", "user_options"."color_scheme_id", "user_options"."default_calendar", "user_options"."chat_enabled", "user_options"."only_chat_push_notifications", "user_options"."oldest_search_log_date", "user_options"."chat_sound", "user_options"."dismissed_channel_retention_reminder", "user_options"."dismissed_dm_retention_reminder", "user_options"."bookmark_auto_delete_preference", "user_options"."ignore_channel_wide_mention", "user_options"."chat_email_frequency", "user_options"."enable_experimental_sidebar", "user_options"."seen_popups", "user_options"."chat_header_indicator_preference", "user_options"."sidebar_link_to_filtered_list", "user_options"."sidebar_show_count_of_new_items", "user_options"."watched_precedence_over_muted", "user_options"."chat_separate_sidebar_mode", "user_options"."topics_unread_when_closed", "user_options"."show_thread_title_prompts", "user_options"."enable_smart_lists", "user_options"."hide_profile", "user_options"."hide_presence", "user_options"."chat_send_shortcut" FROM "user_options" WHERE "user_options"."user_id" = 1
Completed 200 OK in 81ms (Views: 0.4ms | ActiveRecord: 21.2ms (9 queries, 0 cached) | GC: 2.0ms)

Delivering messages [{"global_id":5317,"message_id":17,"channel":"/presence/chat-reply/1","data":{"entering_users":[{"id":1,"username":"user1","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/u/5daacb/{size}.png"}]}}] to client 4c6e690d53844d29be1f7e2f38dd12d8 for user 1 (chunked)
Started POST "/chat/1" for 127.0.0.1 at 2025-02-26 17:41:02 +0530
Processing by Chat::Api::ChannelMessagesController#create as */*
  Parameters: {"message"=>"test", "staged_id"=>"4c874e5d-0934-4baa-8104-6ff2792d83eb", "chat_channel_id"=>"1"}
  UserAuthToken Load (2.1ms) SELECT "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=' OR
                          prev_auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=') AND rotated_at > '2024-12-28 12:11:02.500622') ORDER BY "user_auth_tokens"."id" ASC LIMIT 1
  User Load (2.7ms) SELECT "users"."id", "users"."username", "users"."created_at", "users"."updated_at", "users"."name", "users"."last_posted_at", "users"."active", "users"."username_lower", "users"."last_seen_at", "users"."admin", "users"."last_emailed_at", "users"."trust_level", "users"."approved", "users"."approved_by_id", "users"."approved_at", "users"."previous_visit_at", "users"."suspended_at", "users"."suspended_till", "users"."date_of_birth", "users"."views", "users"."flag_level", "users"."ip_address", "users"."moderator", "users"."title", "users"."uploaded_avatar_id", "users"."locale", "users"."primary_group_id", "users"."registration_ip_address", "users"."staged", "users"."first_seen_at", "users"."silenced_till", "users"."group_locked_trust_level", "users"."manual_locked_trust_level", "users"."secure_identifier", "users"."flair_group_id", "users"."last_seen_reviewable_id", "users"."required_fields_version", "users"."seen_notification_id" FROM "users" WHERE "users"."id" = 1 LIMIT 1
  UserOption Load (3.5ms) SELECT "user_options"."user_id", "user_options"."mailing_list_mode", "user_options"."email_digests", "user_options"."external_links_in_new_tab", "user_options"."enable_quoting", "user_options"."dynamic_favicon", "user_options"."automatically_unpin_topics", "user_options"."digest_after_minutes", "user_options"."auto_track_topics_after_msecs", "user_options"."new_topic_duration_minutes", "user_options"."last_redirected_to_top_at", "user_options"."email_previous_replies", "user_options"."email_in_reply_to", "user_options"."like_notification_frequency", "user_options"."mailing_list_mode_frequency", "user_options"."include_tl0_in_digests", "user_options"."notification_level_when_replying", "user_options"."theme_key_seq", "user_options"."allow_private_messages", "user_options"."homepage_id", "user_options"."theme_ids", "user_options"."hide_profile_and_presence", "user_options"."text_size_key", "user_options"."text_size_seq", "user_options"."email_level", "user_options"."email_messages_level", "user_options"."title_count_mode_key", "user_options"."enable_defer", "user_options"."timezone", "user_options"."enable_allowed_pm_users", "user_options"."dark_scheme_id", "user_options"."skip_new_user_tips", "user_options"."color_scheme_id", "user_options"."default_calendar", "user_options"."chat_enabled", "user_options"."only_chat_push_notifications", "user_options"."oldest_search_log_date", "user_options"."chat_sound", "user_options"."dismissed_channel_retention_reminder", "user_options"."dismissed_dm_retention_reminder", "user_options"."bookmark_auto_delete_preference", "user_options"."ignore_channel_wide_mention", "user_options"."chat_email_frequency", "user_options"."enable_experimental_sidebar", "user_options"."seen_popups", "user_options"."chat_header_indicator_preference", "user_options"."sidebar_link_to_filtered_list", "user_options"."sidebar_show_count_of_new_items", "user_options"."watched_precedence_over_muted", "user_options"."chat_separate_sidebar_mode", "user_options"."topics_unread_when_closed", "user_options"."show_thread_title_prompts", "user_options"."enable_smart_lists", "user_options"."hide_profile", "user_options"."hide_presence", "user_options"."chat_send_shortcut" FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1
  UserRequiredFieldsVersion Maximum (1.5ms) SELECT MAX("user_required_fields_versions"."id") FROM "user_required_fields_versions"
   (1.2ms) SELECT "group_users"."group_id" FROM "group_users" WHERE "group_users"."user_id" = 1
  Chat::Channel Load (1.2ms) SELECT "chat_channels"."id", "chat_channels"."chatable_id", "chat_channels"."deleted_at", "chat_channels"."deleted_by_id", "chat_channels"."featured_in_category_id", "chat_channels"."delete_after_seconds", "chat_channels"."chatable_type", "chat_channels"."created_at", "chat_channels"."updated_at", "chat_channels"."name", "chat_channels"."description", "chat_channels"."status", "chat_channels"."user_count", "chat_channels"."auto_join_users", "chat_channels"."user_count_stale", "chat_channels"."type", "chat_channels"."slug", "chat_channels"."allow_channel_wide_mentions", "chat_channels"."messages_count", "chat_channels"."threading_enabled", "chat_channels"."last_message_id", "chat_channels"."icon_upload_id" FROM "chat_channels" LEFT JOIN categories ON categories.id = chat_channels.chatable_id AND chat_channels.chatable_type = 'Category' WHERE "chat_channels"."deleted_at" IS NULL AND (chat_channels.id = 1 OR categories.slug = '1' OR chat_channels.slug = '1') LIMIT 1
  Chat::UserChatChannelMembership Load (1.1ms) SELECT "user_chat_channel_memberships"."id", "user_chat_channel_memberships"."user_id", "user_chat_channel_memberships"."chat_channel_id", "user_chat_channel_memberships"."last_read_message_id", "user_chat_channel_memberships"."following", "user_chat_channel_memberships"."muted", "user_chat_channel_memberships"."created_at", "user_chat_channel_memberships"."updated_at", "user_chat_channel_memberships"."last_unread_mention_when_emailed_id", "user_chat_channel_memberships"."join_mode", "user_chat_channel_memberships"."last_viewed_at", "user_chat_channel_memberships"."notification_level" FROM "user_chat_channel_memberships" WHERE "user_chat_channel_memberships"."chat_channel_id" = 1 AND "user_chat_channel_memberships"."user_id" = 1 LIMIT 1
  Chat::DirectMessage Load (1.1ms) SELECT "direct_message_channels".* FROM "direct_message_channels" WHERE "direct_message_channels"."id" = 1 LIMIT 1
  User Count (1.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "direct_message_users" ON "users"."id" = "direct_message_users"."user_id" WHERE "direct_message_users"."direct_message_channel_id" = 1
  Chat::Message Load (0.8ms) SELECT "chat_messages".* FROM "chat_messages" WHERE "chat_messages"."deleted_at" IS NULL AND "chat_messages"."id" IS NULL LIMIT 1
Completed 500 Internal Server Error in 64ms (ActiveRecord: 16.4ms (10 queries, 0 cached) | GC: 1.1ms)

  Rendered /home/developer/.rvm/gems/ruby-3.2.1@discourse/gems/actionpack-7.2.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (Duration: 5.7ms | GC: 0.1ms)

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 12:18pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/14 "2025-02-26T12:18:27Z")

</div>

It would be easier for us if you could report the single 500 entry in `/logs`

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 12:19pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/15 "2025-02-26T12:19:32Z")

</div>

> [@Neeraj\_Keriya](#):
>
> ```plaintext
> Delivering messages [{"global_id":5317,"message_id":17,"channel":"/presence/chat-reply/1","data":{"entering_users":[{"id":1,"username":"user1","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/u/5daacb/{size}.png"}]}}] to client 4c6e690d53844d29be1f7e2f38dd12d8 for user 1 (chunked)
> Started POST "/chat/1" for 127.0.0.1 at 2025-02-26 17:41:02 +0530
> Processing by Chat::Api::ChannelMessagesController#create as */*
> Parameters: {"message"=>"test", "staged_id"=>"4c874e5d-0934-4baa-8104-6ff2792d83eb", "chat_channel_id"=>"1"}
> UserAuthToken Load (2.1ms) SELECT "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=' OR
> prev_auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=') AND rotated_at > '2024-12-28 12:11:02.500622') ORDER BY "user_auth_tokens"."id" ASC LIMIT 1
> User Load (2.7ms) SELECT "users"."id", "users"."username", "users"."created_at", "users"."updated_at", "users"."name", "users"."last_posted_at", "users"."active", "users"."username_lower", "users"."last_seen_at", "users"."admin", "users"."last_emailed_at", "users"."trust_level", "users"."approved", "users"."approved_by_id", "users"."approved_at", "users"."previous_visit_at", "users"."suspended_at", "users"."suspended_till", "users"."date_of_birth", "users"."views", "users"."flag_level", "users"."ip_address", "users"."moderator", "users"."title", "users"."uploaded_avatar_id", "users"."locale", "users"."primary_group_id", "users"."registration_ip_address", "users"."staged", "users"."first_seen_at", "users"."silenced_till", "users"."group_locked_trust_level", "users"."manual_locked_trust_level", "users"."secure_identifier", "users"."flair_group_id", "users"."last_seen_reviewable_id", "users"."required_fields_version", "users"."seen_notification_id" FROM "users" WHERE "users"."id" = 1 LIMIT 1
> UserOption Load (3.5ms) SELECT "user_options"."user_id", "user_options"."mailing_list_mode", "user_options"."email_digests", "user_options"."external_links_in_new_tab", "user_options"."enable_quoting", "user_options"."dynamic_favicon", "user_options"."automatically_unpin_topics", "user_options"."digest_after_minutes", "user_options"."auto_track_topics_after_msecs", "user_options"."new_topic_duration_minutes", "user_options"."last_redirected_to_top_at", "user_options"."email_previous_replies", "user_options"."email_in_reply_to", "user_options"."like_notification_frequency", "user_options"."mailing_list_mode_frequency", "user_options"."include_tl0_in_digests", "user_options"."notification_level_when_replying", "user_options"."theme_key_seq", "user_options"."allow_private_messages", "user_options"."homepage_id", "user_options"."theme_ids", "user_options"."hide_profile_and_presence", "user_options"."text_size_key", "user_options"."text_size_seq", "user_options"."email_level", "user_options"."email_messages_level", "user_options"."title_count_mode_key", "user_options"."enable_defer", "user_options"."timezone", "user_options"."enable_allowed_pm_users", "user_options"."dark_scheme_id", "user_options"."skip_new_user_tips", "user_options"."color_scheme_id", "user_options"."default_calendar", "user_options"."chat_enabled", "user_options"."only_chat_push_notifications", "user_options"."oldest_search_log_date", "user_options"."chat_sound", "user_options"."dismissed_channel_retention_reminder", "user_options"."dismissed_dm_retention_reminder", "user_options"."bookmark_auto_delete_preference", "user_options"."ignore_channel_wide_mention", "user_options"."chat_email_frequency", "user_options"."enable_experimental_sidebar", "user_options"."seen_popups", "user_options"."chat_header_indicator_preference", "user_options"."sidebar_link_to_filtered_list", "user_options"."sidebar_show_count_of_new_items", "user_options"."watched_precedence_over_muted", "user_options"."chat_separate_sidebar_mode", "user_options"."topics_unread_when_closed", "user_options"."show_thread_title_prompts", "user_options"."enable_smart_lists", "user_options"."hide_profile", "user_options"."hide_presence", "user_options"."chat_send_shortcut" FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1
> UserRequiredFieldsVersion Maximum (1.5ms) SELECT MAX("user_required_fields_versions"."id") FROM "user_required_fields_versions"
> (1.2ms) SELECT "group_users"."group_id" FROM "group_users" WHERE "group_users"."user_id" = 1
> Chat::Channel Load (1.2ms) SELECT "chat_channels"."id", "chat_channels"."chatable_id", "chat_channels"."deleted_at", "chat_channels"."deleted_by_id", "chat_channels"."featured_in_category_id", "chat_channels"."delete_after_seconds", "chat_channels"."chatable_type", "chat_channels"."created_at", "chat_channels"."updated_at", "chat_channels"."name", "chat_channels"."description", "chat_channels"."status", "chat_channels"."user_count", "chat_channels"."auto_join_users", "chat_channels"."user_count_stale", "chat_channels"."type", "chat_channels"."slug", "chat_channels"."allow_channel_wide_mentions", "chat_channels"."messages_count", "chat_channels"."threading_enabled", "chat_channels"."last_message_id", "chat_channels"."icon_upload_id" FROM "chat_channels" LEFT JOIN categories ON categories.id = chat_channels.chatable_id AND chat_channels.chatable_type = 'Category' WHERE "chat_channels"."deleted_at" IS NULL AND (chat_channels.id = 1 OR categories.slug = '1' OR chat_channels.slug = '1') LIMIT 1
> Chat::UserChatChannelMembership Load (1.1ms) SELECT "user_chat_channel_memberships"."id", "user_chat_channel_memberships"."user_id", "user_chat_channel_memberships"."chat_channel_id", "user_chat_channel_memberships"."last_read_message_id", "user_chat_channel_memberships"."following", "user_chat_channel_memberships"."muted", "user_chat_channel_memberships"."created_at", "user_chat_channel_memberships"."updated_at", "user_chat_channel_memberships"."last_unread_mention_when_emailed_id", "user_chat_channel_memberships"."join_mode", "user_chat_channel_memberships"."last_viewed_at", "user_chat_channel_memberships"."notification_level" FROM "user_chat_channel_memberships" WHERE "user_chat_channel_memberships"."chat_channel_id" = 1 AND "user_chat_channel_memberships"."user_id" = 1 LIMIT 1
> Chat::DirectMessage Load (1.1ms) SELECT "direct_message_channels".* FROM "direct_message_channels" WHERE "direct_message_channels"."id" = 1 LIMIT 1
> User Count (1.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "direct_message_users" ON "users"."id" = "direct_message_users"."user_id" WHERE "direct_message_users"."direct_message_channel_id" = 1
> Chat::Message Load (0.8ms) SELECT "chat_messages".* FROM "chat_messages" WHERE "chat_messages"."deleted_at" IS NULL AND "chat_messages"."id" IS NULL LIMIT 1
> Completed 500 Internal Server Error in 64ms (ActiveRecord: 16.4ms (10 queries, 0 cached) | GC: 1.1ms)
> 
> ```

Here it is:

```plaintext
Delivering messages [{"global_id":5317,"message_id":17,"channel":"/presence/chat-reply/1","data":{"entering_users":[{"id":1,"username":"user1","name":null,"avatar_template":"/letter_avatar_proxy/v4/letter/u/5daacb/{size}.png"}]}}] to client 4c6e690d53844d29be1f7e2f38dd12d8 for user 1 (chunked)
Started POST "/chat/1" for 127.0.0.1 at 2025-02-26 17:41:02 +0530
Processing by Chat::Api::ChannelMessagesController#create as */*
  Parameters: {"message"=>"test", "staged_id"=>"4c874e5d-0934-4baa-8104-6ff2792d83eb", "chat_channel_id"=>"1"}
  UserAuthToken Load (2.1ms) SELECT "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=' OR
                          prev_auth_token = 'szvLZH+BlxR8QAZaqku+p5jPKsk=') AND rotated_at > '2024-12-28 12:11:02.500622') ORDER BY "user_auth_tokens"."id" ASC LIMIT 1
  User Load (2.7ms) SELECT "users"."id", "users"."username", "users"."created_at", "users"."updated_at", "users"."name", "users"."last_posted_at", "users"."active", "users"."username_lower", "users"."last_seen_at", "users"."admin", "users"."last_emailed_at", "users"."trust_level", "users"."approved", "users"."approved_by_id", "users"."approved_at", "users"."previous_visit_at", "users"."suspended_at", "users"."suspended_till", "users"."date_of_birth", "users"."views", "users"."flag_level", "users"."ip_address", "users"."moderator", "users"."title", "users"."uploaded_avatar_id", "users"."locale", "users"."primary_group_id", "users"."registration_ip_address", "users"."staged", "users"."first_seen_at", "users"."silenced_till", "users"."group_locked_trust_level", "users"."manual_locked_trust_level", "users"."secure_identifier", "users"."flair_group_id", "users"."last_seen_reviewable_id", "users"."required_fields_version", "users"."seen_notification_id" FROM "users" WHERE "users"."id" = 1 LIMIT 1
  UserOption Load (3.5ms) SELECT "user_options"."user_id", "user_options"."mailing_list_mode", "user_options"."email_digests", "user_options"."external_links_in_new_tab", "user_options"."enable_quoting", "user_options"."dynamic_favicon", "user_options"."automatically_unpin_topics", "user_options"."digest_after_minutes", "user_options"."auto_track_topics_after_msecs", "user_options"."new_topic_duration_minutes", "user_options"."last_redirected_to_top_at", "user_options"."email_previous_replies", "user_options"."email_in_reply_to", "user_options"."like_notification_frequency", "user_options"."mailing_list_mode_frequency", "user_options"."include_tl0_in_digests", "user_options"."notification_level_when_replying", "user_options"."theme_key_seq", "user_options"."allow_private_messages", "user_options"."homepage_id", "user_options"."theme_ids", "user_options"."hide_profile_and_presence", "user_options"."text_size_key", "user_options"."text_size_seq", "user_options"."email_level", "user_options"."email_messages_level", "user_options"."title_count_mode_key", "user_options"."enable_defer", "user_options"."timezone", "user_options"."enable_allowed_pm_users", "user_options"."dark_scheme_id", "user_options"."skip_new_user_tips", "user_options"."color_scheme_id", "user_options"."default_calendar", "user_options"."chat_enabled", "user_options"."only_chat_push_notifications", "user_options"."oldest_search_log_date", "user_options"."chat_sound", "user_options"."dismissed_channel_retention_reminder", "user_options"."dismissed_dm_retention_reminder", "user_options"."bookmark_auto_delete_preference", "user_options"."ignore_channel_wide_mention", "user_options"."chat_email_frequency", "user_options"."enable_experimental_sidebar", "user_options"."seen_popups", "user_options"."chat_header_indicator_preference", "user_options"."sidebar_link_to_filtered_list", "user_options"."sidebar_show_count_of_new_items", "user_options"."watched_precedence_over_muted", "user_options"."chat_separate_sidebar_mode", "user_options"."topics_unread_when_closed", "user_options"."show_thread_title_prompts", "user_options"."enable_smart_lists", "user_options"."hide_profile", "user_options"."hide_presence", "user_options"."chat_send_shortcut" FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1
  UserRequiredFieldsVersion Maximum (1.5ms) SELECT MAX("user_required_fields_versions"."id") FROM "user_required_fields_versions"
   (1.2ms) SELECT "group_users"."group_id" FROM "group_users" WHERE "group_users"."user_id" = 1
  Chat::Channel Load (1.2ms) SELECT "chat_channels"."id", "chat_channels"."chatable_id", "chat_channels"."deleted_at", "chat_channels"."deleted_by_id", "chat_channels"."featured_in_category_id", "chat_channels"."delete_after_seconds", "chat_channels"."chatable_type", "chat_channels"."created_at", "chat_channels"."updated_at", "chat_channels"."name", "chat_channels"."description", "chat_channels"."status", "chat_channels"."user_count", "chat_channels"."auto_join_users", "chat_channels"."user_count_stale", "chat_channels"."type", "chat_channels"."slug", "chat_channels"."allow_channel_wide_mentions", "chat_channels"."messages_count", "chat_channels"."threading_enabled", "chat_channels"."last_message_id", "chat_channels"."icon_upload_id" FROM "chat_channels" LEFT JOIN categories ON categories.id = chat_channels.chatable_id AND chat_channels.chatable_type = 'Category' WHERE "chat_channels"."deleted_at" IS NULL AND (chat_channels.id = 1 OR categories.slug = '1' OR chat_channels.slug = '1') LIMIT 1
  Chat::UserChatChannelMembership Load (1.1ms) SELECT "user_chat_channel_memberships"."id", "user_chat_channel_memberships"."user_id", "user_chat_channel_memberships"."chat_channel_id", "user_chat_channel_memberships"."last_read_message_id", "user_chat_channel_memberships"."following", "user_chat_channel_memberships"."muted", "user_chat_channel_memberships"."created_at", "user_chat_channel_memberships"."updated_at", "user_chat_channel_memberships"."last_unread_mention_when_emailed_id", "user_chat_channel_memberships"."join_mode", "user_chat_channel_memberships"."last_viewed_at", "user_chat_channel_memberships"."notification_level" FROM "user_chat_channel_memberships" WHERE "user_chat_channel_memberships"."chat_channel_id" = 1 AND "user_chat_channel_memberships"."user_id" = 1 LIMIT 1
  Chat::DirectMessage Load (1.1ms) SELECT "direct_message_channels".* FROM "direct_message_channels" WHERE "direct_message_channels"."id" = 1 LIMIT 1
  User Count (1.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "direct_message_users" ON "users"."id" = "direct_message_users"."user_id" WHERE "direct_message_users"."direct_message_channel_id" = 1
  Chat::Message Load (0.8ms) SELECT "chat_messages".* FROM "chat_messages" WHERE "chat_messages"."deleted_at" IS NULL AND "chat_messages"."id" IS NULL LIMIT 1
Completed 500 Internal Server Error in 64ms (ActiveRecord: 16.4ms (10 queries, 0 cached) | GC: 1.1ms)

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 12:22pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/16 "2025-02-26T12:22:04Z")

</div>

This is console output, no? That’s not what I requested 🙂

What is the backtrace _AND_ error message from /logs? (that’s a URL 🙂 ie `http://localhost:4200/logs`)

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 12:32pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/17 "2025-02-26T12:32:49Z")

</div>

Thanks for the URL (i did not know about that).

This is the backtrace from /logs:

```plaintext
mini_racer-0.6.4/lib/mini_racer.rb:242:in `call_unsafe' 
mini_racer-0.6.4/lib/mini_racer.rb:242:in `block (2 levels) in call' 
mini_racer-0.6.4/lib/mini_racer.rb:369:in `timeout' 
mini_racer-0.6.4/lib/mini_racer.rb:241:in `block in call' 
mini_racer-0.6.4/lib/mini_racer.rb:240:in `synchronize' 
mini_racer-0.6.4/lib/mini_racer.rb:240:in `call' 
/home/developer/Desktop/Workspace/learn/discourse/lib/discourse_js_processor.rb:127:in `block in v8_call' 
/home/developer/Desktop/Workspace/learn/discourse/lib/discourse_js_processor.rb:126:in `synchronize' 
/home/developer/Desktop/Workspace/learn/discourse/lib/discourse_js_processor.rb:126:in `v8_call' 
/home/developer/Desktop/Workspace/learn/discourse/lib/discourse_js_processor.rb:151:in `perform' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:34:in `apply_es6_file' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:41:in `block in ctx_load_directory' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:39:in `each' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:39:in `ctx_load_directory' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:77:in `create_es6_context' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:136:in `block in v8' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:134:in `synchronize' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:134:in `v8' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:290:in `block in escape_emoji' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:691:in `block in protect' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:691:in `synchronize' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:691:in `protect' 
/home/developer/Desktop/Workspace/learn/discourse/lib/pretty_text.rb:290:in `escape_emoji' 
/home/developer/Desktop/Workspace/learn/discourse/app/models/emoji.rb:267:in `unicode_unescape' 
/home/developer/Desktop/Workspace/learn/discourse/app/models/topic.rb:528:in `fancy_title' 
/home/developer/Desktop/Workspace/learn/discourse/app/models/topic.rb:410:in `block in <class:Topic>' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:119:in `block in run_callbacks' 
activerecord-7.2.2.1/lib/active_record/autosave_association.rb:362:in `around_save_collection_association' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:130:in `block in run_callbacks' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:141:in `run_callbacks' 
activesupport-7.2.2.1/lib/active_support/callbacks.rb:913:in `_run_save_callbacks' 
activerecord-7.2.2.1/lib/active_record/callbacks.rb:441:in `create_or_update' 
activerecord-7.2.2.1/lib/active_record/timestamp.rb:127:in `create_or_update' 
activerecord-7.2.2.1/lib/active_record/persistence.rb:393:in `save' 
activerecord-7.2.2.1/lib/active_record/validations.rb:48:in `save' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:362:in `block in save' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:418:in `block (2 levels) in with_transaction_returning_status' 
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:359:in `transaction' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:414:in `block in with_transaction_returning_status' 
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:415:in `with_connection' 
activerecord-7.2.2.1/lib/active_record/connection_handling.rb:296:in `with_connection' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:410:in `with_transaction_returning_status' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:362:in `save' 
activerecord-7.2.2.1/lib/active_record/suppressor.rb:52:in `save' 
/home/developer/Desktop/Workspace/learn/discourse/lib/topic_creator.rb:251:in `save_topic' 
/home/developer/Desktop/Workspace/learn/discourse/lib/topic_creator.rb:58:in `create' 
/home/developer/Desktop/Workspace/learn/discourse/lib/post_creator.rb:490:in `create_topic' 
/home/developer/Desktop/Workspace/learn/discourse/lib/post_creator.rb:190:in `block in create' 
/home/developer/Desktop/Workspace/learn/discourse/lib/post_creator.rb:390:in `block in transaction' 
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:616:in `block in within_new_transaction' 
activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' 
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:613:in `within_new_transaction' 
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:361:in `transaction' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:234:in `block in transaction' 
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `with_connection' 
activerecord-7.2.2.1/lib/active_record/connection_handling.rb:296:in `with_connection' 
activerecord-7.2.2.1/lib/active_record/transactions.rb:233:in `transaction' 
/home/developer/Desktop/Workspace/learn/discourse/lib/post_creator.rb:390:in `transaction' 
/home/developer/Desktop/Workspace/learn/discourse/lib/post_creator.rb:188:in `create' 
/home/developer/Desktop/Workspace/learn/discourse/lib/system_message.rb:74:in `block in create' 
i18n-1.14.7/lib/i18n.rb:353:in `with_locale' 
/home/developer/Desktop/Workspace/learn/discourse/lib/system_message.rb:74:in `create' 
/home/developer/Desktop/Workspace/learn/discourse/app/jobs/regular/send_system_message.rb:15:in `execute' 
/home/developer/Desktop/Workspace/learn/discourse/app/jobs/base.rb:316:in `block (2 levels) in perform' 
rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `with_connection'
/home/developer/Desktop/Workspace/learn/discourse/app/jobs/base.rb:303:in `block in perform' 
/home/developer/Desktop/Workspace/learn/discourse/app/jobs/base.rb:299:in `each' 
/home/developer/Desktop/Workspace/learn/discourse/app/jobs/base.rb:299:in `perform' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:202:in `execute_job' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:170:in `block (2 levels) in process' 
sidekiq-6.5.12/lib/sidekiq/middleware/chain.rb:177:in `block in invoke' 
/home/developer/Desktop/Workspace/learn/discourse/lib/sidekiq/pausable.rb:132:in `call' 
sidekiq-6.5.12/lib/sidekiq/middleware/chain.rb:179:in `block in invoke' 
sidekiq-6.5.12/lib/sidekiq/middleware/chain.rb:182:in `invoke' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:169:in `block in process' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch' 
sidekiq-6.5.12/lib/sidekiq/job_retry.rb:113:in `local' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch' 
sidekiq-6.5.12/lib/sidekiq.rb:44:in `block in <module:Sidekiq>' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:263:in `stats' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch' 
sidekiq-6.5.12/lib/sidekiq/job_logger.rb:13:in `call' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch' 
sidekiq-6.5.12/lib/sidekiq/job_retry.rb:80:in `global' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:124:in `block in dispatch' 
sidekiq-6.5.12/lib/sidekiq/job_logger.rb:39:in `prepare' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:123:in `dispatch' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:168:in `process' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:78:in `process_one' 
sidekiq-6.5.12/lib/sidekiq/processor.rb:68:in `run' 
sidekiq-6.5.12/lib/sidekiq/component.rb:8:in `watchdog' 
sidekiq-6.5.12/lib/sidekiq/component.rb:17:in `block in safe_thread' 

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 12:33pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/18 "2025-02-26T12:33:42Z")

</div>

And the error message? 😅 (from info tab)

---

<div class="post-metadata">

### Author: ![Neeraj\_Keriya](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neeraj_keriya/32/491094_2.png) [@Neeraj\_Keriya](https://meta.discourse.org/u/Neeraj_Keriya)
#### Post date: [February 26, 2025, 12:34pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/19 "2025-02-26T12:34:30Z")

</div>

info tab

```plaintext
Job exception: Unknown JavaScript method invoked

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 26, 2025, 12:40pm UTC](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575/20 "2025-02-26T12:40:15Z")

</div>

Might relate to your issue with `mini-racer`.

I note I have `0.18.0.pre1` installed on my dev instance.

(and I can confirm sending messages on Chat works).

As per my prior suggestion, see if upgrading Ruby helps you use the latest version of that gem.

[Next page](https://meta.discourse.org/t/chat-not-working-after-dev-install/354575.md?page=2)
