Ошибка 500 при пересборке сегодня

Я установил новый плагин (календарь) и выполнил пересборку после завершения. Я обнаружил это сообщение.

Ой
Программное обеспечение, управляющее этим форумом обсуждений, столкнулось с неожиданной проблемой. Приносим извинения за неудобства.
Подробная информация об ошибке была записана в журнал, и было автоматически отправлено уведомление. Мы разберёмся с этим.
Никаких дополнительных действий не требуется. Однако, если ошибка сохраняется, вы можете предоставить дополнительные сведения, включая шаги для воспроизведения ошибки, создав тему в категории обратной связи на сайте.

Вот лог ошибки:

Сообщение
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Ошибка: падеж множественного числа "one" не действителен для этой локали на строке 4, столбце 15:>})
lib/js_locale_helper.rb:153:in `output_MF'
app/controllers/extra_locales_controller.rb:53:in `bundle_js'
app/controllers/extra_locales_controller.rb:29:in `bundle_js_hash'
app/controllers/extra_locales_controller.rb:38:in `url'
app/views/layouts/application.html.erb:40
lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
lib/topic_list_responder.rb:8:in `respond_with_list'
app/controllers/list_controller.rb:342:in `block (2 levels) in <class:ListController>'
app/controllers/list_controller.rb:312:in `public_send'
app/controllers/list_controller.rb:312:in `top'
app/controllers/application_controller.rb:424:in `block in with_resolved_locale'
app/controllers/application_controller.rb:424:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:64:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:393:in `call'
lib/middleware/csp_script_nonce_injector.rb:12:in `call'
config/initializers/008-rack-cors.rb:14:in `call'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:35:in `call_app'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:22:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
lib/middleware/request_tracker.rb:360:in `call'
Обратная трассировка
messageformat-wrapper (1.0.0) lib/messageformat.rb:26:in `rescue in compile'
messageformat-wrapper (1.0.0) lib/messageformat.rb:23:in `compile'
messageformat-wrapper (1.0.0) lib/messageformat.rb:8:in `compile'
lib/js_locale_helper.rb:153:in `output_MF'
app/controllers/extra_locales_controller.rb:53:in `bundle_js'
app/controllers/extra_locales_controller.rb:29:in `bundle_js_hash'
app/controllers/extra_locales_controller.rb:38:in `url'
app/views/layouts/application.html.erb:40
actionview (7.1.3.4) lib/action_view/base.rb:264:in `public_send'
actionview (7.1.3.4) lib/action_view/base.rb:264:in `_run'
actionview (7.1.3.4) lib/action_view/template.rb:261:in `block in render'
activesupport (7.1.3.4) lib/active_support/notifications.rb:208:in `instrument'
actionview (7.1.3.4) lib/action_view/template.rb:549:in `instrument_render_template'
actionview (7.1.3.4) lib/action_view/template.rb:249:in `render'
rack-mini-profiler (3.3.1) lib/mini_profiler/profiling_methods.rb:115:in `block in profile_method' 
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (7.1.3.4) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `instrument'
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:59:in `render_template'
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:11:in `render'
actionview (7.1.3.4) lib/action_view/renderer/renderer.rb:63:in `render_template_to_object'
actionview (7.1.3.4) lib/action_view/renderer/renderer.rb:31:in `render_to_object'
actionview (7.1.3.4) lib/action_view/rendering.rb:135:in `block in _render_template'
actionview (7.1.3.4) lib/action_view/base.rb:291:in `in_rendering_context'
actionview (7.1.3.4) lib/action_view/rendering.rb:134:in `_render_template'
actionpack (7.1.3.4) lib/action_controller/metal/streaming.rb:256:in `_render_template'
actionview (7.1.3.4) lib/action_view/rendering.rb:121:in `render_to_body'
actionpack (7.1.3.4) lib/action_controller/metal/rendering.rb:158:in `render_to_body'
actionpack (7.1.3.4) lib/action_controller/metal/renderers.rb:141:in `render_to_body'
actionpack (7.1.3.4) lib/abstract_controller/rendering.rb:27:in `render'
actionpack (7.1.3.4) lib/action_controller/metal/rendering.rb:139:in `render'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:29:in `block (2 levels) in render'
/usr/local/lib/ruby/3.3.0/benchmark.rb:313:in `realtime'
activesupport (7.1.3.4) lib/active_support/core_ext/benchmark.rb:14:in `ms'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:29:in `block in render'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:98:in `cleanup_view_runtime'
activerecord (7.1.3.4) lib/active_record/railties/controller_runtime.rb:39:in `cleanup_view_runtime'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:28:in `render'
lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
actionpack (7.1.3.4) lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
lib/topic_list_responder.rb:8:in `respond_with_list'
app/controllers/list_controller.rb:342:in `block (2 levels) in <class:ListController>'
app/controllers/list_controller.rb:312:in `public_send'
app/controllers/list_controller.rb:312:in `top'
actionpack (7.1.3.4) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (7.1.3.4) lib/abstract_controller/base.rb:224:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/rendering.rb:165:in `process_action'
actionpack (7.1.3.4) lib/abstract_controller/callbacks.rb:259:in `block in process_action'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
app/controllers/application_controller.rb:424:in `block in with_resolved_locale'
i18n (1.14.5) lib/i18n.rb:351:in `with_locale'
app/controllers/application_controller.rb:424:in `with_resolved_locale'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:141:in `run_callbacks'
actionpack (7.1.3.4) lib/abstract_controller/callbacks.rb:258:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/rescue.rb:25:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:74:in `block in process_action'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (7.1.3.4) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `instrument'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:73:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/params_wrapper.rb:261:in `process_action'
activerecord (7.1.3.4) lib/active_record/railties/controller_runtime.rb:32:in `process_action'
actionpack (7.1.3.4) lib/abstract_controller/base.rb:160:in `process'
actionview (7.1.3.4) lib/action_view/rendering.rb:40:in `process'
rack-mini-profiler (3.3.1) lib/mini_profiler/profiling_methods.rb:115:in `block in profile_method' 
actionpack (7.1.3.4) lib/action_controller/metal.rb:227:in `dispatch'
actionpack (7.1.3.4) lib/action_controller/metal.rb:309:in `dispatch'
actionpack (7.1.3.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (7.1.3.4) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (7.1.3.4) lib/action_dispatch/routing/mapper.rb:21:in `block in <class:Constraints>'
actionpack (7.1.3.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:51:in `block in serve'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:124:in `each'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:124:in `find_routes'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (7.1.3.4) lib/action_dispatch/routing/route_set.rb:882:in `call'
lib/middleware/omniauth_bypass_middleware.rb:64:in `call'
rack (2.2.9) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.9) lib/rack/conditional_get.rb:27:in `call'
rack (2.2.9) lib/rack/head.rb:12:in `call'
actionpack (7.1.3.4) lib/action_dispatch/http/permissions_policy.rb:36:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:393:in `call'
lib/middleware/csp_script_nonce_injector.rb:12:in `call'
config/initializers/008-rack-cors.rb:14:in `call'
rack (2.2.9) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.9) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/cookies.rb:689:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:101:in `run_callbacks'
actionpack (7.1.3.4) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
logster (2.20.0) lib/logster/middleware/reporter.rb:40:in `call'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:35:in `call_app'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:22:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/request_id.rb:28:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
rack (2.2.9) lib/rack/method_override.rb:24:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/executor.rb:14:in `call'
rack (2.2.9) lib/rack/sendfile.rb:110:in `call'
rack-mini-profiler (3.3.1) lib/mini_profiler.rb:334:in `call'
message_bus (4.3.8) lib/message_bus/rack/middleware.rb:60:in `call'
lib/middl

Я пытался выполнить пересборку ещё 3–4 раза, но результат был тем же.
Я также пробовал удалить плагин календаря и пересобрать его, но ошибка всё равно сохраняется.

Привет, @kokoloman001,

Попробовали ли вы выполнить пересборку через командную строку, а также зайти на сайт в безопасном режиме?

У вас установлены какие-либо другие плагины?

Я пересобирал проект более 3–5 раз, но получаю тот же результат.
Сейчас у меня чистая установка. Всё работает, если не восстанавливать резервную копию.
Проблема, скорее всего, в моём файле резервной копии. Но это файл от 30.06.2024, и до пересборки он работал нормально.

Плагины, установленные на моём сайте

docker_manager
discourse-post-voting
discourse-reactions
discourse-signatures
discourse-staff-alias
discourse-private-replies
discourse-encrypt
discourse-vk-auth
discourse-topic-voting
discourse-follow.git
discourse-formatting-toolbar.git
discourse-bbcode.git
discourse-adplugin
discourse-google-one-tap
discourse-solved
discourse-rss-polling
discourse-private-topics
discourse-code-review
discourse-patreon
discourse-github
discourse-templates
discourse-ai
discourse-calendar

Думаю, это именно он. Какой из них вы используете? (Указание полного URL ваших плагинов упрощает определение того, что у вас установлено и какие из них официальные). Редакция: О, но среди них есть официальный, так что, скорее всего, вы используете именно его.

Или у вас он не установлен на тестовом сайте?

Я бы порекомендовал сделать резервную копию вашей текущей базы данных следующим образом:

cd /var/discourse
./launcher enter app
discourse backup
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-post-voting.git
          - git clone https://github.com/discourse/discourse-reactions.git
          - git clone https://github.com/discourse/discourse-signatures.git
          - git clone https://github.com/discourse/discourse-staff-alias.git
          - git clone https://github.com/communiteq/discourse-private-replies.git
          - git clone https://github.com/discourse/discourse-encrypt.git
          - git clone https://github.com/discourse/discourse-vk-auth.git
          - git clone https://github.com/discourse/discourse-topic-voting.git
          - git clone https://github.com/discourse/discourse-follow.git
          - git clone https://github.com/MonDiscourse/discourse-formatting-toolbar.git
          - git clone https://github.com/discourse/discourse-bbcode.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/discourse/discourse-google-one-tap.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-rss-polling.git
          - git clone https://github.com/communiteq/discourse-private-topics.git
          - git clone https://github.com/discourse/discourse-code-review.git
          - git clone https://github.com/discourse/discourse-patreon.git
          - git clone https://github.com/discourse/discourse-github.git
          - git clone https://github.com/discourse/discourse-templates.git
          - git clone https://github.com/discourse/discourse-ai.git
          - git clone https://github.com/discourse/discourse-calendar.git

Я пытаюсь установить это на тестовом сервере. Всё работает, когда не установлены файлы резервных копий. После восстановления резервной копии возвращается ошибка 500.

Вы можете войти в безопасный режим?
Вы можете получить доступ к /logs? Что там написано?