This file contains instructions for updating your Bear-based Drupal site.
If you've installed Bear using our Composer-based project template, all you need to do is:
cd /path/to/YOUR_PROJECTcomposer update- Run
drush updatedbor visitupdate.phpto perform automatic database updates. - Perform any necessary manual updates (see below).
Do not use drush pm-update or drush up to update Bear!
Bear includes specific, vetted, pre-tested versions of modules, and
occasionally patches for those modules (and Drupal core). Drush's updater
totally disregards all of that and may therefore break your site.
To update Bear safely:
- Download the latest version of Bear from https://www.drupal.org/project/bear and extract it.
- Replace your
profiles/beardirectory with the one included in the fresh copy of Bear. - Replace your
coredirectory with the one included in the fresh copy Bear. - Visit
update.phpor rundrush updatedbto perform any necessary database updates.