• Resolved guruzz

    (@guruzz)


    Image compression and webp conversion stopt working. Worked fine till 2 days ago. Unistalled and reinstalled several times the plugin. I also deactivated all my plugins and enabled them one by one same problem. In the logs:

    [2023-07-14 10:47:23 : INFO] – A total of 2 tasks of type smush found and will be processed in this iteration
    [2023-07-14 10:47:23 : DEBUG] – Lock option (updraft_lock_smush, wpr4_options) already existed in the database
    [2023-07-14 10:47:23 : INFO] – Lock (updraft_lock_smush, wpr4_options) could not be acquired (it is locked)
    [2023-07-14 10:47:23 : INFO] – Failed to gain semaphore lock (smush) – another process is already processing the queue – aborting (if this is wrong – i.e. if the other process crashed without removing the lock, then another can be started after 1 minute
    [2023-07-14 10:47:23 : INFO] – Cleaning up tasks of type (smush). A total of 2 tasks will be deleted.

    What can I do to fix this?

    Thank you!

    • This topic was modified 1 year, 6 months ago by guruzz.
    • This topic was modified 1 year, 6 months ago by guruzz.
Viewing 9 replies - 1 through 9 (of 9 total)
  • @guruzz I posted a similar issue yesterday. Are you still having problems? Did you find a fix?

    I’m new to WPO so I don’t know whether it’s worth hanging around until the problem is fixed. I need to launch my new site and the images need to be compressed because they’re dragging page load speeds right down.

    Plugin Support vupdraft

    (@vupdraft)

    It looks like you are trying to launch to smush processes too close together. Can you leave a bit more time between attempts?

    @karzad23 – Can you post your log in this thread: https://wordpress.org/support/topic/image-optimisation-not-working-for-bulk-images/

    Thread Starter guruzz

    (@guruzz)

    Yes I still have the problem, I managed only to compress one old image file (uploaded 2 years ago) from Media. But still no webp converting. Tried to add a new test image, but nothing happend, same problems, no compressing.

    I’ll give it some more time, because the functions of the plugin are good overall, simple to set up, all in one, database, caching etc. Of course if the problem persist and can’t be solved in the next few days, i’ll find alternatives, that means more than two new plugins.

    • This reply was modified 1 year, 6 months ago by guruzz.
    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    The WebP functionality and the smush compression are entirely different processes.

    For the test image for the webp, would you be able to post the URL of this image?

    Please note only newly added images will converted to WebP.

    For the compression, as it is on the smush server we are limited in what we can do, however, in the next release we will be releasing our own compression service which should hopefully been a lot more user friendly and efficient.

    Thread Starter guruzz

    (@guruzz)

    Thank you for your response.

    As for the already compressed images, this one i.e. cannot be converted:

    https://www.guruzz.com.gr/wp-content/uploads/2023/07/Κούπα-Batman-logo.jpg

    When trying to convert in media gallery, a blank rectagle appears and closes almost immediately.

    If a newly added image cannot be compressed, I can not convert it to webp. For example this upload image cannot be compressed:

    https://www.guruzz.com.gr/wp-content/uploads/2020/12/Ying-yang-τασάκι.png

    When trying to convert in media gallery, a blank rectagle appears and closes almost immediately. When trying in the Images tab of wp optimize, then the operation starts, I am seeing the results but in the end the operation gets aborted and in the log I get (removed some info):

    [2023-07-17 07:42:20 : INFO] – A total of 1 tasks of type smush found and will be processed in this iteration
    [2023-07-17 07:42:20 : INFO] – Lock (updraft_lock_smush, wpr4_options) acquired
    [2023-07-17 07:42:20 : INFO] – Processing task with ID : 45, and type ‘smush’
    [2023-07-17 07:42:20 : INFO] – Re_Smush_It_Task – attachment ID : 20158, started on : July 17, 2023 07:36:15
    [2023-07-17 07:42:20 : INFO] – File: Ying-yang-τασάκι.png, Compression quality: 75

    …………………………………………………………………

    [2023-07-17 07:43:17 : INFO] – A total of 1 tasks of type smush found and will be processed in this iteration
    [2023-07-17 07:43:17 : DEBUG] – Lock option (updraft_lock_smush, wpr4_options) already existed in the database
    [2023-07-17 07:43:17 : INFO] – Lock (updraft_lock_smush, wpr4_options) could not be acquired (it is locked)
    [2023-07-17 07:43:17 : INFO] – Failed to gain semaphore lock (smush) – another process is already processing the queue – aborting (if this is wrong – i.e. if the other process crashed without removing the lock, then another can be started after 1 minute
    [2023-07-17 07:43:17 : INFO] – Cleaning up tasks of type (smush). A total of 1 tasks will be deleted.

    Plugin Support vupdraft

    (@vupdraft)

    It looks like you tried to run two processed too close together.

    Another user has reported that the bulk compression is working for them now so it would be worth trying again.

    Smush.it is a third party service so I have contacted their support.

    However, we are due to release our own compression service in the the next release of WPO

    For your WebP, I tried to load a WebP version of your image and I got a 404 (which is consistent with your report)

    What you have sounds like a plugin conflict, can you deactivate your other plugins and see if the issues persists, if it does not can you reactivate them one by one until you find the offending one.

    If deactivating your plugins does not help, can you send us your php error logs (these should be in the root of your site or you can ask your hosts for them)

    • This reply was modified 1 year, 6 months ago by vupdraft.
    Thread Starter guruzz

    (@guruzz)

    Thank you for your assistance.

    Deactivating-reactivating one by one didn’t resoleve the problem. Sending you latest part of php error log

    [18-Jul-2023 05:46:43 UTC] PHP Fatal error: Uncaught WebPConvert\Convert\Exceptions\ConversionFailed\ConverterNotOperational\SystemRequirementsNotMetException: The exec() call failed in …/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/GraphicsMagick.php:217
    Stack trace:

    0 …/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(57): WebPConvert\Convert\Converters\GraphicsMagick->doActualConvert()

    1 …./plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(95): WebPConvert\Convert\Converters\GraphicsMagick->convertTwoAndSelectSmallest()

    2 …/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(256): WebPConvert\Convert\Converters\GraphicsMagick->runActualConvert()

    3 …/plugins/wp-optimize/vendor/ros in …/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/GraphicsMagick.php on line 217

    Thread Starter guruzz

    (@guruzz)

    After two hours it was possible to convert to Webp. But the name of the resulting files is “-name.jpeg.webp” instead of “name-name.jpeg.webp”:

    Original: Κούπες-Batman-home.jpg
    Webp: -Batman-home.jpg.webg.

    To load the photo correctly in the frontend, you need to manually change the webp name. Also, in the Media Library menu in the admin panel, “Convert to WebP” is still displayed after the conversion. After the manual name change, the “Convert to WebP” disapears.

    “Κούπες” is a greek word. It seems that the problem occurs when the first word is Greek, because I tried the other way around (Greek name as second word) and everything works fine.

    This problem didn’t exist when I first installed wp compress, all the image files converted with their normal name.


    • This reply was modified 1 year, 5 months ago by guruzz.
    • This reply was modified 1 year, 5 months ago by guruzz.
    Plugin Support vupdraft

    (@vupdraft)

    Thank you for this, I have logged a ticket in our internal development board for our development team to look at.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Image compression and webp conversion stop working’ is closed to new replies.