WordPress3 min read

Troubleshooting Failed WordPress Core and Plugin Auto-Updates

Learn how to troubleshoot failed automatic core updates, file permission issues, and database maintenance locking errors in WordPress.

FT
Figmantor Team
Published: May 12, 2026
Troubleshooting Failed WordPress Core and Plugin Auto-Updates

Understanding WordPress Auto-Updates

WordPress is designed to keep your site secure and up-to-date through automatic core and plugin updates. However, there are instances where these updates can fail, causing potential issues for your website. Common reasons include file permission issues, server configurations, and database locking errors. In this guide, we will walk through troubleshooting these problems, ensuring your site remains stable and secure.

Common Reasons for Failed Auto-Updates

  • File permission issues
  • Database locking errors
  • Server resource limits
  • Outdated PHP versions
  • Conflicting plugins or themes

Step 1: Check File Permissions

One of the most common causes of failed updates is incorrect file permissions. For WordPress to perform updates, it needs appropriate access to its files and directories. Here’s how to check and fix file permissions:

Checking Permissions via FTP

1. Connect to your server using an FTP client (like FileZilla). 2. Navigate to your WordPress installation directory. 3. Right-click on the folder and select 'File Permissions'. 4. Ensure that directories are set to `755` and files are set to `644`. 5. Apply changes recursively to all directories and files.

Step 2: Review wp-config.php Settings

Your `wp-config.php` file might contain settings that prevent automatic updates. Check for the following constants and ensure they're set correctly:

PHPREAD-ONLY CONFIG
// Disable automatic updates
define('AUTOMATIC_UPDATER_DISABLED', false);

// Enable automatic updates for all core updates
define('WP_AUTO_UPDATE_CORE', true);

// Allow plugin and theme updates
add_filter('auto_update_plugin', '__return_true');
add_filter('auto_update_theme', '__return_true');

Step 3: Check for Database Locking Errors

Sometimes, a database locking issue can prevent updates from completing. This often happens when an update process is interrupted or not completed. To fix this, you can:

Repair the Database

1. Open your `wp-config.php` file. 2. Add this line to enable database repair: `define('WP_ALLOW_REPAIR', true);` 3. Visit `http://yourwebsite.com/wp-admin/maint/repair.php` to initiate the repair process. 4. After repairing, remove the line you added to `wp-config.php`.

Step 4: Review Server Resource Limits

Low server resources can also cause updates to fail. Check your server’s resource limits, such as memory and execution time, by modifying your `php.ini` file or `.htaccess` file.

BASHREAD-ONLY CONFIG
; In php.ini
memory_limit = 256M
max_execution_time = 300
BASHREAD-ONLY CONFIG
; In .htaccess
php_value memory_limit 256M
php_value max_execution_time 300

Step 5: Update Plugins and Themes Manually

If automatic updates continue to fail, you can manually update your plugins and themes. Here’s how to do it:

Manual Update Process

1. Go to the WordPress Plugin Repository or Theme Directory. 2. Download the latest version of the plugin or theme. 3. Extract the files and upload them to the respective directories via FTP, replacing the old files.

Final Thoughts

Troubleshooting failed WordPress core and plugin auto-updates can be daunting, but by following these steps, you can identify and resolve the underlying issues. Regularly maintaining your WordPress site and ensuring proper configurations will help prevent these problems in the future. Always remember to back up your site before making changes, allowing for a safe recovery if needed.

Figmantor Logo
Verified Agency Experts

Work with Figmantor

We are an experienced team of experts in AI integrations, WordPress development, Showit customizations, and Next.js web development. From fixing bugs and optimizing speed to converting designs into production-ready platforms, we handle your project end-to-end with premium code quality.

Related Articles