Oops caused by enable plugins

Hello, I install some plugins. When these plugins are not enabled, the discourse is good. However, when I try to enable multiple plugins, oops of 500 error is shown.For example, I enable the follow plugin, it’s good, then I enable the gamification plugin, error occurs. Why? is not compatible for different plugins?
I want to use many plugins, but I can’t figure out which plugins can be composed. I have tried many times, is there are good examples?

1 Like

Hey, I’m currently using the plugin, and it works great for me. Neither of the two plugins is deprecated, and both work fine. You are probably facing some other technical issue, likely related to your CPU. Just for your information, how many plugins do you have installed? Please try enabling only the Follow and Gamification plugins and check if they work fine for you. Also, you can try doing launcher rebuild to see if it resolves any issues related to plugin installation.

3 Likes

@ishua_wang If you look under /logs (if you can), what kind of errors do you see?
Additionally, are you using an instace set up with an unsupported-install ?

2 Likes

thanks for reply. I can’t use the build command because it is unoffical install.

/logs shows 502 Bad Gateway. Yes, mine is an unoffical install because I use a devops tool to manage docker container.

I see. It’s not a dev install, correct? If not, you may have to backup your database and upload it to a fresh server, on a supported install.

1 Like

it’s not a dev install. But I don’t know how to install a supported version within a devops tool. This is, install discourse only with docker compose. The offical installation doesn’t meet my need.

It’s entirely possible to run a Discourse this way (with docker compose) with multiple plugins - I’ve done it for a client.

However, getting support for this configuration for free may be a challenge.

I suggest you persevere and post in Marketplace if you get completely stuck.

It would of course help if you could share the 500 error and its backtrace …

My suspicion is you haven’t migrated the database - a task taken care of by the supported build scripts. My guess is the 500 error will be complaining of a missing table …

3 Likes

thanks for your reply. I wonder whether I should specify a specific branch when clone the plugins repos on github. Maybe I should use the stable branch. Here are some logs:



Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"b4ad7bf4137347849358c0381a1657ed", "leave_channels"=>["/chat-user/core/1"], "authenticity_token"=>"GpPDaQ4uir5X_xv1rurTFpuWfabuVh-hZv--uSy1V0nOrbB8m3IPvPotH1sd3DBquFKVAnJ0_V66xvWO4a-rmg"}
Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 1786)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:13:05 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 180ms (ActiveRecord: 0.0ms | Allocations: 59592)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:13:11 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 31ms (ActiveRecord: 0.0ms | Allocations: 8882)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:13:12 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 30ms (ActiveRecord: 0.0ms | Allocations: 8854)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:13:14 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.0ms | Allocations: 8854)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:15:26 +0000
Processing by Admin::PluginsController#index as HTML
  Rendered layout layouts/application.html.erb (Duration: 44.9ms | Allocations: 4900)
Completed 200 OK in 341ms (Views: 48.8ms | ActiveRecord: 0.0ms | Allocations: 34354)
Started GET "/stylesheets/desktop_theme_1_d62766383d735b39608bac6fcf403646e8dd043e.css?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:15:27 +0000
Started GET "/stylesheets/poll_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:15:27 +0000
Processing by StylesheetsController#show as CSS
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"desktop_theme_1_d62766383d735b39608bac6fcf403646e8dd043e"}
Started GET "/stylesheets/chat_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:15:27 +0000
Processing by StylesheetsController#show as CSS
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"poll_desktop_c9329d4b10403b211b159d1b9d061b80798c729b"}
Processing by StylesheetsController#show as CSS
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"chat_desktop_c9329d4b10403b211b159d1b9d061b80798c729b"}
Started GET "/stylesheets/desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:15:27 +0000
Processing by StylesheetsController#show as CSS
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"desktop_c9329d4b10403b211b159d1b9d061b80798c729b"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/poll_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css (0.2ms)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/chat_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css (0.2ms)
Completed 200 OK in 82ms (ActiveRecord: 0.0ms | Allocations: 4881)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/desktop_theme_1_d62766383d735b39608bac6fcf403646e8dd043e.css (0.2ms)
Completed 200 OK in 103ms (ActiveRecord: 0.0ms | Allocations: 4830)
Completed 200 OK in 117ms (ActiveRecord: 0.0ms | Allocations: 11519)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css (18.9ms)
Completed 200 OK in 100ms (ActiveRecord: 0.0ms | Allocations: 3370)
Started GET "/chat/api/me/channels" for 101.88.59.63 at 2025-01-02 09:15:35 +0000
Processing by Chat::Api::CurrentUserChannelsController#index as JSON
Started GET "/presence/get?channels%5B%5D=%2Fchat-user%2Fchat%2F1&channels%5B%5D=%2Fchat-user%2Fcore%2F1" for 101.88.59.63 at 2025-01-02 09:15:35 +0000
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:15:35 +0000
Processing by PresenceController#get as JSON
  Parameters: {"channels"=>["/chat-user/chat/1", "/chat-user/core/1"]}
Processing by Admin::PluginsController#index as JSON
Completed 200 OK in 21ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 2270)
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 8405)
Completed 200 OK in 235ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 41705)
Started GET "/manifest.webmanifest" for 101.88.59.63 at 2025-01-02 09:15:36 +0000
Processing by MetadataController#manifest as */*
Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1674)
Started GET "/admin/themes" for 101.88.59.63 at 2025-01-02 09:15:36 +0000
Processing by Admin::ThemesController#index as JSON
Completed 200 OK in 71ms (Views: 2.7ms | ActiveRecord: 0.0ms | Allocations: 16604)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:15:36 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6e0fb6db613e474e8800e079bdeaa6c0", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 58ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 56976)
Started GET "/admin/site_settings" for 101.88.59.63 at 2025-01-02 09:15:58 +0000
Processing by Admin::SiteSettingsController#index as JSON
Completed 200 OK in 1120ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 139020)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:16:08 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6e0fb6db613e474e8800e079bdeaa6c0", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1731)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:16:26 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6e0fb6db613e474e8800e079bdeaa6c0", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1568)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:16:30 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6e0fb6db613e474e8800e079bdeaa6c0", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1605)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:16:36 +0000
Processing by Admin::PluginsController#index as JSON
Completed 200 OK in 413ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 41075)
Started GET "/admin/site_settings" for 101.88.59.63 at 2025-01-02 09:16:40 +0000
Processing by Admin::SiteSettingsController#index as JSON
Completed 200 OK in 271ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 158484)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:16:56 +0000
Processing by Admin::PluginsController#index as JSON
Completed 200 OK in 191ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 40300)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:17:00 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6e0fb6db613e474e8800e079bdeaa6c0", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1702)
Started GET "/admin/site_settings?plugin=discourse-gamification" for 101.88.59.63 at 2025-01-02 09:17:06 +0000
Processing by Admin::SiteSettingsController#index as JSON
  Parameters: {"plugin"=>"discourse-gamification"}
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 4370)
Started PUT "/admin/site_settings/discourse_gamification_enabled" for 101.88.59.63 at 2025-01-02 09:17:10 +0000
Processing by Admin::SiteSettingsController#update as */*
  Parameters: {"discourse_gamification_enabled"=>"true", "id"=>"discourse_gamification_enabled"}
Completed 200 OK in 118ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 16445)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:17:19 +0000
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:17:19 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6e0fb6db613e474e8800e079bdeaa6c0", "leave_channels"=>["/chat-user/core/1"], "authenticity_token"=>"PLlUQFalOwqxIviOC7tqwDGAyTd5JJKIvSSkrNL_7c3ohydVw_m-CBzw_CC4jYm8EkQhk-UGcHdhHe-bH-URHg"}
Processing by Admin::PluginsController#index as HTML
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1908)
Completed 500 Internal Server Error in 342ms (ActiveRecord: 0.0ms | Allocations: 118512)
[ N 2025-01-02 09:17:34.2539 929/T5 age/Cor/CoreMain.cpp:1147 ]: Checking whether to disconnect long-running connections for process 3464, application /opt/bitnami/discourse (production)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:17:36 +0000
Processing by Admin::PluginsController#index as HTML
  Rendered layout layouts/application.html.erb (Duration: 23.6ms | Allocations: 4921)
Completed 200 OK in 176ms (Views: 25.9ms | ActiveRecord: 0.0ms | Allocations: 30060)
Started GET "/chat/api/me/channels" for 101.88.59.63 at 2025-01-02 09:17:37 +0000
Processing by Chat::Api::CurrentUserChannelsController#index as JSON
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:17:37 +0000
Started GET "/presence/get?channels%5B%5D=%2Fchat-user%2Fchat%2F1&channels%5B%5D=%2Fchat-user%2Fcore%2F1" for 101.88.59.63 at 2025-01-02 09:17:37 +0000
Processing by PresenceController#get as JSON
  Parameters: {"channels"=>["/chat-user/chat/1", "/chat-user/core/1"]}
Processing by Admin::PluginsController#index as JSON
Completed 200 OK in 20ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 2068)
Completed 200 OK in 75ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 8290)
Completed 500 Internal Server Error in 154ms (ActiveRecord: 0.0ms | Allocations: 23514)
Started GET "/manifest.webmanifest" for 101.88.59.63 at 2025-01-02 09:17:38 +0000
Processing by MetadataController#manifest as */*
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 1671)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:17:38 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 2621)
[ N 2025-01-02 09:17:41.5569 929/T5 age/Cor/CoreMain.cpp:1147 ]: Checking whether to disconnect long-running connections for process 3550, application /opt/bitnami/discourse (production)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:18:08 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1599)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:18:39 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 48ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 4775)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:18:56 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1692)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:18:58 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "leave_channels"=>["/chat-user/core/1"], "authenticity_token"=>"Zli3Y0MIHjPRf6cbl4I_68-SEmKRcalcx5eDpr6K2--yZsR21lSbMXyto7UktNyX7Fb6xg1TS6MbrsiRc5AnPA"}
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:18:58 +0000
Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1813)
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.0ms | Allocations: 5840)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:18:59 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 48ms (ActiveRecord: 0.0ms | Allocations: 7121)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:19:00 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms | Allocations: 6178)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:20:13 +0000
Processing by Admin::PluginsController#index as */*
  Rendered layout layouts/application.html.erb (Duration: 23.2ms | Allocations: 4921)
Completed 200 OK in 172ms (Views: 24.3ms | ActiveRecord: 0.0ms | Allocations: 28125)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by Admin::PluginsController#index as HTML
  Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 4858)
Completed 200 OK in 120ms (Views: 20.5ms | ActiveRecord: 0.0ms | Allocations: 24166)
Started GET "/stylesheets/poll_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Started GET "/stylesheets/discourse-details_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Started GET "/stylesheets/discourse-narrative-bot_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"discourse-narrative-bot_c9329d4b10403b211b159d1b9d061b80798c729b"}
Started GET "/stylesheets/checklist_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"checklist_c9329d4b10403b211b159d1b9d061b80798c729b"}
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"discourse-details_c9329d4b10403b211b159d1b9d061b80798c729b"}
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"poll_c9329d4b10403b211b159d1b9d061b80798c729b"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/poll_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 24ms (ActiveRecord: 0.0ms | Allocations: 1524)
Started GET "/stylesheets/color_definitions_base__1_0c14daed9312c6fd9ad104a6f6c905db8f563191.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"color_definitions_base__1_0c14daed9312c6fd9ad104a6f6c905db8f563191"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/color_definitions_base__1_0c14daed9312c6fd9ad104a6f6c905db8f563191.css.map (0.7ms)
Completed 200 OK in 25ms (ActiveRecord: 0.0ms | Allocations: 1522)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/checklist_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 92ms (ActiveRecord: 0.0ms | Allocations: 4692)
Started GET "/stylesheets/desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"desktop_c9329d4b10403b211b159d1b9d061b80798c729b"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/discourse-narrative-bot_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 112ms (ActiveRecord: 0.0ms | Allocations: 4714)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 13ms (ActiveRecord: 0.0ms | Allocations: 1522)
Started GET "/stylesheets/desktop_theme_1_d62766383d735b39608bac6fcf403646e8dd043e.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"desktop_theme_1_d62766383d735b39608bac6fcf403646e8dd043e"}
Started GET "/stylesheets/poll_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"poll_desktop_c9329d4b10403b211b159d1b9d061b80798c729b"}
Started GET "/stylesheets/chat_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/desktop_theme_1_d62766383d735b39608bac6fcf403646e8dd043e.css.map (0.3ms)
Completed 200 OK in 19ms (ActiveRecord: 0.0ms | Allocations: 1518)
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"chat_desktop_c9329d4b10403b211b159d1b9d061b80798c729b"}
Started GET "/stylesheets/footnote_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"footnote_c9329d4b10403b211b159d1b9d061b80798c729b"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/discourse-details_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 167ms (ActiveRecord: 0.0ms | Allocations: 4715)
Started GET "/stylesheets/discourse-local-dates_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/footnote_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"discourse-local-dates_c9329d4b10403b211b159d1b9d061b80798c729b"}
Completed 200 OK in 24ms (ActiveRecord: 0.0ms | Allocations: 1519)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/poll_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.3ms)
Completed 200 OK in 45ms (ActiveRecord: 0.0ms | Allocations: 1522)
Started GET "/stylesheets/discourse-presence_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"discourse-presence_c9329d4b10403b211b159d1b9d061b80798c729b"}
Started GET "/stylesheets/chat_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"chat_c9329d4b10403b211b159d1b9d061b80798c729b"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/discourse-local-dates_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 27ms (ActiveRecord: 0.0ms | Allocations: 1519)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/discourse-presence_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 17ms (ActiveRecord: 0.0ms | Allocations: 1521)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/chat_desktop_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.4ms)
Started GET "/stylesheets/spoiler-alert_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Completed 200 OK in 64ms (ActiveRecord: 0.0ms | Allocations: 1520)
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"spoiler-alert_c9329d4b10403b211b159d1b9d061b80798c729b"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/chat_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Completed 200 OK in 26ms (ActiveRecord: 0.0ms | Allocations: 1518)
Started GET "/stylesheets/color_definitions_dark_1_1_c391de0dec6fecb7968d22701b33ad0bb41816c2.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Started GET "/stylesheets/discourse-lazy-videos_c9329d4b10403b211b159d1b9d061b80798c729b.css.map?__ws=forum.wangyx.com" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/spoiler-alert_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.2ms)
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"discourse-lazy-videos_c9329d4b10403b211b159d1b9d061b80798c729b"}
Completed 200 OK in 11ms (ActiveRecord: 0.0ms | Allocations: 1522)
Processing by StylesheetsController#show_source_map as */*
  Parameters: {"__ws"=>"forum.wangyx.com", "name"=>"color_definitions_dark_1_1_c391de0dec6fecb7968d22701b33ad0bb41816c2"}
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/discourse-lazy-videos_c9329d4b10403b211b159d1b9d061b80798c729b.css.map (0.3ms)
Completed 200 OK in 15ms (ActiveRecord: 0.0ms | Allocations: 1519)
Sent file /opt/bitnami/discourse/tmp/stylesheet-cache/color_definitions_dark_1_1_c391de0dec6fecb7968d22701b33ad0bb41816c2.css.map (0.2ms)
Completed 200 OK in 13ms (ActiveRecord: 0.0ms | Allocations: 1522)
Started GET "/chat/api/me/channels" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by Chat::Api::CurrentUserChannelsController#index as JSON
Started GET "/presence/get?channels%5B%5D=%2Fchat-user%2Fchat%2F1&channels%5B%5D=%2Fchat-user%2Fcore%2F1" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by PresenceController#get as JSON
  Parameters: {"channels"=>["/chat-user/chat/1", "/chat-user/core/1"]}
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by Admin::PluginsController#index as JSON
Completed 200 OK in 24ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 2079)
Completed 200 OK in 69ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 8280)
Completed 500 Internal Server Error in 146ms (ActiveRecord: 0.0ms | Allocations: 22757)
Started GET "/manifest.webmanifest" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by MetadataController#manifest as */*
Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 1670)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:20:18 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"37183f8cd6194f63ab13accc1ba4dbde", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 2530)
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:5: warning: already initialized constant DiscourseAutomation::Scripts::ADD_USER_TO_GROUP_THROUGH_CUSTOM_FIELD
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:5: warning: previous definition of ADD_USER_TO_GROUP_THROUGH_CUSTOM_FIELD was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:6: warning: already initialized constant DiscourseAutomation::Scripts::APPEND_LAST_CHECKED_BY
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:6: warning: previous definition of APPEND_LAST_CHECKED_BY was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:7: warning: already initialized constant DiscourseAutomation::Scripts::APPEND_LAST_EDITED_BY
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:7: warning: previous definition of APPEND_LAST_EDITED_BY was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:8: warning: already initialized constant DiscourseAutomation::Scripts::AUTO_RESPONDER
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:8: warning: previous definition of AUTO_RESPONDER was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:9: warning: already initialized constant DiscourseAutomation::Scripts::AUTO_TAG_TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:9: warning: previous definition of AUTO_TAG_TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:10: warning: already initialized constant DiscourseAutomation::Scripts::BANNER_TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:10: warning: previous definition of BANNER_TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:11: warning: already initialized constant DiscourseAutomation::Scripts::CLOSE_TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:11: warning: previous definition of CLOSE_TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:12: warning: already initialized constant DiscourseAutomation::Scripts::FLAG_POST_ON_WORDS
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:12: warning: previous definition of FLAG_POST_ON_WORDS was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:13: warning: already initialized constant DiscourseAutomation::Scripts::GIFT_EXCHANGE
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:13: warning: previous definition of GIFT_EXCHANGE was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:14: warning: already initialized constant DiscourseAutomation::Scripts::GROUP_CATEGORY_NOTIFICATION_DEFAULT
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:14: warning: previous definition of GROUP_CATEGORY_NOTIFICATION_DEFAULT was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:15: warning: already initialized constant DiscourseAutomation::Scripts::PIN_TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:15: warning: previous definition of PIN_TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:16: warning: already initialized constant DiscourseAutomation::Scripts::POST
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:16: warning: previous definition of POST was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:17: warning: already initialized constant DiscourseAutomation::Scripts::SEND_PMS
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:17: warning: previous definition of SEND_PMS was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:18: warning: already initialized constant DiscourseAutomation::Scripts::SUSPEND_USER_BY_EMAIL
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:18: warning: previous definition of SUSPEND_USER_BY_EMAIL was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:19: warning: already initialized constant DiscourseAutomation::Scripts::TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:19: warning: previous definition of TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:20: warning: already initialized constant DiscourseAutomation::Scripts::TOPIC_REQUIRED_WORDS
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:20: warning: previous definition of TOPIC_REQUIRED_WORDS was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:21: warning: already initialized constant DiscourseAutomation::Scripts::USER_GLOBAL_NOTICE
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:21: warning: previous definition of USER_GLOBAL_NOTICE was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:22: warning: already initialized constant DiscourseAutomation::Scripts::USER_GROUP_MEMBERSHIP_THROUGH_BADGE
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:22: warning: previous definition of USER_GROUP_MEMBERSHIP_THROUGH_BADGE was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:23: warning: already initialized constant DiscourseAutomation::Scripts::ZAPIER_WEBHOOK
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/scripts.rb:23: warning: previous definition of ZAPIER_WEBHOOK was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:5: warning: already initialized constant DiscourseAutomation::Triggers::AFTER_POST_COOK
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:5: warning: previous definition of AFTER_POST_COOK was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:6: warning: already initialized constant DiscourseAutomation::Triggers::API_CALL
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:6: warning: previous definition of API_CALL was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:7: warning: already initialized constant DiscourseAutomation::Triggers::CATEGORY_CREATED_EDITED
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:7: warning: previous definition of CATEGORY_CREATED_EDITED was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:8: warning: already initialized constant DiscourseAutomation::Triggers::PM_CREATED
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:8: warning: previous definition of PM_CREATED was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:9: warning: already initialized constant DiscourseAutomation::Triggers::POINT_IN_TIME
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:9: warning: previous definition of POINT_IN_TIME was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:10: warning: already initialized constant DiscourseAutomation::Triggers::POST_CREATED_EDITED
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:10: warning: previous definition of POST_CREATED_EDITED was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:11: warning: already initialized constant DiscourseAutomation::Triggers::RECURRING
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:11: warning: previous definition of RECURRING was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:12: warning: already initialized constant DiscourseAutomation::Triggers::STALLED_TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:12: warning: previous definition of STALLED_TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:13: warning: already initialized constant DiscourseAutomation::Triggers::STALLED_WIKI
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:13: warning: previous definition of STALLED_WIKI was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:14: warning: already initialized constant DiscourseAutomation::Triggers::TOPIC
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:14: warning: previous definition of TOPIC was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:15: warning: already initialized constant DiscourseAutomation::Triggers::USER_ADDED_TO_GROUP
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:15: warning: previous definition of USER_ADDED_TO_GROUP was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:16: warning: already initialized constant DiscourseAutomation::Triggers::USER_BADGE_GRANTED
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:16: warning: previous definition of USER_BADGE_GRANTED was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:17: warning: already initialized constant DiscourseAutomation::Triggers::USER_FIRST_LOGGED_IN
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:17: warning: previous definition of USER_FIRST_LOGGED_IN was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:18: warning: already initialized constant DiscourseAutomation::Triggers::USER_PROMOTED
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:18: warning: previous definition of USER_PROMOTED was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:19: warning: already initialized constant DiscourseAutomation::Triggers::USER_REMOVED_FROM_GROUP
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:19: warning: previous definition of USER_REMOVED_FROM_GROUP was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:20: warning: already initialized constant DiscourseAutomation::Triggers::USER_UPDATED
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers.rb:20: warning: previous definition of USER_UPDATED was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers/recurring.rb:6: warning: already initialized constant DiscourseAutomation::Triggers::Recurring::RECURRENCE_CHOICES
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers/recurring.rb:6: warning: previous definition of RECURRENCE_CHOICES was here
App 3989 output: /opt/bitnami/discourse/plugins/automation/lib/discourse_automation/triggers/stalled_wiki.rb:6: warning: already initialized constant DiscourseAutomation::Triggers::StalledWiki::DURATION_CHOICES
App 3989 output: /bitnami/discourse/plugins/automation/lib/discourse_automation/triggers/stalled_wiki.rb:6: warning: previous definition of DURATION_CHOICES was here
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:20:38 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"37183f8cd6194f63ab13accc1ba4dbde", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 2035)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:21:09 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"37183f8cd6194f63ab13accc1ba4dbde", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1599)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:21:41 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"37183f8cd6194f63ab13accc1ba4dbde", "present_channels"=>["/chat-user/core/1"]}
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1598)

I will try to find a solution.

You need the specific server error associated with the 500 response. It should be in the error log.

2 Likes
Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1692)
Started POST "/presence/update" for 101.88.59.63 at 2025-01-02 09:18:58 +0000
Processing by PresenceController#update as */*
  Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "leave_channels"=>["/chat-user/core/1"], "authenticity_token"=>"Zli3Y0MIHjPRf6cbl4I_68-SEmKRcalcx5eDpr6K2--yZsR21lSbMXyto7UktNyX7Fb6xg1TS6MbrsiRc5AnPA"}
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:18:58 +0000
Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1813)
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.0ms | Allocations: 5840)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:18:59 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 48ms (ActiveRecord: 0.0ms | Allocations: 7121)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:19:00 +0000
Processing by Admin::PluginsController#index as HTML
Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms | Allocations: 6178)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:20:13 +0000
Processing by Admin::PluginsController#index as */*
  Rendered layout layouts/application.html.erb (Duration: 23.2ms | Allocations: 4921)
Completed 200 OK in 172ms (Views: 24.3ms | ActiveRecord: 0.0ms | Allocations: 28125)
Started GET "/admin/plugins" for 101.88.59.63 at 2025-01-02 09:20:17 +0000
Processing by Admin::PluginsController#index as HTML
  Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 4858)
Completed 200 OK in 120ms (Views: 20.5ms | ActiveRecord: 0.0ms | Allocations: 24166)

It looks similar to contain log.

it would be good if you could get the full backtrace on each of those 500 errors.

But they are related to Active Record, so it’s very likely you’ve not run migrations on the plugins.

2 Likes

Sorry, I can get these only due to limit of console.

You should be able to enter your container with something like

  docker exec -it container_name bash

and then

 rake db:migrate
2 Likes

Actually I use the following command to install plugins:

RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/discourse/discourse-gamification.git 
RAILS_ENV=production bundle exec rake assets:precompile

Should I also run rake db:migrate?

Yes. How else do you expect the plugins tables to be created?

This should be part of your build script so whenever you add another plugin, or a plugin is updated, any required migrations are run.

4 Likes

Unfortunately, there are still some errors. Maybe the problem is about version.

== 20241203125523 DropOldDiscourseVotingTables: migrated (0.0089s) ============

== 20241210081242 RenameSequences: migrating ==================================
-- execute("ALTER SEQUENCE discourse_voting_topic_vote_count_id_seq\nRENAME TO topic_voting_topic_vote_count_id_seq;\n")
   -> 0.0007s
-- execute("ALTER SEQUENCE discourse_voting_votes_id_seq\nRENAME TO topic_voting_votes_id_seq;\n")
   -> 0.0007s
-- execute("ALTER SEQUENCE discourse_voting_category_settings_id_seq\nRENAME TO topic_voting_category_settings_id_seq;\n")
   -> 0.0004s
== 20241210081242 RenameSequences: migrated (0.0030s) =========================

rake aborted!
ArgumentError: Unknown migration version "7.2"; expected one of "4.2", "5.0", "5.1", "5.2", "6.0", "6.1", "7.0", "7.1" (ArgumentError)

          raise ArgumentError, "Unknown migration version #{version.inspect}; expected one of #{versions.sort.join(', ')}"
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/bitnami/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/migration/compatibility.rb:11:in `find'
/opt/bitnami/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/migration.rb:614:in `[]'
/opt/bitnami/discourse/plugins/discourse-assign/db/migrate/20241212113000_create_silenced_assignments.rb:2:in `<main>'

that’s correct. Likely Rails gem is out of date which suggests your base image might be too old.

3 Likes