こんにちは。いくつかのプラグインをインストールしました。これらのプラグインが有効になっていない場合、Discourse は正常に動作します。しかし、複数のプラグインを有効にしようとすると、500 エラーが発生します。例えば、フォロー プラグインを有効にすると問題なく動作しますが、ゲーミフィケーション プラグインを有効にするとエラーが発生します。なぜでしょうか?プラグイン同士は互換性がないのでしょうか?
多くのプラグインを使用したいのですが、どのプラグインを組み合わせることができるのか分かりません。何度も試しましたが、良い例はありますか?
こんにちは、現在プラグインを使用していますが、私にはうまく機能しています。どちらのプラグインも廃止されておらず、どちらも正常に機能しています。おそらく、CPUに関連する他の技術的な問題が発生しているのでしょう。参考までに、いくつプラグインがインストールされていますか?フォローとゲーミフィケーションのプラグインのみを有効にして、正常に機能するかどうかを確認してみてください。また、launcher rebuild を試して、プラグインのインストールに関連する問題を解決できるかどうかを確認することもできます。
@ishua_wang /logs(もし可能であれば)の下を見ると、どのようなエラーが表示されますか?
また、unsupported-install で設定されたインスタンスを使用していますか?
返信ありがとうございます。非公式インストールのため、ビルドコマンドを使用できません。
/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応答に関連する特定のサーバーエラーが必要です。エラーログにあるはずです。
26msで200 OKを完了しました(Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1692)
101.88.59.63 から POST "/presence/update" を開始しました 2025-01-02 09:18:58 +0000
PresenceController#update として処理します */*
Parameters: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "leave_channels"=>["/chat-user/core/1"], "authenticity_token"=>"Zli3Y0MIHjPRf6cbl4I_68-SEmKRcalcx5eDpr6K2--yZsR21lSbMXyto7UktNyX7Fb6xg1TS6MbrsiRc5AnPA"}
101.88.59.63 から GET "/admin/plugins" を開始しました 2025-01-02 09:18:58 +0000
15msで200 OKを完了しました(Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1813)
Admin::PluginsController#index として処理します HTML
49msで500 Internal Server Errorを完了しました(ActiveRecord: 0.0ms | Allocations: 5840)
101.88.59.63 から GET "/admin/plugins" を開始しました 2025-01-02 09:18:59 +0000
Admin::PluginsController#index として処理します HTML
48msで500 Internal Server Errorを完了しました(ActiveRecord: 0.0ms | Allocations: 7121)
101.88.59.63 から GET "/admin/plugins" を開始しました 2025-01-02 09:19:00 +0000
Admin::PluginsController#index として処理します HTML
60msで500 Internal Server Errorを完了しました(ActiveRecord: 0.0ms | Allocations: 6178)
101.88.59.63 から GET "/admin/plugins" を開始しました 2025-01-02 09:20:13 +0000
Admin::PluginsController#index として処理します */*
layouts/application.html.erb をレンダリングしました (Duration: 23.2ms | Allocations: 4921)
172msで200 OKを完了しました(Views: 24.3ms | ActiveRecord: 0.0ms | Allocations: 28125)
101.88.59.63 から GET "/admin/plugins" を開始しました 2025-01-02 09:20:17 +0000
Admin::PluginsController#index として処理します HTML
layouts/application.html.erb をレンダリングしました (Duration: 18.9ms | Allocations: 4858)
120msで200 OKを完了しました(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が古いため、ベースイメージが古すぎる可能性があります。


