Reputation: 2624
On a new Laravel 8 project my jobs are not appearing in the Horizon UI. Here's what I did:
php artisan horizon:install
php artisan horizon
the output shows that it's successfully processing jobsSo everything is working as expected.
The problem is that the Horizon interface does not show anything, it just shows the loading state everywhere. I've ran php artisan optimize:clear
to make sure that it has the latest ENV and config settings but that didn't resolve the issue.
Upvotes: 0
Views: 3347
Reputation: 2624
OK party people, here's what went down. In config/horizon.php
you can set Horizon's path
. I've just learned that you should not start this path with a /
, because then Horizon's API calls to fetch the job data will fail.
Don't use
'path' => '/subfolder/horizon'
Do use
'path' => 'subfolder/horizon'
Upvotes: 1