Closed code2prog closed 3 years ago
Same here. Just a blank page. Looks like vue is not initializing or something. No errors in console.
Seems to be working fine for me. Are you sure you published the assets again as described in https://laravel.com/docs/8.x/horizon#upgrading-horizon ?
Yeah. php artisan horizon:publish
.
Also network tab looks fine as well.
Tried on Chrome, Edge & Firefox.
Can you verify that you're using 5.7.8 in your composer.lock file?
Sure.
So odd. I really wonder what's wrong. Can you maybe try to complete clear your public/vendor/horizon
directory and try again?
Same result :/
I can also confirm, downgrading to 5.7.7 fixes problem.
From my side, it looks like something is wrong with javascript intialization. In networks tab there is no stats
, workload
or masters
requests.
I'm afraid that if we can't reproduce this we cannot help. My colleagues also can't reproduce this.
I will try to debug the source code asap.
I don't know what I did, but it started to work. First of all I tried to downgrade the package to 5.3.0 which was failing as well for me. That looked very weird at that point. After few composer upgrades/downgrades, I edited layout.blade.php
file with some random text and everything showed up.
My guess is - laravel views cache. Recently I was testing production setup (on my development pc) by caching laravel views and probably previous horizon version`s view file was still cached. So it looks like it's not horizon bug, but just simple views cache. Since I'm mostly using laravel as graphql server with only 3 laravel views and frontend is made on nuxt.js, I couldn't see the cache issue at first.
@code2prog Try clearing your laravel cache and check if that helped, especially php artisan view:clear
.
@edgarsn php artisan view:clear
that solved the problem.
Description:
Something is wrong. Empty dashboard in version 5.7.8. Updating or publishing assets does not help and only after moving back to 5.7.7 and publishing assets again the dashboard displays correctly
Steps To Reproduce:
update to 5.7.8