KNOWNHOST WIKI

User Tools

Site Tools


cms:how-can-i-upgrade-wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cms:how-can-i-upgrade-wordpress [2016/12/31 14:38]
mscherf fixing yet another copy/paste error :-(
cms:how-can-i-upgrade-wordpress [2017/11/09 19:45] (current)
Daniel P.
Line 8: Line 8:
  
   - Login to your WordPress install'​s Admin Panel.((If you do not know the password to the WordPress site, it can be [[cms:​reset-wordpress-admin-via-mysql|reset]] if needed.)) ( //Typically something like: http://​khwpupgrade.com/​wp-admin/​ or http://​khwpupgrade.com/​wp-login.php // )    - Login to your WordPress install'​s Admin Panel.((If you do not know the password to the WordPress site, it can be [[cms:​reset-wordpress-admin-via-mysql|reset]] if needed.)) ( //Typically something like: http://​khwpupgrade.com/​wp-admin/​ or http://​khwpupgrade.com/​wp-login.php // ) 
-  - Recent versions of WordPress'​s default dashboard have a notification at the time when updates are available.\\ {{:​cms:​an-updated-version-of-wordpress-is-available.png?​350|An Updated Version of WordPress is Available!}} +  - Recent versions of WordPress'​s default dashboard have a notification at the time when updates are available.\\ {{:​cms:​an-updated-version-of-wordpress-is-available.png?​direct&350|An Updated Version of WordPress is Available!}} 
-  - From here, you can click '​Please update now'. however if you do not see this, click the '​Updates'​ link under the Dashboard tab to proceed.\\ {{:​cms:​wordpress-please-update-now.png?​350|Please update now!}} +  - From here, you can click '​Please update now'. however if you do not see this, click the '​Updates'​ link under the Dashboard tab to proceed.\\ {{:​cms:​wordpress-please-update-now.png?​direct&350|Please update now!}} 
-  - You will be presented with the WordPress Updates page. If an update is available you'll see "**An updated version of WordPress is available.**"​ in bold letters with a corresponding blue button, '​Update Now' below it.\\ {{:​cms:​how-can-i-upgrade-worpress-update-notification.png?​250|WordPress update notification.}}+  - You will be presented with the WordPress Updates page. If an update is available you'll see "**An updated version of WordPress is available.**"​ in bold letters with a corresponding blue button, '​Update Now' below it.\\ {{:​cms:​how-can-i-upgrade-worpress-update-notification.png?​direct&250|WordPress update notification.}}
   - Simply click the Update Now button and the upgrade process will begin automatically!   - Simply click the Update Now button and the upgrade process will begin automatically!
-  - Some upgrades ( //typically when changing core versions ex. 3.9.2 -> 4.0// ) require the database to be updated. If it's required you'll be prompted with a page requested that you update the database.\\ {{:​cms:​wordpress-database-update-required.png?​350|WordPress Database Update Required}} ​   ​+  - Some upgrades ( //typically when changing core versions ex. 3.9.2 -> 4.0// ) require the database to be updated. If it's required you'll be prompted with a page requested that you update the database.\\ {{:​cms:​wordpress-database-update-required.png?​direct&350|WordPress Database Update Required}} ​   ​
   - Simple enough, click the Update WordPress Database to proceed. ( //It's a good idea to create a MySQL database backup before proceeding.//​ **Ref:** [[control-panels:​cpanel-whm:​how-can-i-backuprestore-mysql-databases|How can I create MySQL DB Backups?]] )   - Simple enough, click the Update WordPress Database to proceed. ( //It's a good idea to create a MySQL database backup before proceeding.//​ **Ref:** [[control-panels:​cpanel-whm:​how-can-i-backuprestore-mysql-databases|How can I create MySQL DB Backups?]] )
   - Depending on the size of your database, the update will finish and you'll see "​Update Complete"​. You'll be prompted to log back in as the admin user after it's completed successfully.   - Depending on the size of your database, the update will finish and you'll see "​Update Complete"​. You'll be prompted to log back in as the admin user after it's completed successfully.
Line 20: Line 20:
 Once logged into the WordPress admin panel and on the "​Updates"​ page as mentioned earlier, there will also be a list displayed of any plugins or themes with updates available (if any). You can use the checkboxes next to the listed plugins and themes to select them, and then use the appropriate update button to update all selected plugins or themes. Once logged into the WordPress admin panel and on the "​Updates"​ page as mentioned earlier, there will also be a list displayed of any plugins or themes with updates available (if any). You can use the checkboxes next to the listed plugins and themes to select them, and then use the appropriate update button to update all selected plugins or themes.
  
-  * {{:​cms:​wordpress-plugin-update.png?​300|}} +  * {{:​cms:​wordpress-plugin-update.png?​direct&300|}} 
-  * {{:​cms:​wordpress-theme-update.png?​300|}}+  * {{:​cms:​wordpress-theme-update.png?​direct&300|}}
  
 ===== Update via Softaculous ===== ===== Update via Softaculous =====
Line 35: Line 35:
   - As always, you should start by making a backup. If you want to be able to restore the backups from within the cPanel interface, you will need to use Partial Backups instead of the Full Backups. Since wordpress updates often make changes both to the files and to the database, it is important to download both of these types of Partial Backups. If you are not familiar with the backup process, the Backup Wizard is likely to be easiest.   - As always, you should start by making a backup. If you want to be able to restore the backups from within the cPanel interface, you will need to use Partial Backups instead of the Full Backups. Since wordpress updates often make changes both to the files and to the database, it is important to download both of these types of Partial Backups. If you are not familiar with the backup process, the Backup Wizard is likely to be easiest.
     - From the cPanel dashboard, choose "​Backup Wizard"​ in the "​Files"​ section.     - From the cPanel dashboard, choose "​Backup Wizard"​ in the "​Files"​ section.
-      * {{:​cms:​wordpress-update-cpanel-find-backup-wizard.png?​300|}}+      * {{:​cms:​wordpress-update-cpanel-find-backup-wizard.png?​direct&300|}}
     - Choose "​Backup"​     - Choose "​Backup"​
-      * {{:​cms:​wordpress-update-backup-wizard-choose-backup.png?​300|}}+      * {{:​cms:​wordpress-update-backup-wizard-choose-backup.png?​direct&300|}}
     - Since part of what we will be changing is the files, we will need to backup the Home Directory.     - Since part of what we will be changing is the files, we will need to backup the Home Directory.
-      * {{:​cms:​wordpress-update-backup-wizard-home-directory.png?​300|}}+      * {{:​cms:​wordpress-update-backup-wizard-home-directory.png?​direct&300|}}
     - Then click the new "Home Directory"​ button to initiate the download itself. Depending on the size of the home directory and on your connection speed, this download may take some time.     - Then click the new "Home Directory"​ button to initiate the download itself. Depending on the size of the home directory and on your connection speed, this download may take some time.
-      * {{:​cms:​wordpress-update-backup-wizard-home-directory-download.png?​300|}}+      * {{:​cms:​wordpress-update-backup-wizard-home-directory-download.png?​direct&300|}}
     - Next, use the "Go Back" link so we can select the type of backup for the next download.     - Next, use the "Go Back" link so we can select the type of backup for the next download.
-      * {{:​cms:​wordpress-update-backup-wizard-go-back.png?​300|}}+      * {{:​cms:​wordpress-update-backup-wizard-go-back.png?​direct&300|}}
     - Since the update process is very likely to affect the database, we will also want to back up the MySQL Databases.     - Since the update process is very likely to affect the database, we will also want to back up the MySQL Databases.
-      * {{:​cms:​wordpress-update-backup-wizard-mysql-databases.png?​300|}}+      * {{:​cms:​wordpress-update-backup-wizard-mysql-databases.png?​direct&300|}}
     - Now you can choose the database to download a backup of. Depending on the size of the chosen database and your connection speed, this download may take some time.     - Now you can choose the database to download a backup of. Depending on the size of the chosen database and your connection speed, this download may take some time.
-      * {{:​cms:​wordpress-update-backup-wizard-mysql-choose-database.png?​300|}}+      * {{:​cms:​wordpress-update-backup-wizard-mysql-choose-database.png?​direct&300|}}
     - If desired, you can download backups of other databases, or "Go Back" to download the email forwarders and filters, but it is //​probably//​ not strictly necessary at this time.     - If desired, you can download backups of other databases, or "Go Back" to download the email forwarders and filters, but it is //​probably//​ not strictly necessary at this time.
   - It is also important to deactivate all plugins before proceeding with a manual upgrade.((If you are not able to log into the WordPress, you may need to [[https://​codex.wordpress.org/​FAQ_Troubleshooting#​How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F|deactivate them manually]].))   - It is also important to deactivate all plugins before proceeding with a manual upgrade.((If you are not able to log into the WordPress, you may need to [[https://​codex.wordpress.org/​FAQ_Troubleshooting#​How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F|deactivate them manually]].))
     - From the WordPress dashboard, go to Plugins -> Installed Plugins.((or the equivalent in the version of WordPress you are upgrading from))     - From the WordPress dashboard, go to Plugins -> Installed Plugins.((or the equivalent in the version of WordPress you are upgrading from))
-      * {{:​cms:​wordpress-update-dashboard-find-plugin-page.png?​300|}}+      * {{:​cms:​wordpress-update-dashboard-find-plugin-page.png?​direct&300|}}
     - Select all the plugins, then in the Bulk Actions dropdown, choose "​Deactivate"​ and click the Apply button.     - Select all the plugins, then in the Bulk Actions dropdown, choose "​Deactivate"​ and click the Apply button.
-      * {{:​cms:​wordpress-update-deactivate-plugins.png?​300|}}+      * {{:​cms:​wordpress-update-deactivate-plugins.png?​direct&300|}}
   - If you haven'​t already, download the new WordPress archive from [[https://​wordpress.org/​download/​|this page]].   - If you haven'​t already, download the new WordPress archive from [[https://​wordpress.org/​download/​|this page]].
     - If you are not familiar with how to use ''​%%.tar.gz%%''​ files or are unable to use them on your local system, it is recommended to download the ''​%%.zip%%''​ file instead. How long the file takes to download will depend on your connection speed.     - If you are not familiar with how to use ''​%%.tar.gz%%''​ files or are unable to use them on your local system, it is recommended to download the ''​%%.zip%%''​ file instead. How long the file takes to download will depend on your connection speed.
-      * {{:​cms:​wordpress-update-download-new-zip.png?​300|}}+      * {{:​cms:​wordpress-update-download-new-zip.png?​direct&300|}}
     - Decompress the downloaded archive by a method appropriate to your operating system. The decompressed files and folders should be inside of a new folder called ''​%%wordpress%%''​.     - Decompress the downloaded archive by a method appropriate to your operating system. The decompressed files and folders should be inside of a new folder called ''​%%wordpress%%''​.
   - It is recommended to use FTP((or [[https://​documentation.cpanel.net/​display/​CKB/​Connect+to+Web+Disk+with+Third-Party+Software|WebDAV]])) to upload the new files, to help ensure they have the correct ownership.   - It is recommended to use FTP((or [[https://​documentation.cpanel.net/​display/​CKB/​Connect+to+Web+Disk+with+Third-Party+Software|WebDAV]])) to upload the new files, to help ensure they have the correct ownership.
     - For our example, instead of using the cPanel account itself, we will be using an ftp account created within the cPanel account which has been restricted to ''​%%public_html%%'',​ which is the main folder of the example site.     - For our example, instead of using the cPanel account itself, we will be using an ftp account created within the cPanel account which has been restricted to ''​%%public_html%%'',​ which is the main folder of the example site.
     - Delete at this time **only** folders ''​%%wp-includes%%''​ and ''​%%wp-admin%%''​ .     - Delete at this time **only** folders ''​%%wp-includes%%''​ and ''​%%wp-admin%%''​ .
-      * {{:​cms:​wordpress-update-delete-specific-folders.png?​300|}}+      * {{:​cms:​wordpress-update-delete-specific-folders.png?​direct&300|}}
     - Upload the new versions of the folders ''​%%wp-admin%%''​ and ''​%%wp-includes%%''​ from the zip archive.     - Upload the new versions of the folders ''​%%wp-admin%%''​ and ''​%%wp-includes%%''​ from the zip archive.
-      * {{:​cms:​wordpress-update-replace-deleted-folders.png?​300|}}+      * {{:​cms:​wordpress-update-replace-deleted-folders.png?​direct&300|}}
     - Upload the individual files from the ''​%%wp-content%%''​ folder, overwriting any files existing in both places. Do not delete any files that are not being uploaded.     - Upload the individual files from the ''​%%wp-content%%''​ folder, overwriting any files existing in both places. Do not delete any files that are not being uploaded.
-      * {{:​cms:​wordpress-update-upload-wpcontent-files.png?​300|}} +      * {{:​cms:​wordpress-update-upload-wpcontent-files.png?​direct&300|}} 
-      * {{:​cms:​wordpress-update-upload-wpcontent-overwriting.png?​300|}}+      * {{:​cms:​wordpress-update-upload-wpcontent-overwriting.png?​direct&300|}}
     - Upload the individual files from the wordpress root, overwriting any files which are in both places.     - Upload the individual files from the wordpress root, overwriting any files which are in both places.
-      * {{:​cms:​wordpress-update-upload-loose-files.png?​300|}}+      * {{:​cms:​wordpress-update-upload-loose-files.png?​direct&300|}}
     - Look at the new ''​%%wp-config-sample.php%%''​ file, to see if there are any new settings you would like to add to your ''​%%wp-config.php%%''​ file.     - Look at the new ''​%%wp-config-sample.php%%''​ file, to see if there are any new settings you would like to add to your ''​%%wp-config.php%%''​ file.
   - Visit the WordPress dashboard.((by navigating in your web browser to the ''​%%wp-admin%%''​ folder of the site))   - Visit the WordPress dashboard.((by navigating in your web browser to the ''​%%wp-admin%%''​ folder of the site))
     - If a database update is needed, you will be redirected to a page informing you of this.     - If a database update is needed, you will be redirected to a page informing you of this.
-      * {{:​cms:​wordpress-update-database-update.png?​300|}} +      * {{:​cms:​wordpress-update-database-update.png?​direct&300|}} 
-      * {{:​cms:​wordpress-update-database-update-complete.png?​300|}}+      * {{:​cms:​wordpress-update-database-update-complete.png?​direct&300|}}
     - Remember to reactivate any needed plugins.((If any of the installed plugins were deactivated for a reason other than the upgrade process, then you should make sure those specific plugins are **not** reactivated at this step.))     - Remember to reactivate any needed plugins.((If any of the installed plugins were deactivated for a reason other than the upgrade process, then you should make sure those specific plugins are **not** reactivated at this step.))
-      * {{:​cms:​wordpress-update-reactivate-plugins.png?​300|}}+      * {{:​cms:​wordpress-update-reactivate-plugins.png?​direct&300|}}
     - If you have any caching plugins enabled in the site, make sure to clear all of their caches.     - If you have any caching plugins enabled in the site, make sure to clear all of their caches.
  
cms/how-can-i-upgrade-wordpress.txt · Last modified: 2017/11/09 19:45 by Daniel P.