Closed satcreative closed 6 months ago
Can you provide the whole stack trace, at least 4 function calls up the chain?
craft\errors\AssetException: Could not open create the stream for “bowling-video-poster.jpg” in /Users/garyvoss/Documents/Sites/_repos/HBG assets/hwb-craft/vendor/craftcms/cms/src/base/FlysystemVolume.php:189 Stack trace:
I think the error starts here https://github.com/craftcms/cms/blob/3.7.20/src/elements/Asset.php#L2231-L2233
The "temp file path" is not set properly. I don't know that the actual directive is, maybe you know ...
Yeah, I think you're right. There's a similar issue documented on the Imager X repository https://github.com/spacecatninja/craft-imager-x/issues/103.
I disabled Imager X and the images loaded correctly, so it seems Imager X can't find the temporary file path to make it's transforms.
Thanks for having a look. Feel free to close this issue as it's seemingly unrelated.
I have various volumes setup with fortrabbit Object Storage Volume, which has worked fine for a number of years; however, recently I have been seeing the error
Could not open create the stream for "[image file]"
, in my local environment:When I access the image (any image) in the Assets CP I can see a broken link image but when I 'Preview' or download the image I can see the image itself:
This prevents me from viewing the frontend of the site until I remove the images from that entry.
The issue isn't present on the production site, which uses the same object storage; however, it has started to happen on the staging site, which is also hosted on Fortrabbit and again uses the same object storage.
Is this error related to the fortrabbit Object Storage Volume plugin/setup
Thanks