ice.d
(discord ice)
22.Май.2026 22:25:22
1
Итак:
Я просто нажал «Обновить всё», затем проверил логи, зашёл в админку пользователя, вернулся на форум и получил это сообщение.
Что произошло?
Редактирование
Только что открыл это в новой вкладке, и всё заработало. Что происходит?
Falco
(Falco)
23.Май.2026 02:38:56
2
Проверьте страницу /logs?
Ethsim2
(Ethan )
23.Май.2026 14:24:25
4
В этих логах, похоже, отражены два разных события.
Строки ActionView::Template::Error / Propshaft об отсутствии актива chunk...js могут объяснить, почему проблема возникла сразу после «обновления всего», а затем исчезла при открытии новой вкладки. Похоже, старая вкладка пытается загрузить имя файла актива, который больше не существует после обновления/пересборки.
Отдельная строка:
NameError (uninitialized constant ReactionsSerializerHelpers) app/serializers/post_stream_serializer_mixin.rb:31:in 'PostStreamSerializerMixin#post_stream'
выглядит как проблема с bundled-плагином discourse-reactions, о которой я сообщал здесь:
my Discourse version is 2026.5.0-latest.1 (fbcbdc46d8 )
I am seeing repeated /logs errors when loading topic posts. The error appears to come from the bundled discourse-reactions plugin while serializing the post stream.
The site reports the message as 8 copies reported.
I checked the compare range below, but it does not look like it touches the failing backend code path, so I am reporting this separately:
Error message from /logs
Backtrace from /logs
What appears to be happening
The er…
Я также открыл PR здесь:
main ← Ethsim12:fix-reactions-serializer-helpers-nameerror
opened 12:19PM - 23 May 26 UTC
Tests run:
bundle exec rubocop plugins/discourse-reactions/plugin.rb plugins/… discourse-reactions/lib/discourse_reactions/reactions_serializer_helpers.rb
ruby -c plugins/discourse-reactions/plugin.rb
ruby -c plugins/discourse-reactions/lib/discourse_reactions/reactions_serializer_helpers.rb
LOAD_PLUGINS=1 bundle exec rspec plugins/discourse-reactions/spec --exclude-pattern "plugins/discourse-reactions/spec/system/**/*_spec.rb"
Result: 183 examples, 0 failures.
I also attempted the targeted system spec locally. After installing Playwright/Chromium dependencies, the browser opened a blank page and the app did not mount (`#main.ember-application` was not found), so I treated that as a local Codespaces system-test environment issue and left full system coverage to CI.
Поэтому я бы рассматривал ошибку актива Propshaft как вероятное следствие устаревшей вкладки/обновления, а ошибку ReactionsSerializerHelpers — как отдельную проблему плагина реакций на стороне бэкенда.
pfaffman
(Jay Pfaffman)
23.Май.2026 20:36:03
5
Вам потребуется выполнить сборку из командной строки.
pfaffman
(Jay Pfaffman)
26.Май.2026 23:37:19
7
cd /var/discourse
./launcher rebuild app
Мне проще набрать это вручную, чем искать тему с объяснением.