• Hi
    I have two completely independent servers, each with around 30 sites installed. I work with Docker containers and a Cloudflare tunnel.
    Since last week, when I try to update plugins via the WordPress interface, after successfully updating about 5 or 6 plugins, it starts to fail randomly on any plugin. I get different error messages, but often it says that it was unable to write to the upgrade directories. In fact, it even deletes the folder with the plugin files.
    There’s nothing in the logs, no permission issues. It happens on both servers.
    I was able to work around the issue by using MainWP, with which all updates work fine.
    I have no idea where the problem is coming from.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Increase the memory limit

    define(‘WP_MEMORY_LIMIT’, ‘256M’);

    Thread Starter spiwee

    (@spiwee)

    Thanks
    I will try
    Regards

    Thread Starter spiwee

    (@spiwee)

    Hi
    I try :
    define(‘WP_MEMORY_LIMIT’, ‘256M’); : plugins update fail
    define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/temp’); and create wp-content/temp directory : plugins update fail
    Update the stack : plugins update fail

    I don’t have any other ideas …

    We had similar issues with various plugin update errors that seemed random but only occured when attempting an update using the admin interface. In Cloudflare go to Speed > Optimization > Content Optimization. Check to see if Speed Brain is enabled. Disable Speed Brain and try your plugin updates again. For plugins that have already failed to update you might need to delete them and reinstall them even Speed Brain is the problem. We discovered the failure caused some plugin folders to be empty or had several missing files.

    Thread Starter spiwee

    (@spiwee)

    Hi @drusso
    Thank you very much for your response.
    This morning, I disabled Speed Brain on several domains, and I was able to perform about 30 updates without any issues!
    I still checked my domains with pings and had almost no packet loss (even before disabling Speed Brain), whereas in the past few days, the packet loss was significant.
    So, I will keep an eye on this parameter before restarting updates next week.
    Thanks again for helping me resolve this situation, especially since restoring the plugins after crashes takes a lot of time.
    Have a good weekend
    Best regards
    Nathalie

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.