• Resolved The-Dude

    (@the-dude-1)


    Hi,

    all parts of EWWW Image Optimizer are working very well, except pngout. I can’t install it. The EWWW-Directory is set to 777 and files within to 755 and the strangest thing: pngout-static is inside of the EWWW-directory! Furthermore the user is set to the one with the highest rights. My Webhost checked all, and the Support says, it’s all ok.

    What’s wrong?

    Excerpt from the Debug-Log:

    ewww_image_optimizer_md5check()
    /is/htdocs/wp12375925_KAFNDTF7YL/www/smarthomearea/wp-content/ewww/pngout-static: 354917afca95aacfb99aaab570f058e6
    md5sum verified, binary is intact
    ewww_image_optimizer_mimetype()
    testing mimetype: /is/htdocs/wp12375925_KAFNDTF7YL/www/smarthomearea/wp-content/ewww/pngout-static
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: p at /is/htdocs/wp12375925_KAFNDTF7YL/www/smarthomearea/wp-content/ewww/pngout-static
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at pngout
    pngout: sh: pngout: command not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout
    /usr/bin/pngout: sh: /usr/bin/pngout: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout
    /usr/local/bin/pngout: sh: /usr/local/bin/pngout: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout
    /usr/gnu/bin/pngout: sh: /usr/gnu/bin/pngout: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/syno/bin/pngout
    /usr/syno/bin/pngout: sh: /usr/syno/bin/pngout: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at pngout-static
    pngout-static: sh: pngout-static: command not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout-static
    /usr/bin/pngout-static: sh: /usr/bin/pngout-static: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout-static
    /usr/local/bin/pngout-static: sh: /usr/local/bin/pngout-static: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout-static
    /usr/gnu/bin/pngout-static: sh: /usr/gnu/bin/pngout-static: No such file or directory
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/syno/bin/pngout-static
    /usr/syno/bin/pngout-static: sh: /usr/syno/bin/pngout-static: No such file or directory
    tool not found
    ….

    https://www.ads-software.com/plugins/ewww-image-optimizer/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Indeed, everything appears to be in order, except when the plugin tries to run pngout, it does not get a version string. Sometimes, having their support folks run the command via a shell can shed some light on a missing dependency.

    Otherwise, it’s entirely possible that the binaries/executables just are not compatible with your server. With the multitude of linux distributions available, and then add in various versions and configurations, and it gets to be quite a mess. Pngout is compiled on Debian 7.8, but there are still some older systems in use by several webhosts that would not be compatible (most notably, RHEL and CentOS 5).

    Thread Starter The-Dude

    (@the-dude-1)

    Hmmmm, but weeks ago your plugin has worked excellent. ;( Now, without png-Support it’s pretty useless for me. Don’t you have any hint for me, that i could hand over to the webhost support? ??

    Plugin Author nosilver4u

    (@nosilver4u)

    You mean pngout worked before on your server? Were you using an older version?

    Thread Starter The-Dude

    (@the-dude-1)

    Yes, it worked. Weeks ago i’ve upgraded my site from a pure webhost (nothing more than a better webspace) to a more professional virtual server. But the company is the same. I can’t remember if the pngout-Problem was bevor or after the upgrade. Do you think, a older plugin-version could solve the problem?

    Thread Starter The-Dude

    (@the-dude-1)

    The OS of my Webserver is DebianSqueez aka Debian 6.0. Does it help you further?

    Plugin Author nosilver4u

    (@nosilver4u)

    Yeah, you’re going to need an older version of pngout. Try this: https://static.jonof.id.au/dl/kenutils/pngout-20130221-linux-static.tar.gz

    I don’t know for sure which binary you’ll need from the file, since you didn’t provide the full debug log, but your webhost can probably figure that out (32-bit/i686 vs x64). Just replace the pngout-static file that is already there with the appropriate one from the file. If you don’t have a program that will open a .tar.gz file, try 7-zip. And if you transfer the file via FTP, make sure you use BIN (binary) mode. Transferring in text/ASCII mode will corrupt the file.

    Thread Starter The-Dude

    (@the-dude-1)

    The Webserver-Support send me this message:

    When trying to install Pngout in WordPress, the following extract is generated in the error log:
    sh: line 1: 10575 Segmentation fault /is/htdocs/wp12375925_KAFNDTF7YL/www/smart home area/wp-content/ewww/pngout-static 2> & 1
    The file is unfortunately a Binary – hence can not be interpreted by sh.

    Is it helpfull?

    Because, i copied the i686-Version from your File above into the EWWW-Directory and nothing has changed. Is their any additional step necessary?

    Plugin Author nosilver4u

    (@nosilver4u)

    Post an updated debug log, and I’ll see what architecture it shows.

    Thread Starter The-Dude

    (@the-dude-1)

    For security reasons … can i send you the log via Mail?

    Plugin Author nosilver4u

    (@nosilver4u)

    Plugin Author nosilver4u

    (@nosilver4u)

    According to the debug log you sent me, the error is because they didn’t actually install the right version, they just reinstalled the i686 binary from the 2015 release. They need to install the i686 binary from the 2013 release that I linked to previously.

    Thread Starter The-Dude

    (@the-dude-1)

    Ok, one step closer to the goal. ?? So, the solution could be, that i copy the 2013-i686-Version to the EWWW-Directory and …. then?

    Plugin Author nosilver4u

    (@nosilver4u)

    All you have to do is copy pngout-static to the wp-content/ewww/ folder (not the plugins/ewww-image-optimizer/ folder). Like I said before, it can get corrupted by FTP if not using BIN mode, and you may need to fix permissions to make it executable. But just copying it into place should normally work.

    Thread Starter The-Dude

    (@the-dude-1)

    Yeeehaaaaw! ?? EWWW is running without error! All green! ??
    At the end their were 2 very important things:

    1st: YOUR older EWWW-Version
    2nd: FTP-Upload with forced Binary-Mode, not Automode!

    I am happy ??

    Thank you! ??
    A little Donation is on the way ??

    Plugin Author nosilver4u

    (@nosilver4u)

    Glad to hear it, always feels good to help someone sort out a sticky problem.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Can't install pngout, all set and done’ is closed to new replies.