Bug description
Just had a random crash as a client was editing content.
Unable to read file from location: containers/images/clubs/aston-quay-44.jpg/35460d82eb5142426fb66450f2dc015c.jpg.
I FTPd to the server to check the cache folders at storage/statamic/glide/containers/etc and the file was missing. I guess there was a reference to this file somewhere in storage/framework/cache/glide but for some reason the file did not exist.
I am using Spatie's responsive image package so I opened an issue there and the problem appears to have been solved by a package update. I will keep this issue open though as the author (ncla) states that Statamic catches these errors for glide:data_uri however the same error can still occur for glide:data_url
How to reproduce
No idea.
Logs
{
"class": "Spatie\\LaravelIgnition\\Exceptions\\ViewException",
"message": "Unable to read file from location: containers/images/clubs/aston-quay-44.jpg/35460d82eb5142426fb66450f2dc015c.jpg.",
"code": 0,
"file": "/home/forge/mysite.ie/vendor/league/flysystem/src/UnableToReadFile.php:24",
"trace": [
"/home/forge/mysite.ie/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php:265",
"/home/forge/mysite.ie/vendor/league/flysystem/src/Filesystem.php:75",
"/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php:951",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:269",
"/home/forge/mysite.ie/vendor/spatie/blink/src/Blink.php:279",
"/home/forge/mysite.ie/vendor/statamic/cms/src/Support/Blink.php:18",
"/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:278",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:215",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:246",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:62",
"/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Conditionable/Traits/Conditionable.php:34",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:63",
"/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Tags/ResponsiveTag.php:75",
"/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:560",
"/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:739",
Environment
Environment
Laravel Version: 9.43.0
PHP Version: 8.1.12
Statamic
Version: 3.3.60 PRO
Statamic Addons
jonassiewertsen/statamic-live-search: 1.5.1
jonassiewertsen/statamic-livewire: 2.9.0
justbetter/statamic-image-optimize: 1.1.4
rias/statamic-redirect: 2.5.0
spatie/statamic-responsive-images: 2.14.4
statamic/seo-pro: 3.1.3
stuartcusackie/statamic-cache-requester: 1.0.2
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
Bug description
Just had a random crash as a client was editing content.
I FTPd to the server to check the cache folders at storage/statamic/glide/containers/etc and the file was missing. I guess there was a reference to this file somewhere in storage/framework/cache/glide but for some reason the file did not exist.
I am using Spatie's responsive image package so I opened an issue there and the problem appears to have been solved by a package update. I will keep this issue open though as the author (ncla) states that Statamic catches these errors for glide:data_uri however the same error can still occur for
glide:data_urlHow to reproduce
No idea.
Logs
{ "class": "Spatie\\LaravelIgnition\\Exceptions\\ViewException", "message": "Unable to read file from location: containers/images/clubs/aston-quay-44.jpg/35460d82eb5142426fb66450f2dc015c.jpg.", "code": 0, "file": "/home/forge/mysite.ie/vendor/league/flysystem/src/UnableToReadFile.php:24", "trace": [ "/home/forge/mysite.ie/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php:265", "/home/forge/mysite.ie/vendor/league/flysystem/src/Filesystem.php:75", "/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php:951", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:269", "/home/forge/mysite.ie/vendor/spatie/blink/src/Blink.php:279", "/home/forge/mysite.ie/vendor/statamic/cms/src/Support/Blink.php:18", "/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:278", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:215", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:246", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:62", "/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Conditionable/Traits/Conditionable.php:34", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Breakpoint.php:63", "/home/forge/mysite.ie/vendor/spatie/statamic-responsive-images/src/Tags/ResponsiveTag.php:75", "/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:560", "/home/forge/mysite.ie/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:739",Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response