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_PROJECT
composer update
- Run
drush updatedb
or visitupdate.php
to 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/bear
directory with the one included in the fresh copy of Bear. - Replace your
core
directory with the one included in the fresh copy Bear. - Visit
update.php
or rundrush updatedb
to perform any necessary database updates.