Hola, instalo algunos complementos. Cuando estos complementos no están habilitados, el discurso es bueno. Sin embargo, cuando intento habilitar varios complementos, aparece un error 500. Por ejemplo, habilito el complemento de seguimiento, está bien, luego habilito el complemento de gamificación, ocurre un error. ¿Por qué? ¿No son compatibles los diferentes complementos?
Quiero usar muchos complementos, pero no puedo averiguar qué complementos se pueden componer. Lo he intentado muchas veces, ¿hay buenos ejemplos?
Hola, actualmente estoy usando el plugin y me funciona muy bien. Ninguno de los dos plugins está obsoleto y ambos funcionan bien. Probablemente te estés enfrentando a algún otro problema técnico, relacionado con tu CPU. Solo para tu información, ¿cuántos plugins tienes instalados? Por favor, intenta habilitar solo los plugins Follow y Gamification y comprueba si te funcionan bien. Además, puedes intentar ejecutar launcher rebuild para ver si resuelve algún problema relacionado con la instalación de plugins.
@ishua_wang Si miras en /logs (si puedes), ¿qué tipo de errores ves?
Además, ¿estás usando una instancia configurada con un unsupported-install?
Gracias por tu respuesta. No puedo usar el comando de compilación porque es una instalación no oficial.
/logs muestra 502 Bad Gateway. Sí, la mía es una instalación no oficial porque uso una herramienta de devops para administrar el contenedor de Docker.
Entiendo. No es una instalación de desarrollo, ¿correcto? Si no lo es, es posible que tenga que hacer una copia de seguridad de su base de datos y subirla a un servidor nuevo, en una instalación compatible.
No es una instalación de desarrollo. Pero no sé cómo instalar una versión compatible dentro de una herramienta de DevOps. Esto es, instalar Discourse solo con Docker Compose. La instalación oficial no satisface mis necesidades.
Es totalmente posible ejecutar un Discourse de esta manera (con docker compose) con varios plugins; lo he hecho para un cliente.
Sin embargo, obtener soporte gratuito para esta configuración puede ser un desafío.
Te sugiero que perseveres y publiques en Marketplace si te quedas completamente atascado.
Por supuesto, ayudaría si pudieras compartir el error 500 y su traza de pila…
Mi sospecha es que no has migrado la base de datos, una tarea que se encarga de los scripts de compilación compatibles. Supongo que el error 500 se quejará de una tabla faltante…
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.
Necesitas el error específico del servidor asociado con la respuesta 500. Debería estar en el registro de errores.
Completado 200 OK en 26ms (Vistas: 0.2ms | ActiveRecord: 0.0ms | Asignaciones: 1692)
Iniciado POST "/presence/update" para 101.88.59.63 en 2025-01-02 09:18:58 +0000
Procesando por PresenceController#update como */*
Parámetros: {"client_id"=>"6db14fefb0f34b43a494019eead6d671", "leave_channels"=>["/chat-user/core/1"], "authenticity_token"=>"Zli3Y0MIHjPRf6cbl4I_68-SEmKRcalcx5eDpr6K2--yZsR21lSbMXyto7UktNyX7Fb6xg1TS6MbrsiRc5AnPA"}
Iniciado GET "/admin/plugins" para 101.88.59.63 en 2025-01-02 09:18:58 +0000
Completado 200 OK en 15ms (Vistas: 0.2ms | ActiveRecord: 0.0ms | Asignaciones: 1813)
Procesando por Admin::PluginsController#index como HTML
Completado 500 Internal Server Error en 49ms (ActiveRecord: 0.0ms | Asignaciones: 5840)
Iniciado GET "/admin/plugins" para 101.88.59.63 en 2025-01-02 09:18:59 +0000
Procesando por Admin::PluginsController#index como HTML
Completado 500 Internal Server Error en 48ms (ActiveRecord: 0.0ms | Asignaciones: 7121)
Iniciado GET "/admin/plugins" para 101.88.59.63 en 2025-01-02 09:19:00 +0000
Procesando por Admin::PluginsController#index como HTML
Completado 500 Internal Server Error en 60ms (ActiveRecord: 0.0ms | Asignaciones: 6178)
Iniciado GET "/admin/plugins" para 101.88.59.63 en 2025-01-02 09:20:13 +0000
Procesando por Admin::PluginsController#index como */*
Renderizado layout layouts/application.html.erb (Duración: 23.2ms | Asignaciones: 4921)
Completado 200 OK en 172ms (Vistas: 24.3ms | ActiveRecord: 0.0ms | Asignaciones: 28125)
Iniciado GET "/admin/plugins" para 101.88.59.63 en 2025-01-02 09:20:17 +0000
Procesando por Admin::PluginsController#index como HTML
Renderizado layout layouts/application.html.erb (Duración: 18.9ms | Asignaciones: 4858)
Completado 200 OK en 120ms (Vistas: 20.5ms | ActiveRecord: 0.0ms | Asignaciones: 24166)
Parece similar a un registro de contenido.
sería bueno si pudieras obtener el backtrace completo en cada uno de esos 500 errores.
Pero están relacionados con Active Record, por lo que es muy probable que no hayas ejecutado migraciones en los plugins.
Lo siento, solo puedo obtenerlos debido al límite de la consola.
Deberías poder entrar en tu contenedor con algo como
docker exec -it nombre_del_contenedor bash
y luego
rake db:migrate
En realidad, uso el siguiente comando para instalar 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
¿También debería ejecutar rake db:migrate?
Sí. ¿Cómo esperas que se creen las tablas de plugins?
Esto debería ser parte de tu script de compilación para que cada vez que agregues otro plugin, o se actualice un plugin, se ejecuten las migraciones necesarias.
Lamentablemente, todavía hay algunos errores. Quizás el problema sea la versión.
== 20241203125523 DropOldDiscourseVotingTables: migrado (0.0089s) ===========
== 20241210081242 RenameSequences: migrando ==================================
-- 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: migrado (0.0030s) =========================
rake abortado!
ArgumentError: Versión de migración desconocida "7.2"; se esperaba una de "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>'
eso es correcto. Es probable que la gema de Rails esté desactualizada, lo que sugiere que tu imagen base podría ser demasiado antigua.


