Repeated automatic updates failures
-
On a DreamPress site with PHP 8.5.5, WordPress 7.0.3, and Easy Updates Manager 9.0.21, I see repeated automatic update success log entries followed by corresponding automatic update failed log entries. It seems the plugins are being updated, but then rolled back. Failure log traces all have:
MPSUM_Logs->perform_shutdown_task() 2 /plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Logs.php (103): MPSUM_Logs->maybe_log_updates()
I also see some manual update success log entries showing me as the user, even though I did not manually select and update the updated plugins. 🤔
Plugins with repeated automatic update failed log entries include:
- Site Kit by Google
- Chaty
- Smush
Plugins that I supposedly manually updated include:
- Wordfence Security
- Wordfence Login Security
I use DreamPress one-click staging some, although I only one-way copy from the live/production site to the staging site, never from staging to live/production. Before I had this one-liner in place, automatic updates weren’t working at all.
add_filter('automatic_updates_is_vcs_checkout', '__return_false', 11);WP_CRON is disabled in wp-config.php:
define( 'DISABLE_WP_CRON', true );Instead, a number of cron job schedules are set up in the DreamPress control panel to call the wp CLI and target WP CRON hooks such as wp_update_plugins. DreamPress also automatically runs due scheduled events every 15 minutes.
Any suggestions?
You must be logged in to reply to this topic.