# 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

**URL:** <https://discuss.elastic.co/t/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/342607>\
**Category:** Kibana\
**Created:** [September 8, 2023, 12:23pm UTC](https://discuss.elastic.co/t/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/342607 "2023-09-08T12:23:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepfusion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepfusion/32/125453_2.png) [@deepfusion](https://discuss.elastic.co/u/deepfusion)\
**Post date:** [September 8, 2023, 12:23pm UTC](https://discuss.elastic.co/t/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/342607/1 "2023-09-08T12:23:23Z")

</div>

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:

```auto
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.

```

```auto
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)

```

```auto
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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 6, 2023, 12:24pm UTC](https://discuss.elastic.co/t/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/342607/2 "2023-10-06T12:24:04Z")

</div>

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