framework: Error Warning: filesize() while using cron after upgrading Laravel 5.8
Hi,
We recently have updated to Laravel 5.6 to 5.8 and we randomly have this error now while using cron to call some api endpoints as we did before :
Warning: filesize(): stat failed for storage/framework/cache/data/aa/ba/aabaeafdb90f0d93adc97d019d71de3fd2045953
in /public/index.php - line 55
$request = Illuminate\Http\Request::capture()
Do you have any idea why?
Thank you very much!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 33 (15 by maintainers)
@driesvints I’m pretty sure this is a bug rather than a support issue. We’re getting it too but it’s very sporadic. It seems to be an issue with the file cache driver.
ErrorException Warning: filesize(): stat failed for /var/www/x/storage/framework/cache/data/a2/db/a2db5ca42f2189b4ea48e92035d86e01956e31a7
Yep, using Sentry here.
Exact same problem. We can’t figure it out yet. Like, the EXACT same problem. Laravel 5.7
I use https://packagist.org/packages/sentry/sentry-laravel
composer.lock
I still haven’t been able to solve it. I ended up just caching on a Redis instance as opposed to the file system as a workaround.