I saw that a few official plugins needed updating, as well as my Discourse version. Just a new commit hash, nothing major.
However, after letting it do its thing, I get the dreaded ‘Oops The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.’
Here are the errors in /logs
:
Here is the one with the 89 messages reported:
Message (89 copies reported)
Failed to warm up pretty text: JavaScript was terminated (either by timeout or explicitly)
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_racer-0.14.1/lib/mini_racer.rb:237:in `eval_unsafe'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_racer-0.14.1/lib/mini_racer.rb:237:in `block (2 levels) in eval'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_racer-0.14.1/lib/mini_racer.rb:378:in `timeout'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_racer-0.14.1/lib/mini_racer.rb:236:in `block in eval'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_racer-0.14.1/lib/mini_racer.rb:234:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_racer-0.14.1/lib/mini_racer.rb:234:in `eval'
/var/www/discourse/lib/discourse_js_processor.rb:98:in `create_new_context'
/var/www/discourse/lib/discourse_js_processor.rb:114:in `block in v8'
/var/www/discourse/lib/discourse_js_processor.rb:112:in `synchronize'
/var/www/discourse/lib/discourse_js_processor.rb:112:in `v8'
/var/www/discourse/lib/discourse_js_processor.rb:127:in `block in v8_call'
/var/www/discourse/lib/discourse_js_processor.rb:126:in `synchronize'
/var/www/discourse/lib/discourse_js_processor.rb:126:in `v8_call'
/var/www/discourse/lib/discourse_js_processor.rb:151:in `perform'
/var/www/discourse/lib/pretty_text.rb:34:in `apply_es6_file'
/var/www/discourse/lib/pretty_text.rb:41:in `block in ctx_load_directory'
/var/www/discourse/lib/pretty_text.rb:39:in `each'
/var/www/discourse/lib/pretty_text.rb:39:in `ctx_load_directory'
/var/www/discourse/lib/pretty_text.rb:77:in `create_es6_context'
/var/www/discourse/lib/pretty_text.rb:136:in `block in v8'
/var/www/discourse/lib/pretty_text.rb:134:in `synchronize'
/var/www/discourse/lib/pretty_text.rb:134:in `v8'
/var/www/discourse/lib/pretty_text.rb:177:in `block in markdown'
/var/www/discourse/lib/pretty_text.rb:686:in `block in protect'
/var/www/discourse/lib/pretty_text.rb:686:in `synchronize'
/var/www/discourse/lib/pretty_text.rb:686:i...
Backtrace
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:134:in `block in error'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `block in dispatch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:134:in `error'
/var/www/discourse/lib/discourse.rb:947:in `rescue in after_fork'
/var/www/discourse/lib/discourse.rb:943:in `after_fork'
/var/www/discourse/lib/demon/base.rb:248:in `establish_app'
/var/www/discourse/lib/demon/base.rb:183:in `block in run'
/var/www/discourse/lib/demon/base.rb:180:in `fork'
/var/www/discourse/lib/demon/base.rb:180:in `run'
/var/www/discourse/lib/demon/base.rb:173:in `start'
/var/www/discourse/lib/demon/base.rb:93:in `restart'
/var/www/discourse/lib/demon/sidekiq.rb:36:in `block in heartbeat_check'
/var/www/discourse/lib/demon/sidekiq.rb:27:in `each'
/var/www/discourse/lib/demon/sidekiq.rb:27:in `heartbeat_check'
config/unicorn.conf.rb:131:in `block (2 levels) in reload'
Do let me know if you would like the errors of any of the other ones.