# Error 500 after succesful app rebuild ( asset ".js" is not present in the asset pipeline.)

**URL:** <https://meta.discourse.org/t/error-500-after-succesful-app-rebuild-asset-js-is-not-present-in-the-asset-pipeline/277343>\
**Category:** Self-hosting\
**Created:** [August 31, 2023, 12:27pm UTC](https://meta.discourse.org/t/error-500-after-succesful-app-rebuild-asset-js-is-not-present-in-the-asset-pipeline/277343 "2023-08-31T12:27:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 31, 2023, 4:59pm UTC](https://meta.discourse.org/t/error-500-after-succesful-app-rebuild-asset-js-is-not-present-in-the-asset-pipeline/277343/2 "2023-08-31T16:59:58Z")

</div>

You can try

```
docker logs

```

and

```
tail /var/discourse/shared/standalone/logs/rails/production.log

```

This looks like the salient bit:

```plaintext
ActionView::Template::Error (The asset ".js" is not present in the asset pipeline.
)
app/helpers/application_helper.rb:93:in `script_asset_path'
app/helpers/application_helper.rb:146:in `block in preload_script'
app/helpers/application_helper.rb:145:in `map'
app/helpers/application_helper.rb:145:in `preload_script'
app/views/layouts/application.html.erb:40
app/controllers/application_controller.rb:128:in `block (2 levels) in <class:ApplicationController>'
app/controllers/application_controller.rb:420:in `block in with_resolved_locale'
app/controllers/application_controller.rb:420:in `with_resolved_locale'
app/controllers/application_controller.rb:128:in `block in <class:ApplicationController>'
lib/middleware/omniauth_bypass_middleware.rb:74:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:389:in `call'
lib/middleware/gtm_script_nonce_injector.rb:10: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:233:in `call'

```

It’s possible, though fairly unlikely, this is a Discourse bug.

---

_[View the full topic](https://meta.discourse.org/t/error-500-after-succesful-app-rebuild-asset-js-is-not-present-in-the-asset-pipeline/277343)._
