We run into an error where the theme-javascripts seems to be missing:
$ 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:
Hoppla! Diese Seite existiert nicht oder ist privat.
![]()
When we check the javascript-cache, the files exist:
$ 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.