Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oops caused by install plugins in discourse #75943

Open
IshuaWang opened this issue Jan 2, 2025 · 4 comments
Open

Oops caused by install plugins in discourse #75943

IshuaWang opened this issue Jan 2, 2025 · 4 comments
Assignees
Labels
discourse in-progress tech-issues The user has a technical issue about an application

Comments

@IshuaWang
Copy link

IshuaWang commented Jan 2, 2025

Name and Version

bitnami/discourse:3.3.3

What architecture are you using?

amd64

What steps will reproduce the bug?

Install the app using the docker file on ubuntu22.

networks:
    1panel-network:
        external: true
services:
    discourse:
        container_name: ${CONTAINER_NAME}
        deploy:
            resources:
                limits:
                    cpus: ${CPUS}
                    memory: ${MEMORY_LIMIT}
        environment:
            DISCOURSE_DATABASE_HOST: ${PANEL_DB_HOST}
            DISCOURSE_DATABASE_NAME: ${PANEL_DB_NAME}
            DISCOURSE_DATABASE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
            DISCOURSE_DATABASE_PORT_NUMBER: ${PANEL_DB_PORT}
            DISCOURSE_DATABASE_USER: ${PANEL_DB_USER}
            DISCOURSE_EMAIL: ${DISCOURSE_EMAIL}
            DISCOURSE_HOST: ${DISCOURSE_HOST}
            DISCOURSE_PASSWORD: ${DISCOURSE_PASSWORD}
            DISCOURSE_REDIS_HOST: ${PANEL_REDIS_HOST}
            DISCOURSE_REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
            DISCOURSE_SMTP_HOST: xxxxxxxxx
            DISCOURSE_SMTP_PASSWORD: xxxxxxx
            DISCOURSE_SMTP_PORT_NUMBER: 25
            DISCOURSE_SMTP_PROTOCOL: tls
            DISCOURSE_SMTP_USER: xxxxxxxxxx
            DISCOURSE_USERNAME: ${DISCOURSE_USERNAME}
            POSTGRESQL_CLIENT_CREATE_DATABASE_EXTENSIONS: hstore,pg_trgm
            POSTGRESQL_CLIENT_CREATE_DATABASE_NAME: ${PANEL_DB_NAME}
            POSTGRESQL_CLIENT_POSTGRES_PASSWORD: ${PANEL_DB_USER_PASSWORD}
            POSTGRESQL_CLIENT_POSTGRES_USER: ${PANEL_DB_USER}
        image: bitnami/discourse:3.3.3
        labels:
            createdBy: Apps
        networks:
            - 1panel-network
        ports:
            - ${HOST_IP}:${PANEL_APP_PORT_HTTP}:3000
        restart: always
        volumes:
            - ./data/discourse:/bitnami/discourse
    sidekiq:
        command: /opt/bitnami/scripts/discourse-sidekiq/run.sh
        container_name: ${CONTAINER_NAME}-sidekiq
        depends_on:
            - discourse
        environment:
            DISCOURSE_DATABASE_HOST: ${PANEL_DB_HOST}
            DISCOURSE_DATABASE_NAME: ${PANEL_DB_NAME}
            DISCOURSE_DATABASE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
            DISCOURSE_DATABASE_PORT_NUMBER: ${PANEL_DB_PORT}
            DISCOURSE_DATABASE_USER: ${PANEL_DB_USER}
            DISCOURSE_HOST: ${DISCOURSE_HOST}
            DISCOURSE_REDIS_HOST: ${PANEL_REDIS_HOST}
            DISCOURSE_REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
            DISCOURSE_SMTP_HOST: xxxxx
            DISCOURSE_SMTP_PASSWORD: xxxxx
            DISCOURSE_SMTP_PORT_NUMBER: 25
            DISCOURSE_SMTP_PROTOCOL: tls
            DISCOURSE_SMTP_USER: xxxxxxxx
        image: bitnami/discourse:3.3.3
        labels:
            createdBy: Apps
        networks:
            - 1panel-network
        restart: always
        volumes:
            - ./data/sidekiq:/bitnami/discourse

Then, log in to the container and install some plugins provided by official websites according to your instructions.

cd /opt/bitnami/discourse
RAILS_ENV=production bundle exec rake plugin:install repo=PLUGIN_REPO_URL
RAILS_ENV=production bundle exec rake assets:precompile

the plugs are as follows, actually, I just tried some of them and they will trigger the error.

discourse-adplugin discourse-akismet discourse-calendar discourse-follow discourse-gamification discourse-math  discourse-reactions  discourse-solved  discourse-staff-alias discourse-subscriptions discourse-topic-voting

Then if you refresh the page /admin/plugins, the error of Oop occurs, which causes you to have to reinstall discourse.

What is the expected behavior?

It should run without errors.

What do you see instead?

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)

image
image
image

I reinstalled the app, so the previous log is missing. But I will offer the log using the current container later. 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)
@IshuaWang IshuaWang added the tech-issues The user has a technical issue about an application label Jan 2, 2025
@github-actions github-actions bot added the triage Triage is needed label Jan 2, 2025
@github-actions github-actions bot removed the triage Triage is needed label Jan 2, 2025
@github-actions github-actions bot assigned jotamartos and unassigned javsalgar Jan 2, 2025
@IshuaWang
Copy link
Author

IshuaWang commented Jan 3, 2025

I got the cause, which is I didn't migrate the database. But when I do it, there are still some errors:

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

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

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

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

Likely Rails gem is out of date. Maybe base image might be a little old. I don't know whether it will be OK if upgrade ruby to 3.3.6.

@IshuaWang
Copy link
Author

IshuaWang commented Jan 3, 2025

I got the cause, which is I didn't migrate the database. But when I do it, there are still some errors:

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

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

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

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

Likely Rails gem is out of date. Maybe base image might be a little old. I don't know whether it will be OK if upgrade ruby to 3.3.6.

This error may be caused by discourse-assign plugin. Discourse-solved plugin doesn't work well too.

@jotamartos
Copy link
Contributor

Hi @IshuaWang,

I tried to reproduce the issue, but the plugin installation worked fine. I used the Bitnami Discourse chart for this, didn't use the container, due to it implements the logic to install plugins

https://github.com/bitnami/charts/blob/main/bitnami/discourse/templates/deployment.yaml#L107

If you take a look at it, it not only runs the install command but also the update_all and pull_compatible_all ones. Remember to use "discourse" as user when running the commands so you do not run into permissions issues. After that, the plugin works as expected

Screenshot 2025-01-13 at 17 15 23

@IshuaWang
Copy link
Author

thanks for your efforts. I will try later with discourse user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discourse in-progress tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

4 participants