Kibanan 8.9.2. Not loading after upgrade from 8.9.1. because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled

Hi,

I have just upgraded on my ubuntu 22.04 server all elastic stack to 8.9.2 from 8.9.1 and now I can no longer log-in because I get these errors:

Refused to execute script from 'https://kibana.*******/login?next=%2F64802%2Fbundles%2Fplugin%2Fsecurity%2F1.0.0%2Fsecurity.chunk.2.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
ChunkLoadError: Loading chunk 2 failed.
(error: https://kibana.******/64802/bundles/plugin/security/1.0.0/security.chunk.2.js)
    at s.e (security.plugin.js:2:830)
    at Object.mount (security.plugin.js:2:35205)
    at Object.mount (core.entry.js:1:112834)
    at core.entry.js:1:103188
    at core.entry.js:1:103381
    at As (kbn-ui-shared-deps-npm.dll.js:35:152216)
    at Fc (kbn-ui-shared-deps-npm.dll.js:35:170467)
    at t.unstable_runWithPriority (kbn-ui-shared-deps-npm.dll.js:35:191742)
    at Vo (kbn-ui-shared-deps-npm.dll.js:35:110718)
    at Bc (kbn-ui-shared-deps-npm.dll.js:35:167167)
Refused to execute script from 'https://kibana.******/login?next=%2F64802%2Fbundles%2Fplugin%2Fsecurity%2F1.0.0%2Fsecurity.chunk.7.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

How do I fix this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.