Skip to content
Snippets Groups Projects

Add a page on upgrading for D8

Merged totten requested to merge totten/sysadmin:upgrade-d8 into master
2 unresolved threads

ping @seamuslee @MikeyMJCO

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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:
  • 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

    • Author Owner

      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

    • Author Owner

      @seamuslee - added a link the l10n part of install page.

    • I think we get some "minimum viable" docs out and just note clearly that they don't cover all scenarios. Updating L10n files is basically the same as when installing.

    • Yeh tend to agree maybe just a short note saying at present you still need to do the same step as install for the L10n files if you need them?

    • It's already there in the edits :-)

    • Please register or sign in to reply
  • totten mentioned in issue installation#4

    mentioned in issue installation#4

  • totten added 1 commit

    added 1 commit

    • dd63f7ca - upgrade/drupal8.md - Add crosslink to translation download commands

    Compare with previous version

  • totten added 1 commit

    added 1 commit

    • 036ed64f - upgrade/drupal8.md - Only suggest 'drush civicrm-upgrade-db' for drush8

    Compare with previous version

  • mentioned in issue dev/drupal#115

  • I'm going to merge this as the feedback has been addressed :-)

  • merged

  • homotechsual mentioned in commit 8662afad

    mentioned in commit 8662afad

  • Please register or sign in to reply
    Loading