• ranulhashika

    (@ranulhashika)


    When I try to convert it was failed. Then I try to test. Got this log. How can I solve this? Hosted in google cloud.

    Result: Failure

    Message: No cwebp binaries could be executed (permission denied for user: “daemon”).

    Conversion log:

    Converter set to: cwebp

    *WebP Convert 2.3.0* ignited.
    – PHP version: 7.3.10
    – Server software: Apache

    Cwebp converter ignited

    Options:
    ————
    The following options have been set explicitly. Note: it is the resulting options after merging down the “jpeg” and “png” options and any converter-prefixed options.
    – source: /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/test/test-pattern-tv.jpg
    – destination: /opt/bitnami/apps/wordpress/htdocs/wp-content/webp-express/webp-images/doc-root/wp-content/plugins/webp-express/test/test-pattern-tv.jpg.webp
    – default-quality: 70
    – encoding: “auto”
    – low-memory: true
    – log-call-arguments: true
    – max-quality: 80
    – metadata: “none”
    – method: 6
    – near-lossless: 60
    – quality: “auto”
    – use-nice: true
    – command-line-options: “”
    – try-common-system-paths: true
    – try-supplied-binary-for-os: true

    The following options have not been explicitly set, so using the following defaults:
    – alpha-quality: 85
    – auto-filter: false
    – preset: “none”
    – size-in-percentage: null (not set)
    – skip: false
    – rel-path-to-precompiled-binaries: *****
    – try-cwebp: true
    – try-discovering-cwebp: true
    ————

    Encoding is set to auto – converting to both lossless and lossy and selecting the smallest file

    Converting to lossy
    Looking for cwebp binaries.
    Discovering if a plain cwebp call works (to skip this step, disable the “try-cwebp” option)
    – Executing: cwebp -version. Result: *Exec failed* (the cwebp binary was not found at path: cwebp)
    Nope a plain cwebp call does not work
    Discovering binaries using “which -a cwebp” command. (to skip this step, disable the “try-discovering-cwebp” option)
    Found 0 binaries
    Discovering binaries by peeking in common system paths (to skip this step, disable the “try-common-system-paths” option)
    Found 0 binaries
    Discovering binaries which are distributed with the webp-convert library (to skip this step, disable the “try-supplied-binary-for-os” option)
    Checking if we have a supplied precompiled binary for your OS (Linux)… We do. We in fact have 3
    Found 3 binaries:
    – /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Binaries/cwebp-103-linux-x86-64
    – /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Binaries/cwebp-103-linux-x86-64-static
    – /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Binaries/cwebp-061-linux-x86-64
    Detecting versions of the cwebp binaries found
    – Executing: /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Binaries/cwebp-103-linux-x86-64 -version. Result: *Exec failed*. Permission denied (user: “daemon” does not have permission to execute that binary)
    – Executing: /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Binaries/cwebp-103-linux-x86-64-static -version. Result: *Exec failed*. Permission denied (user: “daemon” does not have permission to execute that binary)
    – Executing: /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert/src/Convert/Converters/Binaries/cwebp-061-linux-x86-64 -version. Result: *Exec failed*. Permission denied (user: “daemon” does not have permission to execute that binary)

    **Error: ** **No cwebp binaries could be executed (permission denied for user: “daemon”).**

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ranulhashika

    (@ranulhashika)

    Can you answer me?

    atimez

    (@atimez)

    The same problem happens to the siteground hosting too. Waiting a solution.

    It may be because of exec is disabled on most of hosting.

    By default binary permissions are set to 0644 which means that even if exec() is enabled, binary can’t be executed. You must change permissions to allow user and group to execute the binary related to your server OS or even all if you are not sure about OS. But you can’t use this plugin if your hosting provider has disabled exec() and no other options are available for conversion.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permission problem’ is closed to new replies.