WordPress not Updating automatically?. Are you facing any problems in updating WordPress to the latest version by the automatic WordPress update process? Don’t worry about them. We have the solution. Before we getting started, read our article on How to Update WordPress to know more about the WordPress update process. It is a comprehensive and easy to follow guide to update your WordPress version to the latest release. We described some effective methods to get a successful update of your WordPress platform. There are several things you need to check if your WordPress not updating automatically. We listed some of them below so that you can check it out one by one to diagnose the issue.
Before turning on the automatic updates, make sure that you didn’t modify any core WordPress files. For example, if you made changes to the WordPress files for adding some custom functions to your website, you will lose them as soon as WordPress gets updated.
Enable Automatic WordPress Updates
Most of the modern-day hosting providers come with automatic WordPress update feature including its plugins. If your hosting doesn’t support such a function, you will have to manually enable WordPress automatic updates by adding the following line to your wp-config.php file in the root folder of your website.
define( 'WP_AUTO_UPDATE_CORE', true );
You can also use some WordPress auto-update plugins such as Easy Updates Manager or Companion Auto Update to enable automatic updates on your WordPress website. These plugins will also have several additional features to keep your plugins and themes updated and take control of the update process.
Check if WordPress Cron has any issues
WordPress checks for updates for itself and its plugins or themes using the cron jobs. It is basically a process that checks for updates once in a while and if any updates are available, it will be displayed on the backend. For the automatic WordPress updates to run, the cron jobs should be working fine. If your host or any other conflicts blocking the cron from running, the updates may not be performed as expected. If you figure out that your WordPress cron isn’t working, you can try a quick fix by adding the following line to your wp-config.php (be sure to make sure that the WP Cron isn’t actually working. You can use a plugin such as WP Control to check the cron jobs.)
WordPress doesn’t have sufficient file permissions
WordPress, like any other application, requires sufficient permission to read, write, delete, and add files to your server. If you didn’t make any changes to the file or folder permissions on your hosting provider, in most of the cases you are good to go and nothing requires any change. However, if you want to double-check the permissions, these are the recommended permissions for WordPress.
- Folders – 755
- Files – 644
- wp-config.php – 600
- .htaccess – 644, or 600
If you find that they are not as listed above, especially the folders, you should talk to your hosting support or change the folder permissions and allow WordPress to write files to your server.
WordPress doesn’t have FTP access
In most of the cases, all the managed WordPress hosting providers have all the basic things required for WordPress to function properly enabled by default. If you are on a self-managed hosting such as Digital Ocean, you might wanna enable the FTP access to WordPress by inserting the following line to the wp-config.php file.
Debug using the Background Update Tester Plugin
There is a plugin in the WordPress plugin repository that will check issues in the update process for you. The plugin is Background Update Tester. The plugin runs a series of tests and diagnosis methods to identify the issues with your WordPress/Server in updating the platform. If you are unsure of the issue and couldn’t resolve it until now, using this plugin to identify the problems might be a good move. No worries, you can remove it as soon as you identify the problem. You do not have to keep it live on the site forever.
What to do if you still face issues with WordPress updates? The best thing you can do after trying the above fixes yourself is reaching out to your hosting support. If you are on a good hosting provided such as Siteground who provide great support for the customers, you are lucky enough to solve the issue within a matter of minutes. Before reaching out to a developer or someone who you may need to pay to get the issue resolved, the support that you can get for free would be the ideal solution. They will be happy to solve the issues for you.