plugin broken after update attempt
-
Hi there,
Just tried to update everything on http://darwinaboriginalartfair.com.au/ via ManageWP and the update on your plugin had a glitch. I tried a manual update, but there were a few error messages (below), so I restored the site thinking all would be fine… but errors remain.
I’ve checked your instructions but I can see what do do for these errors. I can see in the ewww directory in wp-content is now empty but it wasn’t before.
Can you help me fix it?
EWWW Image Optimizer could not install tools in /home/darwinab/public_html/wp-content/ewww/. Please adjust permissions or create the folder. If you have installed the tools elsewhere on your system, check the option to Use System Paths. For more details, visit the Settings Page or the Installation Instructions.
EWWW Image Optimizer uses jpegtran, optipng, pngout, pngquant, gifsicle, and cwebp. You are missing: jpegtran, optipng, gifsicle. Please install via the Settings Page or the Installation Instructions.
-
You might try just deleting the ewww folder, and the ewww-image-optimizer plugin folder. Then reinstall it and see what happens. The wp-content/ewww/ folder needs to be writable by the web-server process, so the exact permissions are difficult to determine. If you turn on debugging, the very first line should tell you what username the web server is running as. All files on your site should normally be owned by that user at the very least.
Thanks for getting back to me.
permissions 755 on the ewww directory? Is that incorrect?Have removed plugin and ewww folder and reinstalled and recreated, but still the top error, and all the required paths not generated.
I’ve got the username but not sure how to go about getting it all to run. Sorry! I’m helping out with the site but I didn’t set it up, so it might be a bit over my head.
Thanks!
I’ve tried following your step 5.for if automatic install didn’t work.
I have put my own ewww directory in as per my earlier message and I think I’m doing the right thing by copying over the following:
jpegtran-linux
optipng-linux
gifsicle-linux
and removing the -linux after copying over. I’ve check that I am transferring as binary, but the files vanish as soon as they are tranferred??My status is as follows:
jpegtran: Missing
optipng: Missing
gifsicle: Missing
safe mode: Off exec(): Enabled
Graphics libraries – only need one, used for conversion, not optimization
GD: Installed Imagemagick ‘convert’: Missing
Only need one of these:
finfo: Missing getimagesize(): Installed mime_content_type(): MissingI look forward to any advice you may have,
Thank you!
Please turn on debugging, and post the output at the bottom of the settings page.
It’s long…
Debug Log darwinab EWWW IO version: 241.0 WP version: 4.2.2 ewww_image_optimizer_preinit() ewww_image_optimizer_admin_init() ewww_image_optimizer_init() ewww_image_optimizer_cloud_init() ewww_image_optimizer_exec_init() no admin, be quiet ewww_image_optimizer_tool_init() ewww_image_optimizer_install_tools() Checking/Installing tools in /home/darwinab/public_html/wp-content/ewww/ wp-content/ewww permissions: 0755 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated paths: /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64 /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/optipng-linux /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/pngquant-linux /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux864 /home/darwinab/public_html/wp-content/ewww/jpegtran /home/darwinab/public_html/wp-content/ewww/optipng /home/darwinab/public_html/wp-content/ewww/gifsicle /home/darwinab/public_html/wp-content/ewww/pngquant /home/darwinab/public_html/wp-content/ewww/cwebp jpegtran not found or different size, installing Couldn't copy jpegtran 64-bit linux detected while installing tools copying /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux to /home/darwinab/public_html/wp-content/ewww/jpegtran-alt Couldn't copy 32-bit jpegtran to jpegtran-alt jpegtran-alt (32-bit) permissions: 0 couldn't set jpegtran-alt permissions gifsicle not found or different size, installing Couldn't copy gifsicle optipng not found or different size, installing Couldn't copy optipng pngquant not found or different size, installing Couldn't copy pngquant webp not found or different size, installing Couldn't copy webp copying /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux664 to /home/darwinab/public_html/wp-content/ewww/cwebp-alt Couldn't copy libjpeg6 cwebp to cwebp-alt cwebp6-alt (libjpeg6) permissions: 0 couldn't set cwebp6-alt permissions ewww_image_optimizer_settings_script() ewww_image_optimizer_notice_utils() no admin, be quiet ewww_image_optimizer_exec_check() disable_functions = suhosin_blacklist = ewww_image_optimizer_safemode_check() safe_mode = ewww_image_optimizer_path_check() ewww_image_optimizer_tool_found() testing case: j at jpegtran jpegtran: sh: jpegtran: command not found tool not found ewww_image_optimizer_tool_found() testing case: j at /usr/bin/jpegtran /usr/bin/jpegtran: sh: /usr/bin/jpegtran: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: j at /usr/local/bin/jpegtran /usr/local/bin/jpegtran: sh: /usr/local/bin/jpegtran: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: j at /usr/gnu/bin/jpegtran /usr/gnu/bin/jpegtran: sh: /usr/gnu/bin/jpegtran: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: j at /usr/syno/bin/jpegtran /usr/syno/bin/jpegtran: sh: /usr/syno/bin/jpegtran: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: o at optipng optipng: sh: optipng: command not found tool not found ewww_image_optimizer_tool_found() testing case: o at /usr/bin/optipng /usr/bin/optipng: sh: /usr/bin/optipng: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: o at /usr/local/bin/optipng /usr/local/bin/optipng: sh: /usr/local/bin/optipng: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: o at /usr/gnu/bin/optipng /usr/gnu/bin/optipng: sh: /usr/gnu/bin/optipng: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: o at /usr/syno/bin/optipng /usr/syno/bin/optipng: sh: /usr/syno/bin/optipng: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: g at gifsicle gifsicle: sh: gifsicle: command not found tool not found ewww_image_optimizer_tool_found() testing case: g at /usr/bin/gifsicle /usr/bin/gifsicle: sh: /usr/bin/gifsicle: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: g at /usr/local/bin/gifsicle /usr/local/bin/gifsicle: sh: /usr/local/bin/gifsicle: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: g at /usr/gnu/bin/gifsicle /usr/gnu/bin/gifsicle: sh: /usr/gnu/bin/gifsicle: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: g at /usr/syno/bin/gifsicle /usr/syno/bin/gifsicle: sh: /usr/syno/bin/gifsicle: No such file or directory 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 ewww_image_optimizer_tool_found() testing case: q at pngquant pngquant: sh: pngquant: command not found tool not found ewww_image_optimizer_tool_found() testing case: q at /usr/bin/pngquant /usr/bin/pngquant: sh: /usr/bin/pngquant: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: q at /usr/local/bin/pngquant /usr/local/bin/pngquant: sh: /usr/local/bin/pngquant: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: q at /usr/gnu/bin/pngquant /usr/gnu/bin/pngquant: sh: /usr/gnu/bin/pngquant: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: q at /usr/syno/bin/pngquant /usr/syno/bin/pngquant: sh: /usr/syno/bin/pngquant: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: w at cwebp cwebp: sh: cwebp: command not found tool not found ewww_image_optimizer_tool_found() testing case: w at /usr/bin/cwebp /usr/bin/cwebp: sh: /usr/bin/cwebp: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: w at /usr/local/bin/cwebp /usr/local/bin/cwebp: sh: /usr/local/bin/cwebp: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: w at /usr/gnu/bin/cwebp /usr/gnu/bin/cwebp: sh: /usr/gnu/bin/cwebp: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: w at /usr/syno/bin/cwebp /usr/syno/bin/cwebp: sh: /usr/syno/bin/cwebp: No such file or directory tool not found ewww_image_optimizer_options() ewww_image_optimizer_savings() querying savings for single site query to be performed: SELECT SUM(orig_size-image_size) FROM wp_uuh7y6_ewwwio_images savings found: 195771469 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated paths: /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64 /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/optipng-linux /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/pngquant-linux /home/darwinab/public_html/wp-content/plugins/ewww-image-optimizer/cwebp-linux864 /home/darwinab/public_html/wp-content/ewww/jpegtran /home/darwinab/public_html/wp-content/ewww/optipng /home/darwinab/public_html/wp-content/ewww/gifsicle /home/darwinab/public_html/wp-content/ewww/pngquant /home/darwinab/public_html/wp-content/ewww/cwebp ewww_image_optimizer_tool_found() testing case: j at : sh: -v: command not found tool not found ewww_image_optimizer_tool_found() testing case: o at : sh: -v: command not found tool not found ewww_image_optimizer_tool_found() testing case: g at : sh: --version: command not found tool not found ewww_image_optimizer_safemode_check() safe_mode = ewww_image_optimizer_exec_check() disable_functions = suhosin_blacklist = ewww_image_optimizer_gd_support() GD found, supports: GD Version: bundled (2.1.0 compatible) FreeType Support: 1 FreeType Linkage: with freetype T1Lib Support: 1 GIF Read Support: 1 GIF Create Support: 1 JPEG Support: 1 PNG Support: 1 WBMP Support: 1 XPM Support: 1 XBM Support: 1 JIS-mapped Japanese Font Support: ewww_image_optimizer_tool_found() testing case: i at convert convert: sh: convert: command not found tool not found ewww_image_optimizer_tool_found() testing case: i at /usr/bin/convert /usr/bin/convert: sh: /usr/bin/convert: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: i at /usr/local/bin/convert /usr/local/bin/convert: sh: /usr/local/bin/convert: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: i at /usr/gnu/bin/convert /usr/gnu/bin/convert: sh: /usr/gnu/bin/convert: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: i at /usr/syno/bin/convert /usr/syno/bin/convert: sh: /usr/syno/bin/convert: No such file or directory tool not found ewww_image_optimizer_tool_found() testing case: f at file file: magic file from /etc/magic:/usr/share/misc/magic file binary found ewww_image_optimizer_tool_found() testing case: n at nice nice: 0 nice found get_image_sizes() Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 ) [medium] => Array ( [width] => 300 [height] => 300 ) [large] => Array ( [width] => 1024 [height] => 1024 ) [post-thumbnail] => Array ( [width] => 50 [height] => 50 ) [full] => Array ( [width] => 0 [height] => 0 ) [small-grid] => Array ( [width] => 80 [height] => 80 ) [medium-grid] => Array ( [width] => 120 [height] => 120 ) [large-grid] => Array ( [width] => 240 [height] => 240 ) [blog-thumbnail] => Array ( [width] => 650 [height] => 250 ) [photo-thumbnail] => Array ( [width] => 650 [height] => 0 ) ) ewww_image_optimizer_jpg_background() ewww_image_optimizer_jpg_background() ewww_image_optimizer_jpg_quality() --180--Not sure why but I can’t seem to paste it in this message. It just stays blank?
Maybe it’s too long to post here?
use pastebin.com and post the link here.
Thanks: http://pastebin.com/v2qSk177
Ask your webhost how to fix the permissions so that all files are owned by darwinab, that should do the trick.
The topic ‘plugin broken after update attempt’ is closed to new replies.