Skip to content

The horizon dashboard does not have stylesheet loaded #1425

Closed
@bensondevs

Description

@bensondevs

Horizon Version

5.14.2

Laravel Version

10.48.9

PHP Version

8.2

Redis Driver

PhpRedis

Redis Version

7

Database Driver & Version

No response

Description

After releasing the app to the production and running the indexing queue, the horizon dashboard starts to show a page without styling.

In the browser console, it shows several errors talking about the horizon stylesheet
[Error] Cannot load stylesheet https://stagent.com/vendor/horizon/styles.css. Failed integrity metadata check. Content length: 154254, Expected content length: -1, Expected metadata: sha384-4HOmv1E51xgqbUYzCYXaRXPRja5nEho6eq/L/CKs0LlidzTGNTk81VtCAHqLiYSC (dashboard, line 16) [Error] Cannot load stylesheet https://stagent.com/vendor/horizon/styles-dark.css. Failed integrity metadata check. Content length: 154644, Expected content length: -1, Expected metadata: sha384-/sLOxh+NTFEdcZ8svIuVTv/lSL65X3QGIXhExXAhntQYWjiez1CQbv4ICbtwRfd8 (dashboard, line 17)

Steps To Reproduce

  1. Install the latest version
  2. Import all indexes (big data) using Laravel Scout - Meilisearch
  3. Suddenly it will destroy the styling of the Laravel Horizon

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions