CSS Style is not loading (Problem Fixed!)

Nextcloud version (eg, 20.0.5): 28.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 7.4): 8.1

Hello since I updated my nextcloud from 28.0.2 to 28.0.3, my browser keeps telling me that It can’t apply the style.

error log:

overview:1 Refused to apply style from 'https://cloud.domain.com/apps/user_status/css/user-status-menu.css?v=5dbcc382-9' because its MIME type ('application/octet-stream') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Problen fixed!

Hello, logoderking
Would you please share your solution? I am facing similar situation after a new installation - looking like rewrite problem.

2024/04/13 20:46:47 [error] 51996#51996: *430 openat() "/home/admin/web/cloud.example.com/public_html/index.php/apps/theming/theme/default.css" failed (20: Not a directory), client: 123.123.123.123, server: cloud.example.com, request: "GET /index.php/apps/theming/theme/default.css?plain=1&v=6e3f3bf0 HTTP/2.0", host: "cloud.example.com"
2024/04/13 20:46:47 [error] 51996#51996: *430 openat() "/home/admin/web/cloud.example.com/public_html/index.php/apps/theming/theme/light.css" failed (20: Not a directory), client: 123.123.123.123, server: cloud.example.com, request: "GET /index.php/apps/theming/theme/light.css?plain=1&v=6e3f3bf0 HTTP/2.0", host: "cloud.example.com"
2024/04/13 20:46:47 [error] 51996#51996: *430 openat() "/home/admin/web/cloud.example.com/public_html/index.php/apps/theming/theme/light.css" failed (20: Not a directory), client: 123.123.123.123, server: cloud.example.com, request: "GET /index.php/apps/theming/theme/light.css?plain=0&v=6e3f3bf0 HTTP/2.0", host: "cloud.example.com"
  

Thanks in advance.

Regards,
Willie S.

Hey my problem was that somehow my nginx configuration didn’t support the MIME format. I changed the config and it worked. Your error says that there is no directory. Check which one is missing and try to reinstall it