Drupal/upgrade: Difference between revisions

From Freephile Wiki
Created page with "right|link=Category:Drupal|Druplicon|240px See the Drupal/cheatsheet See also Using git with drupal == Upgrade == You need to upgrade..."
 
mNo edit summary
Line 18: Line 18:
drush vset maintenance_mode 0
drush vset maintenance_mode 0
</source>
</source>
[[Category:CMS]]
[[Category:Drupal]]

Revision as of 14:18, 18 November 2016

Druplicon
Druplicon

See the Drupal/cheatsheet

See also Using git with drupal

Upgrade

You need to upgrade Drupal like you brush your teeth... at least once or twice a day.

cd /var/www/equality-tech.com/www/drupal
drush vset maintenance_mode 1
~/bin/backup.db.sh civicrm 
~/bin/backup.db.sh drupal
cp .htaccess .htaccess.mine
drush up
mv .htaccess.mine .htaccess
drush vset maintenance_mode 0