خطأ HTTP 500 في صفحة المنتدى الرئيسية بعد ترقية Discourse

مرحبًا،

قمنا اليوم بترقية منتدانا إلى أحدث إصدار، لكننا تلقينا خطأ HTTP 500 في الصفحة الرئيسية. يظهر الرسالة التالية في ملف production.log داخل الحاوية عند فتح الصفحة الرئيسية مع خطأ 500:

Started GET “/” for 141.8.142.82 at 2021-08-25 21:44:06 +0000
Processing by CategoriesController#index as /
Completed 500 Internal Server Error in 163ms (ActiveRecord: 0.0ms | Allocations: 23021)
StandardError (Attempted to access the non preloaded custom field ‘TopicEventStartsAt’. This is disallowed to prevent N+1 queries.)
app/models/concerns/has_custom_fields.rb:173:in []' lib/plugin/instance.rb:284:in public_send’
lib/plugin/instance.rb:284:in block (2 levels) in add_to_class' (eval):47:in _fast_attributes’
lib/freedom_patches/ams_include_without_root.rb:57:in include!' app/controllers/categories_controller.rb:61:in block (2 levels) in index’
app/controllers/categories_controller.rb:40:in index' app/controllers/application_controller.rb:397:in block in with_resolved_locale’
app/controllers/application_controller.rb:397:in with_resolved_locale' lib/middleware/omniauth_bypass_middleware.rb:71:in call’
lib/content_security_policy/middleware.rb:12:in call' lib/middleware/anonymous_cache.rb:353:in call’
config/initializers/008-rack-cors.rb:25:in call' config/initializers/100-quiet_logger.rb:23:in call’
config/initializers/100-silence_logger.rb:31:in call' lib/middleware/enforce_hostname.rb:23:in call’
lib/middleware/request_tracker.rb:187:in `call’

لقد حاولت إعادة بناء الحاوية، لكن المشكلة لم تختفِ. تعمل صفحة المسؤول دون أي مشاكل. ما الذي يجب علينا فعله لإصلاح المنتدى؟

نستخدم الإضافات التالية (كانت تعمل جميعها بشكل صحيح قبل إكمال الترقية):

      - git clone https://github.com/discourse/docker_manager.git
      - git clone https://github.com/angusmcleod/discourse-quick-messages.git
      - git clone https://github.com/davidtaylorhq/discourse-whos-online.git
      - git clone https://github.com/discourse/discourse-adplugin.git
      - git clone https://github.com/Toxuru/discourse-sidebar-categories.git
      - git clone https://github.com/pmusaraj/discourse-sidebar-blocks.git
      - git clone https://github.com/discourse/discourse-tooltips.git
      - git clone https://github.com/discourse/discourse-saved-searches.git
      - git clone https://github.com/davidtaylorhq/discourse-telegram-notifications.git
      - git clone https://github.com/discourse/discourse-calendar.git
      - git clone https://github.com/discourse/discourse-push-notifications.git
      - git clone https://github.com/joebuhlig/discourse-mlm-daily-summary.git
      - git clone https://github.com/discourse/discourse-solved.git
      - git clone https://github.com/discourse/discourse-hamburger-theme-selector.git
      - git clone https://github.com/discourse/discourse-user-notes.git
      - git clone https://github.com/angusmcleod/discourse-question-answer
      - git clone https://github.com/discourse/discourse-cakeday.git
      - git clone https://github.com/discourse/discourse-yearly-review.git
      - git clone https://github.com/discourse/discourse-subscriptions.git
      - git clone https://github.com/discourse/discourse-signatures.git
      - git clone https://github.com/discourse/discourse-sitemap.git
      - git clone https://github.com/merefield/discourse-user-network-vis.git
      - git clone https://github.com/discourse/discourse-reactions.git
      - git clone https://github.com/discourse/discourse-automation.git
      - git clone https://github.com/discourse/discourse-assign.git

موقعنا https://club.klerk.ru/

نحن على علم بالموضوع ونجري التحقيق! يبدو أن الأمر قد يكون بسبب التزام (commit) معطّل يتسبب في المشكلة.

لقد حددنا التزامًا في Solved قد يكون سببًا في حدوث تعارض.

تم التراجع عنه، لذا يُرجى إعادة البناء وإخبارنا إذا استمرت المشكلات.

7 إعجابات

شكرًا جزيلاً. لا توجد أخطاء الآن.

إعجابَين (2)

تم إغلاق هذا الموضوع تلقائيًا بعد 30 يومًا من آخر رد. لم يعد مسموحًا بإضافة ردود جديدة.