9. Hub – Automate
Do you find updating WordPress, themes and plugins time-consuming and (occasionally) scary?
Quickly (or automatically!) update your WordPress, plugins, and themes with full backups and our Safe Update system.
The security and stability of your sites will never be a problem again.
TO GET STARTED
For Automate to be available, your domain must be connected to your Hub https://premium.wpmudev.org/docs/getting-started/add-a-site-to-the-hub/.
Connected your site? Excellent, let’s go straight into setting up Automate.
Go to https://premium.wpmudev.org/hub/my-websites/, expand your chosen domain and click on the “Automate” tab:
First, choose which plugins/themes you would like to automatically update when a new version is released. You can auto update all plugins, themes and the WordPress core, or you can manually select specific ones:
WordPress Core Updates
Some hosting providers (most notably Managed ones) disable WordPress Core Updates either via a specific define or lower folder rights and in those cases, Automate won’t be able to upgrade your WordPress core.
Disable WordPress Core update define
In case WordPress Core define is present (that disabled core updates), open your WordPress files (using FTP/SFTP, built in File Manager in your Hosting Panel or via a File Manager plugin) and navigate to wp-config.php file (located in public_html folder). Open wp-config.php and remove “define( ‘WP_AUTO_UPDATE_CORE’, false );” from it.
In case your hosting provider is forcing lower folder permissions (which disables write and execute permissions) contact your Hosting provider so they can sort this issue for you.
Auto backup before every update
Next, select if you would like a Full Automate Managed Backup of your site before each update so you can easily ‘one-click restore’ if something goes wrong (this is done via our Snapshot Pro plugin). We highly recommend this step:
In case you didn’t install/configure Snapshot Pro yet, our system will prompt/guide you to do so:
Press on the TURN ON NOW button and then on the INSTALL SNAPSHOT button:
After installing, run a quick backup of your site, just to check if everything is set up properly:
When the backup is complete, return to the Automate tab and enable the Auto backup before every update feature:
Note: Automate Managed Backups is a separate service from our standard Managed Backups. Automate backups are always set to keep 3 backups before removing the oldest one from the archives (this can not be changed). This limit does not interfere with your regular Managed Backups limit in any way and these backups will appear as “full_backup-xxxxxxx-automated-xxxx.zip” in your Backups tab while standard Managed Backups are displayed as “full_backup-xxxxxxx-full-xxxx.zip”.
Perform Safe Upgrade check
Perform safe Upgrade check will scan your site after every update, checking if your site is down (using Uptime monitoring) and will present you with any visual changes on your Home Page (these visual changes will be sent to your email and shown under the Activity tab).
To quickly explain the Update procedure, Automate checks your site every 3 hours and when an update is detected:
- A full backup of your site is done (if the backup fails for any reason, the update procedure will stop and a new backup will be attempted – see below)
- Automate will perform an update of the 1st plugin/theme detected (if the update fails for any reason a new attempt will be made – see below)
- Perform safe upgrade checks if your site is down and if there are any visual changes on your Home Page greater than the set threshold
- If everything went well, the above three steps are repeated until all the updates are done.
- After 3 failed update attempts for a plugin/theme/core Automate will disable updates for that specific product
- After 6 consecutive failed backups Automate will be disabled altogether
This feature allows you to select the email address where you would like to receive the update notifications (by default, Automate sends these reports to the email registered to your WPMU DEV account), and how often (by default this is done for Every update).
You can change the notification frequency and the email receiving your Update reports by clicking the link inside this module:
Instant email alerts
As the tooltip suggests, Instant Email Alerts will send out an instant notification to your desired email (by default, the email of your WPMU DEV account is set here) if the Safe Upgrade detected changes on your Home Page which are equal to or greater than the set threshold (predefined value is 25% but you can modify that and set a value between 1-99%):
Of course, you can turn this feature off or change the email used for these notifications.
As mentioned before, Automate checks your site every 3 hours and if an available update is detected the update procedure is run. If you want this procedure ran at a specific time (for example, during your working hours) you can set the schedule here:
Timezone can be modified from your account page https://premium.wpmudev.org/hub/account/#hub-my-account-timezone.
That’s it! Press “Done” once you configured everything and enjoy your auto-updates :)
All the previous logs and activities performed by Automate can be viewed under Automate/Activity Log tab:
You can expand your updated plugins/themes to view the Changelogs or the Safe Upgrade Check report:
If you have any additional questions, our experts will be right by your side at https://premium.wpmudev.org/hub/support/#get-support.