Failed to warm up pretty text

AI-generated summary

Failed to warm up pretty text: JavaScript was terminated

The discussion revolves around an error message encountered by poyrazdursuncan. The error occurred due to JavaScript being terminated, either by timeout or explicitly. poyrazdursuncan provided a backtrace and environment details but did not receive a direct answer to their question about the cause of the error.

Ed_S and poyrazdursuncan clarified that the issue persists after an update.

codinghorror suggested possible causes, including a slow server CPU, disk space issues, or running out of memory. However, poyrazdursuncan mentioned that the site owner denies any server-related problems.

Why can this error occur?

Message

Failed to warm up pretty text: JavaScript was terminated (either by timeout or explicitly)

Backtrace

lib/discourse.rb:772:in `rescue in after_fork'
lib/discourse.rb:768:in `after_fork'
/var/www/discourse/lib/demon/base.rb:217:in `establish_app'
/var/www/discourse/lib/demon/base.rb:147:in `block in run'
activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:10:in `block in fork'
activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'
activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'
activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:27:in `fork'
/var/www/discourse/lib/demon/base.rb:144:in `run'
/var/www/discourse/lib/demon/base.rb:140:in `start'
/var/www/discourse/lib/demon/base.rb:15:in `block in start'
/var/www/discourse/lib/demon/base.rb:14:in `times'
/var/www/discourse/lib/demon/base.rb:14:in `start'
config/unicorn.conf.rb:92:in `block in reload'
unicorn-6.1.0/lib/unicorn/http_server.rb:541:in `spawn_missing_workers'
unicorn-6.1.0/lib/unicorn/http_server.rb:143:in `start'
unicorn-6.1.0/bin/unicorn:128:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/unicorn:25:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/unicorn:25:in `<main>'

Env

hostname	server-app
process_id	6574
application_version	35697c60763cbe4fe8112850125c2b41fa8363a1
time	Fr 3:00 pm

Is this still a problem for you?

I’m following after the update. That wasn’t my question.

Maybe the server CPU is slow, maybe the disk is out of space, maybe you ran out of memory?

It’s possible. But the site owner denies that the server is bad