-
If you are in the middle of some work, feel free to create a backup of your current database, either with SequelPro, or via
drush cc all drush sql-dump -l default --gzip --result-file=../db/backups/pre-vm-upgrade-$(date +%m.%d.%y-%H-%M).sql.gzip
-
Remove the current environment with
vagrant destroy -f
-
Fetch the new branch with
git fetch
-
Checkout the new branch with
git checkout 3.0
-
Open your known hosts file for editing:
subl ~/.ssh/known_hosts
-
Remove the host key for your dev environment, probably listed with the ip 192.168.88.89, or possibly as ilrdevvm or a variant
-
vagrant up
- if errors with ansible galaxy, see this issue -
Once Asible completes successfully, head back to your ilr-website folder and cd to the docroot
-
Pull master down from github
-
Apply the PHP 7 patch with
curl https://www.drupal.org/files/issues/drupal-session_destroy_return_bool-2460833-30.patch | patch -p1
-
Have git ignore the patched Drupal core file with
git update-index --skip-worktree includes/session.inc
-
Sync the db with
drush sql-sync @ilr.live @ilr.ilr.local --sanitize -y
-
drush cc all
-
drush updb -y
-
drush en ilr_dev
(may require running more than once if there are errors) -
Enjoy the cutting edge. NetID login should work straight out of the box.
Last active
May 27, 2016 13:53
-
-
Save a-fro/bf662ac293bd77fe712f49493025d0c2 to your computer and use it in GitHub Desktop.
Notes on upgrading to the latest/greatest DrupalVM for ILR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment