• Resolved rippleffect

    (@rippleffect)


    Hello,

    When trying to update to the latest version of WooPayments 10.6.0, the update failed and caused a critical error on the website. Here is what I see on my end after trying to update,

    Updating Plugin WooPayments (1/1)

    Downloading update from https://downloads.wp.xz.cn/plugin/woocommerce-payments.10.6.0.zip…
    Unpacking the update…

    Warning: chmod(): No such file or directory in /home/xxxxx/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173

    Warning: unlink(/tmp/woocommerce-payments.10.6.0.zip): No such file or directory in /home/xxxx/public_html/wp-admin/includes/class-wp-upgrader.php on line 388

    An error occurred while updating WooPayments: Could not copy file. woocommerce-payments/includes/core/server/request/trait-date-parameters.php

    Please let me know what you would need on your end so that I can hopefully try and resolve

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi @rippleffect,

    Thanks for the detailed error output. That’s very helpful!

    The good news is this isn’t a WooPayments bug itself, but rather a server filesystem issue that’s interrupting the update process. Looking at the three errors in sequence:

    The update process downloads the zip to your server’s /tmp directory first, and that step is already failing. WordPress can’t set the right permissions on the temp file (chmod(): No such file or directory). Because of that, the zip is never properly extracted, and the copy into your plugin directory fails as well, leaving WooPayments in a broken partial-update state.

    This is most commonly caused by one of the following on shared hosting environments: /tmp being full or having restrictive write permissions, insufficient disk quota, or the plugin directory itself having permission settings that prevent WordPress from writing to it during an update.

    The most reliable fix is a manual update via FTP/SFTP:

    1. Download the latest zip directly from https://ww.wp.xz.cn/plugins/woocommerce-payments/
    2. Connect to your site via FTP/SFTP and navigate to /wp-content/plugins/
    3. Completely delete the woocommerce-payments folder
    4. Upload and extract the fresh zip manually into the plugins directory

    This completely bypasses the WordPress in-dashboard updater and the /tmp dependency, so the filesystem issues won’t get in the way.

    If you’d also like to fix the root cause rather than work around it, I’d recommend reaching out to your hosting provider and asking them to check: /tmp directory permissions and available space, and write permissions on your wp-content/plugins/ directory.

    I hope that helps. Let us know if you need anything else.

    Thread Starter rippleffect

    (@rippleffect)

    Thanks for the response

    I ended up downloading the zip file directly from my Woo Dashboard and installed it manually

    Thanks and have a good day

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Great to hear everything’s working perfectly now! Before you go, If you found WooCommerce helpful in setting up your store, we would really appreciate it if you could leave a five-star review here: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post. Your feedback helps us improve and lets other users know how WooCommerce can support their business.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.