Been trying to get to the bottom fo this one for hours, including talking to my host for ideas. For some reason images are just passed through and not actually getting processed by Imagemagik. WebP generation results in a woops error, saying:
The imagemagick convert command could not be executed
AVIF files seem to be just being passed through (and Jpeg t i think). Ive confirmed this with a HexEditor. Also used the greyscale thumb option with the jpg images which come through as color.
My host confirms that exec() is allowed and functioning, and their Sys Admin ran the same convert command that kirby is trying manually on the command line which worked fine.
Everything works fine locally where i am using ImageMagick 7.1.1-41 Q16-HDRI aarch64 but not on the server which is is running ImageMagick 6.9.10-68 Q16 x86_64.
I have even tried the starterkit to rule out my project, and i get the same results there.
I have no idea what else to try. Using PHP 8.3.6 and Kirby 4.6.1.
What exactly are you running in your Kirby code to get these thumbs? Would be interesting if it is anything special in that exact convert command that fails.
Running the following manipulating a webp file to a smaller webp with the blur and sharpen etc does not work, and the return var gets set to 1 in result. There is nothing in the output var (not sure there should be). If i run the same script but using a jpeg as input, it works as expected , i get the output.jpg generated, and the return var remains at 0.
i am guessing an error of some kind was generated, since the return var got changed but i didnt get any feedback in the script and there is nothing in the error log.
I have reported this to my host, so hopefully they will upgrade both GD and IM for me since i discovered issues with AVIF/WebP and GD as well (the installed GD doesnt like newer versions of PHP).
So once again stellar support from Krystal Hosting - it turns out that having been a customer of theres for a long time, the version of linux powering my re-seller hosting is the oldest they have in their fleet. I’m told it is already on their internal roadmap for an upgrade “In the nex few months”. Fourtunatly they have offered to expedite my upgrade, which is briliant because I really cannot wait as long as that.
The SysAdmin even created a test cPanel account on the newer platform so that i could go in and mess around to see that it does what i need it to, which was super nice of them.
There is a reason i swear by this host
I guess i can mark this as solved now since the ball is with my host to resolve it.