Difference between revisions of "Drupal/upgrade"

From Freephile Wiki
Jump to navigation Jump to search
m
Line 18: Line 18:
 
drush vset maintenance_mode 0
 
drush vset maintenance_mode 0
 
</source>
 
</source>
 +
 +
== Upgrading from Drupal 7 to Drupal 8 ==
 +
=== Module inventory ===
 +
 
[[Category:CMS]]
 
[[Category:CMS]]
 
[[Category:Drupal]]
 
[[Category:Drupal]]

Revision as of 10:49, 29 May 2020

Druplicon

See the Drupal/cheatsheet

See also Using git with drupal

Upgrade[edit | edit source]

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

Upgrading from Drupal 7 to Drupal 8[edit | edit source]

Module inventory[edit | edit source]