# Missing theme-javascripts assets (http 404) on 2.8 stable

**URL:** <https://meta.discourse.org/t/missing-theme-javascripts-assets-http-404-on-2-8-stable/226124>\
**Category:** Product Support\
**Created:** [May 4, 2022, 3:27pm UTC](https://meta.discourse.org/t/missing-theme-javascripts-assets-http-404-on-2-8-stable/226124 "2022-05-04T15:27:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dmorlock](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@dmorlock](https://meta.discourse.org/u/dmorlock)\
**Post date:** [May 4, 2022, 3:27pm UTC](https://meta.discourse.org/t/missing-theme-javascripts-assets-http-404-on-2-8-stable/226124/1 "2022-05-04T15:27:09Z")

</div>

We run into an error where the theme-javascripts seems to be missing:

```plaintext
$ curl https://mydomain.com | grep "theme-javascript"
<script src="/theme-javascripts/ff7f780a40bfd1e31a2cdc99c7dbc616f619d7d9.js?__ws=mydomain.com"></script>
<script src="/theme-javascripts/1bb8395b8d8d9daecdbef830d8c9418b93a7b5f9.js?__ws=mydomain.com"></script>

```

But when we try to access these files (in a browser with a logged in user) we get an 404 error:

```plaintext
Hoppla! Diese Seite existiert nicht oder ist privat.

```

![image](https://global.discourse-cdn.com/meta/optimized/4X/b/d/f/bdfe126b469a4b029762cbe317bf980d8d80e197_2_690x33.png)

When we check the `javascript-cache`, the files exist:

```plaintext
$ find /var/www/discourse/tmp/javascript-cache -iname 'ff7f780a40bfd1e31a2cdc99c7dbc616f619d7d9*'
/var/www/discourse/tmp/javascript-cache/ff7f780a40bfd1e31a2cdc99c7dbc616f619d7d9.js

```

The current workaround is to edit the custom theme by changing and saving the theme.  
After 1-2 days, the problem occurs again.

We’d appreciate any help for further investigation.

Thanks,  
Daniel.

---

_[View the full topic](https://meta.discourse.org/t/missing-theme-javascripts-assets-http-404-on-2-8-stable/226124)._
