Add a page on upgrading for D8
ping @seamuslee @MikeyMJCO
Merge request reports
Activity
- docs/upgrade/drupal8.md 0 → 100644
92 ## Upgrade the database 93 94 Choose one of the following methods: 95 96 * Run the following `cv` command from within your site: 97 98 ```bash 99 cv upgrade:db 100 ``` 101 102 !!! tip "Tip: Preview upgrade steps" 103 104 The `cv upgrade:db` command accepts a `--dry-run` option to show what changes will be executed. 105 For the maximum detail, use `cv upgrade:db --dry-run -vv`. 106 107 * Or, run the following `drush` command from within your site: Guess: are you implying that some people need
./vendor/bin/drush
instead ofdrush
?I was under the impression that the drush folks recommended configuring your environment so that the bare name
drush
worked. (And, failing that, anyone who needs./vendor/bin
would already know that because it's part of every drush command they run...)changed this line in version 3 of the diff
Ah, I see what you're saying. Added 036ed64f.
- docs/upgrade/drupal8.md 0 → 100644
76 77 Choose one of the following methods: 78 79 * Run the command `composer update`. This finds the newest version which *matches the current constraint*. For example, if the 80 constraint specifies `~5.29.0`, then `composer update` will find `5.29.2` or `5.29.3` or similar. 81 82 ```bash 83 composer update civicrm/civicrm-{core,packages,drupal-8} 84 ``` 85 86 * Run the command `composer require`. This *changes the current constraint*. For example, to switch to `~5.31.0`, run: 87 88 ```bash 89 composer require civicrm/civicrm-{core,packages,drupal-8}:~5.31.0 90 ``` 91 I think we also need to mention here if you have a translated site you need to re-download the L10n files @totten @MikeyMJCO
Drats, cornered. When updating the install page, I carefully avoided touching the l10n section so I wouldn't go down the "Here be dragons" rabbit-hole. (Dragon-hole? Dragon-rabbits?)
To keep the focus here, I guess we could just add a link to the install docs to deflect the dragon-ness over there.
Random thoughts on those dragons: installation#4
@seamuslee - added a link the l10n part of install page.
mentioned in issue installation#4
added 1 commit
- dd63f7ca - upgrade/drupal8.md - Add crosslink to translation download commands
added 1 commit
- 036ed64f - upgrade/drupal8.md - Only suggest 'drush civicrm-upgrade-db' for drush8
mentioned in issue dev/drupal#115
mentioned in commit 8662afad