Missing glide transformations? #8321
Replies: 9 comments 2 replies
-
As a test I thought I'd try uploading the same batch of 10 images, optimised for the web
None of my clients would do this.
It managed to generate 240/270 |
Beta Was this translation helpful? Give feedback.
-
I thought the reason to use Redis / Horizon was to queue image transformations, to avoid this being an issue? Is that not the case? Perhaps, is there a way to configure the site to only accept images
Is there a way to throttle how many images are dumped in the queue? |
Beta Was this translation helpful? Give feedback.
-
Another test Deleted Uploaded three 72dpi images at Using the same assets setting as before
Images I uploaded via control panel
Checked
Only Surely this can't be a memory thing? Three pretty small images can't cause the process to break can it? Have I configured something wrong? |
Beta Was this translation helpful? Give feedback.
-
The job is failing and then it is trying to add a failed job log to your database. I'm assuming you haven't got a database setup yet which is why the connection is failing. If you setup a database and run the migrations and retry the failed job should be logged and should tell you why it's failing |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, much appreciated. You're right, I don't have a database installed. I've installed this add on today: https://statamic.com/addons/jonassiewertsen/jobs
Once installed, running this command
Does the errors listed make any sense? |
Beta Was this translation helpful? Give feedback.
-
Hey there, there could be other factors at play, but you're definitely going to want to up your |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for suggestions. I bumped the memory to Unfortunately, still seeing errors. laravel.log
Does the redis part of my env look ok to you?
I'm uploading 10 images, with 27 presets. I'm looking for 270 images to be generated. Is there anything else I can try? |
Beta Was this translation helpful? Give feedback.
-
I noticed Horizon behaves differently when I upload images via the Control Panel and the image queue kicks in, versus running As a test I've paused the This is my test
When I run
In Ploi, I've reduced the Memory limit in MB setting to
I think the issue is related to the configuration in Ploi... I'll ask in the Ploi Discord and post here if I find anything out. |
Beta Was this translation helpful? Give feedback.
-
Got to the bottom of it. User error! All I needed to do was use a I got the mixed up idea I had to use a Dennis and Rob in the Ploi Discord put me on the right track. It's working as expected now. Phew. Takeaways
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm noticing when I upload 10 images via drag and drop into the assets section of the control panel, not all the glide transformations are completed?
I thought they would be a good representation of the kind of images a client may drag and drop in to the assets section of the control panel.
I'm using the
Process Source Images
option with this presetand the
Intelligently Warm Presets
is turned on.I'm using PHPredis and Horizon.
I've got 26 glide presets, Statamic uses an additional preset based on the format of the image uploaded
cp_thumbnail_small_landscape
cp_thumbnail_small_square
orcp_thumbnail_small_portrait
so each directory in/public/img/containers/assets
should have 27 images.I upload 10 images, in total I expect there to be 270 images generated.
However, when I sFTP into the server and check the images in
/public/img/containers/assets
only some of the folders have 27 images. Other folders have about 10-20 images, some of the folders only have three images?When I clear the image cache
php please glide:clear
I see there's only 102 imagesI thought I'd see if anything different happens when I run
php please assets:generate-presets --queue
from TerminalI give it plenty of time to process (20 minutes), then run
php please glide:clear
againStill not generating the full 270 images required.
This is problem because when I run
php please static:warm --queue
many images are not pre-generated which causes the site to 500 error. I suspect this is the reason why this is happening.I'd like to figure out a way to get all the image transformations generated before running
static:warm
Failed Jobs are logged in
/horizon/failed
Stack trace
laravel.log
PHP settings
500
128
30
I'm using a budget server
I've set this particular website up as a demo site, fresh install. All I'm trying to do is get to the bottom of why all the glide images don't get generated.
I'm using these asset settings

These are the presets, my real site (this is just a demo site) has many more presets than this.
Beta Was this translation helpful? Give feedback.
All reactions