User Tools

Site Tools


updating_wordpress

Differences

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

Link to this comparison view

Next revision
Previous revision
updating_wordpress [2015/03/23 13:58]
128.119.169.247 created
updating_wordpress [2019/11/19 18:47] (current)
Line 1: Line 1:
 ====== Updating WordPress ====== ====== Updating WordPress ======
  
-To ensure the security of WordPress, the CMS that the SCUA website runs on, it's critical to update the software with the newest version whenever it is released. This is also true for any plugins that are installed, whether they are currently active or not. +To ensure the security of WordPress, the CMS that the SCUA website runs on, it's critical to update the software with the newest version whenever it is released. This is also true for any plugins that are installed, whether they are currently active or not. 
 + 
 +:!: //Before you begin the process outlined below, email SCUA staff to let them know what's happening. UMarmot will look strange as it's being upgraded. It's also a good safety measure to not have anyone editing content in UMarmot while the upgrade process is taking place.//
  
 ===== Step 1: Backup the WP database ===== ===== Step 1: Backup the WP database =====
  
-This first step is only possible if you can log directly into the server that runs UMarmot. It is an important step but it is not required. Only do this if you have access and comfort-level to perform the task. Otherwise, skip this step. If this step is not completed and something bad happens to the WP database during the upgrade, a backup can always be restored from tape, though some data might be lost depending on what that backup was performed. ​+This first step is only possible if you can log directly into the server that runs UMarmot. It is an important step but it is not required. Only do this if you have the access and comfort-level to perform the task. Otherwise, skip this step. If this step is not completed and something bad happens to the WP database during the upgrade, a backup can always be restored from tape, though some data might be lost depending on when that backup was performed. ​
  
-  - Login to the scua.library.umass.edu via SSH. +  - Login to scua.library.umass.edu via SSH. 
   - Enter the following command:   - Enter the following command:
  
Line 14: Line 16:
 Enter the current date to replace [YYYYMMDD]. You will be prompted for database password. You can find the password in this file: umarmot/​wp-config.php. ​ Enter the current date to replace [YYYYMMDD]. You will be prompted for database password. You can find the password in this file: umarmot/​wp-config.php. ​
  
-===== Step 2: Backup ​the WP database ​=====+===== Step 2: Update WP files ===== 
 + 
 +This next step can all be done via FTP access. 
 + 
 +Follow all directions here: 
 +[[http://​codex.wordpress.org/​Updating_WordPress#​Manual_Update]] 
 + 
 +An additional step to consider: before copying any new files over to the server, save a local copy of the entire ​WP folder (umarmot). That way, if anything goes wrong, all original files can be restored.  
 + 
 +===== Step 3: Upgrade Plugins ===== 
 + 
 +Plugins should be upgraded regularly but if there are any that need upgrading, do it now.  
 + 
 +  - Download newest version of each out-of-date plugin from WP plugin site.  
 +  - Copy new version of plugin over old version on server. If you've made a local copy of the entire umarmot folder, you should be able to restore if anything goes wrong. 
 + 
 +===== Step 4: Complete upgrade ​=====
  
 +  - Visit http://​scua.library.umass.edu/​wp-admin. You might be prompted to upgrade database. Follow directions and cross fingers.
 +  - Activate all the plugins you wish to have active.
 +  - Visit http://​scua.library.umass.edu to make sure everything is ok.
 +:!: You might need to re-index the Search Unleashed index. If searches are no longer working after upgrading, go to the plugin admin page, click "​settings"​ under the Search Unleashed plugin, and then click the "​re-index"​ button at the bottom of the page.
updating_wordpress.1427119128.txt.gz · Last modified: 2019/11/19 18:47 (external edit)