Error in WebUI -- ReferenceError: Can't find variable: ReactUI

Our TC server has developed a problem loading the web UI.  When accessing the front end, I get this error:

ReferenceError: Can't find variable: ReactUI

Poking around in the javascript console, it looks like one of the javascript files

https://<servername>/res/-6274127916542842469.js?v=1555377278801

has failed to load.  This is consistent across machines and browsers, so I'm inclined to think it's the server.  I can't find these numbered files on disk so I'm assuming they're generated somewhere?  Looks like some kind of minified, optimized javascript file.  Is there some way to get TC to rebuild this file?

There was an update available, so I installed that, hoping it would trigger a rebuild of these files, but the I still get the same error.  Since the web UI is broken, I had to do the upgrade by hand from the command line.

 

Thanks for any input,

jay

0
1 comment
Avatar
Permanently deleted user

After some digging, I found that the javascript file in question was being truncate.  This TC install is behind an nginx reverse proxy.  Turns out that the user running nginx didn't have permission to write to the proxy temp dir, so large files would get truncated.  Sheesh.

 

This blog post has more details from a similar problem:

https://www.scalescale.com/tips/nginx/13-permission-denied-while-reading-upstream-using-nginx/#

0

Please sign in to leave a comment.