Drupal database management module // IT Management Solutions

Drupal database management module

Updating modules can be a more involved process than installing or removing modules. Follow the steps closely, as they are necessary to ensure the stability of your website.

To update a module that's used by your website:

Check for module-specific update instructions

First, check the module's project page "Read Documentation" link, as well as the instructions (for example, README.txt, INSTALL.txt, and UPGRADE.txt) that come with the module's installation file (tarball or zip)for any module-specific update instructions. This is typically necessary when updating modules that involve the usage of third party libraries. Be sure to read and understand all module specific requirements before proceeding with the updates.

Back up your database and files

Your website's database contains all of its content, as well as all of its settings and configuration. Though unlikely, any operation that modifies the database can be potentially damaging. Back up your website's files to ensure that you can revert back to the point when things were working. We highly recommend you back up your site before updating modules.

Put your site into Maintenance mode

From the Drupal Administration pages, go to /admin/settings/site-maintenance and put the site into maintenance mode by selecting "Put site into maintenance mode".

Replace the module code with the updated version

You can use either of the following methods to update your module: manually updating the files or Drush.

Manually updating files

To replace the module's code with the new version, download a copy of the new module from the drupal.org project page, or use the link projected by the Update module from your site's update status report. Delete the entire outdated module's directory and upload the new one as if you were installing the module for the first time. If you don't delete the outdated module, Drupal may not reflect the update, and report an outdated module.

Drush

If you have the Drush module installed, you can also update your modules from the command line.

To update one or more modules using Drush run the following command from a command prompt, where [module] is the drupal.org project name of the module you want to update:

drush up [module]

If you have more than one module to update, add the additional module project names to the end of the command, separated by spaces. If you want to update all modules and the installed version of Drupal core, run the following:

drupal up

Note: If you use Drush to update your module, you don't need to run update.php, allowing you to skip the next step in this process.

Run update.php

Update.php is a script that is used to update the database after modules, themes, or core have been updated or upgraded. A new version of a module may change the structure of the database; this script adjusts the database to fit the updated module. Since the database contains all of the content and the settings of your website, this is an essential step to ensure its continued operation.

See also:

You might also like

You're just being redundant

by informed_opinion

The reason why you're feeling that your GC offers no value is because you're adding a layer of redundancy.
Why do you feel the need to phone the sub's and ask them for dates? Dates in this business are flexible anyways. Unlike the project management of software or database development, project management of homes is a fluid thing.
You're GC's job is to make sure the project gets completed. If one sub fails to show up he must make sure he get another. When building materials fail to arrive he has to quickly re-juggle the project plan to get it off the critical path. There's hundreds of things that a GC has programmed into his head - the least of which is calling up his subs and asking them for starting dates

Manning Publications Java Persistence with Hibernate
Book (Manning Publications)

互联网时代的网络自动化运维  — 中关村在线
CMDB(Configuration Management Database) 配置管理数据库(以下简称:CMDB),将IT基础架构的所有组件存储为配置项,维护每个配置项的详细数据,维护各配置项之间的关系数据以及事件、变更历史等管理数据。通过将这些数 ..

McGraw-Hill Osborne Media Oracle Database 11g PL/SQL Programming Workbook (Oracle Press)
Book (McGraw-Hill Osborne Media)

Related Posts



Copyright © . All Rights Reserved