My image transform task always gets stuck halfway through so that I have to "repair" the task as per this guide. Im trying to convert about 150 images (amounts to ~300 steps). Resetting the task within the database does work but it's not a permanent solution.
I've upped the php memory limit to 1024M, execution time is 0 and Apaches timeout is set to a ridiculously high number. Disk space is available and it's happening with imagemagick as well as gd. It also happens both on my local dev VM running Ubuntu 14.04 as well as on my Debian server. PHP and Apache error logs are empty on both machines. I'm running the Personal edition and the latest version of Craft.
I also tried to set ini_set('max_execution_time', 0);
in craft/app/services/AssetTransformsService.php
but it didn't change anything.
Some more info:
- Some image transforms are missing after restarting the task until it's complete. That renders the workaround by resetting the task in the db basically useless because not all images are transformed by the time it's complete.
- It's not a specific image that is preventing the task from completing, as it's always a different image that it's stuck on.
- There are usually 75-85 images converted until it's stuck.
Update Asset Indexes
doesn't help.- Clearing all caches makes Craft convert all images again. It doesn't delete the old files, it just overwrites them (and gets stuck, as usual).
AssetTransformsService.php
but that didn't change anything. Logs are still empty as well. Last entry in craft log is[Forced] Starting step 116 of 310 total steps.
and then nothing.