Difference between revisions of "CiviCRM"
Jump to navigation
Jump to search
(links to buildkit tools and GitHub info) |
(a few more details on the short guide to CiviCRM upgrades) |
||
Line 45: | Line 45: | ||
== Upgrading == | == Upgrading == | ||
There is a long guide on [http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrading+CiviCRM+for+Drupal+7 how to upgrade CiviCRM for drupal] but the short version is | There is a long guide on [http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrading+CiviCRM+for+Drupal+7 how to upgrade CiviCRM for drupal] but the short version is | ||
− | # backup your database(s) [[Mysqldump]] | + | # backup your database(s) <code>sudo ~/bin/backup.db.sh drupal</code> <code>sudo ~/bin/backup.db.sh civicrm</code> <ref>[[Mysqldump]]</ref> |
# download the code <code> wget https://download.civicrm.org/civicrm-4.6.5-drupal.tar.gz</code> | # download the code <code> wget https://download.civicrm.org/civicrm-4.6.5-drupal.tar.gz</code> | ||
+ | # put site in maintenance mode<code>drush vset maintenance_mode 1</code> (Make sure you are also logged in as Admin) | ||
# move old code, and unpack new code <code>mv civicrm /tmp/ && tar xvzf civicrm-4.6.5-drupal.tar.gz</code> | # move old code, and unpack new code <code>mv civicrm /tmp/ && tar xvzf civicrm-4.6.5-drupal.tar.gz</code> | ||
# run the upgrade script <code>/civicrm/upgrade?reset=1</code> | # run the upgrade script <code>/civicrm/upgrade?reset=1</code> | ||
+ | # put site in operation mode<code>drush vset maintenance_mode 0</code> | ||
# toast | # toast | ||