您好,我安装了一些插件。当这些插件未启用时,Discourse 运行良好。但是,当我尝试启用多个插件时,就会出现 500 错误。例如,我启用 follow 插件,一切正常,然后我启用 gamification 插件,就会出现错误。为什么?插件之间不兼容吗?
我想使用很多插件,但我无法弄清楚哪些插件可以组合使用。我尝试了很多次,有什么好的例子吗?
嘿,我目前正在使用该插件,它对我来说效果很好。这两个插件都没有弃用,并且都可以正常工作。您可能遇到了其他技术问题,很可能与您的 CPU 有关。仅供您参考,您安装了多少个插件?请尝试仅启用“关注”和“游戏化”插件,看看它们是否对您有效。此外,您可以尝试运行 launcher rebuild 来查看是否可以解决任何与插件安装相关的问题。
@ishua_wang 如果您能查看 /logs 目录,您会看到什么类型的错误?另外,您使用的是通过 unsupported-install 设置的实例吗?
感谢回复。我无法使用 build 命令,因为它是一个非官方安装。
/logs 显示 502 Bad Gateway。是的,我的安装是非官方的,因为我使用 devops 工具来管理 docker 容器。
我明白了。这不是开发人员安装,对吗?如果不是,您可能需要备份数据库并将其上传到新的服务器上,进行支持的安装。
这不是开发安装。但我不知道如何在 DevOps 工具中安装受支持的版本。这是,仅使用 docker compose 安装 discourse。官方安装不满足我的需求。
完全有可能通过这种方式(使用 docker compose)运行 Discourse 并安装多个插件——我曾为客户这样做过。
但是,免费获得这种配置的支持可能是一个挑战。
我建议你坚持下去,如果完全卡住了,请在 Marketplace 版块发帖。
当然,如果你能分享 500 错误及其回溯信息,将会有所帮助……
我怀疑你没有迁移数据库——这是受支持的构建脚本会处理的任务。我猜 500 错误会抱怨缺少表……
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.
您需要与 500 响应关联的特定服务器错误。它应该在错误日志中。
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)
这看起来像是包含日志。
如果能获取到这 500 个错误的完整回溯信息就更好了。
但它们与 Active Record 相关,所以很可能你没有在插件上运行迁移。
抱歉,由于控制台的限制,我只能获取这些。
您应该能够使用类似以下命令进入容器:
docker exec -it container_name bash
然后执行:
rake db:migrate
实际上,我使用以下命令来安装插件:
RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/discourse/discourse-gamification.git
RAILS_ENV=production bundle exec rake assets:precompile
我是否也应该运行 rake db:migrate?
是的。你还期望以其他方式创建插件表吗?
这应该是你的构建脚本的一部分,这样每当你添加另一个插件或更新插件时,都会运行任何必需的迁移。
抱歉,仍然存在一些错误。也许问题出在版本上。
== 20241203125523 DropOldDiscourseVotingTables: migrated (0.0089s) ===========
== 20241210081242 RenameSequences: migrating ==================================
-- execute("ALTER SEQUENCE discourse_voting_topic_vote_count_id_seq
RENAME TO topic_voting_topic_vote_count_id_seq;
")
-> 0.0007s
-- execute("ALTER SEQUENCE discourse_voting_votes_id_seq
RENAME TO topic_voting_votes_id_seq;
")
-> 0.0007s
-- execute("ALTER SEQUENCE discourse_voting_category_settings_id_seq
RENAME TO topic_voting_category_settings_id_seq;
")
-> 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>'
这是正确的。很可能是 Rails gem 过时了,这意味着您的基础映像可能太旧了。


