Changes

Jump to navigation Jump to search
1,163 bytes removed ,  12:34, 3 December 2018
extract upgrade
== 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]  You should be familiar with all the steps described in the manual, and understand how the particular steps impact/affect your installation. The short version below is known to work with our setup, and with 'routine' upgrades. Here is the short version:# 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># 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{{PAGENAMEE}}/ && tar xvzf civicrm-4.6.5-drupal.tar.gz</code># run the upgrade script <code>/civicrm/upgrade?reset=1</code># put site in operation mode<code>drush vset maintenance_mode 0</code># toast The even shorter version is to use [[drush]] <code>civicrm-upgrade --tarfile=./sites/all/modules/contrib/civicrm-5.1.2-drupal.tar.gz --backup-dir=/tmp/</code> does all the above for you.
== Debugging and the CV command-line ==
4,558

edits

Navigation menu