The web interface does not fully render after upgrading from 3.5.x to 3.6.x, Opening Developer mode in Chrome shows a large number of assets missing (404 error) predominately webpack and .css files.
Expected outcome:
The login page appears properly
Foreman and Proxy versions:
3.6.1
Foreman and Proxy plugin versions:
Plugins have been removed except foreman-puppet as shipped with 3.6.1 Distribution and version:
Other relevant data:
a supported stylesheet MIME type, and strict MIME checking is enabled.
login:1 Refused to apply style from 'https://puppet/assets/application-541657e7a4cc7cfe855f497ccf2403ff1e9757a96e172ca760559ccc296ad502.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
login:30 GET https://puppet/assets/locale/en_GB/app-c0a40cd61b600869b4f1884a9af43f9ed27cee488a6a25a8f689d6ee7458446b.js net::ERR_ABORTED 404 (Not Found)
5Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
login:31 GET https://puppet/webpack/foreman-vendor.bundle-v12.0.1-production-c1237d7a8fb1dce8773c.js net::ERR_ABORTED 404 (Not Found)
login:33 GET https://puppet/webpack/bundle-e4b0eeaf0651c6dd6fe1.js net::ERR_ABORTED 404 (Not Found)
login:34 GET https://puppet/assets/application-4846c4ac6b99dad645abcdb60bcde346f0db1137a5bfc7593bc1dfe752b0f4a3.js net::ERR_ABORTED 404 (Not Found)
login:32 GET https://puppet/webpack/vendor-950b729ed5965c2a80e1.js net::ERR_ABORTED 404 (Not Found)
foreman_puppet:global-58696924c8e93c84fd4d.js:1 Uncaught ReferenceError: webpackJsonp is not defined
at foreman_puppet:global-58696924c8e93c84fd4d.js:1:1
Old value was as follows, forcing that to true and restarting does indeed fix the issue. Guess I won’t be upgrading for a while as I’m guessing this will break during upgrades.