How to update your CMS

Last modified by Jonaliza Binuhe on 2015/11/02 10:38

For Joomla Users

1. Check and update your website's configuration files: 

Edit your configuration.php file by selecting configuration.php and clicking the Code Editor icon.

Check and update the following lines  are correct:

public $user = 'yourdbusernamehere';
public $password = '
yourdbpasswordhere';
public $db = '
yourdbnamehere';
public $dbprefix = '
yourtableprefix';
public $log_path = '/home/
yourcpanelusername/public_html/logs';
public $tmp_path = '/home/
yourcpanelusername/public_html/tmp';

Enter the appropriate information on the texts that are colored red.

Then click on "Save Changes" if changes are made:

2. Back up your website (files and database) before updating your CMS to the latest version of WordPress or Joomla. You may refer to this wiki page to guide you with the process.

3. Once you're done with the backup, start updating the CMS of your website.

To update Joomla Go to Components > Joomla Update

You may encounter a "No updates available" and yet you are using a lower version. Click Purge Cache (for 3.4.3 below) or Clear Cache (for 3.4.4 and above) to be able to view the available updates.

noupdate.png

Then, click the "Install the update" button.

install.png

For Wordpress Users

1. Check and update your website's configuration files:

Edit your wp-config.php file by selecting wp-config.php and clicking on the Code Editor icon.

Check and update the following lines;

define('DB_NAME', 'yourdbnamehere');
define('DB_USER', 'yourdbuserhere');
define('DB_PASSWORD', 'yourdbpasswordhere');
$table_prefix = 'yourtableprefix';

Then click on "Save Changes" if changes are made:


2. Back up your website (files and database) before updating your CMS to the latest version of WordPress. You may refer to this wiki page to guide you with the process.

3. Once you're done with the backup, start updating the CMS of your website.

Log-in to your WordPress account. Go to Dashboard and click the Please update now.

update-wp.PNG

For Drupal users

  1. Make a backup of your Drupal instance (database). (For ex: with MySQL)
  2. Download the latest release of your current Drupal version.
  3. Extract the [tar ball or zip] Drupal package.
  4. Set your site on maintenance mode (For ex: How on D7)
  5. Delete all the files & folders inside your original Drupal instance except for /sites and its sub-folders. This assumes that all of your custom work - including themes - is in the recommended spot - the /sites folder tree. If you have made custom changes elsewhere you will need to either preserve them or plan to replace them later.
  6. Copy all the folders and files except /sites from inside the extracted Drupal package [tar ball or zip package] into your original Drupal instance location.
  7. Some updates do not include changes to setting.php and some do. See There is a way - Comment below for more on this. If the update release includes changes to settings.phpyou will need to replace your old settings.php in .../sites/default/ with the new one, and then edit the site-specific entries (eg database name, user, and password) in the setting file.
  8. If you have modified files such as .htaccess or robots.txt re-apply those changes to the new files.
  9. If you have a favicon.ico file that was deleted replace it too
  10. Login to your site as administrator or as user no 1
  11. Run update.php by navigating to http://...yourdrupalsitename/update.php and follow the process to update your Drupal instance
  12. Disable maintenance mode

For inquiries, go and register to helpdesk.i.gov.ph.

Tags:
Created by Wiki Master on 2015/04/28 14:38