Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to update Drupal Core ? #585

@SebastienGicquel

Description

@SebastienGicquel

Hello,

I'm using this template for the 1st time.

I wanted to update (actually Drupal core 9.0.10) and need to update to 9.1.0 (2020-Dec-02) and 9.1.0-rc3 (2020-Nov-26).

I've ran composer update drupal/core-recommended drupal/core-dev --with-dependencies to update Drupal Core and its dependencies.

But I still see the pending update in UI after.

Here is what I have in terminal

$ composer update drupal/core-recommended drupal/core-dev --with-dependencies
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 23 updates, 0 removals
  - Updating drupal/core (9.0.9 => 9.0.10): Downloading (100%)         
  - Updating drupal/core-recommended (9.0.9 => 9.0.10)
  - Updating sebastian/type (1.1.3 => 1.1.4): Downloading (100%)         
  - Updating sebastian/resource-operations (2.0.1 => 2.0.2): Downloading (100%)         
  - Updating sebastian/recursion-context (3.0.0 => 3.0.1): Downloading (100%)         
  - Updating sebastian/object-reflector (1.1.1 => 1.1.2): Downloading (100%)         
  - Updating sebastian/object-enumerator (3.0.3 => 3.0.4): Downloading (100%)         
  - Updating sebastian/global-state (3.0.0 => 3.0.1): Downloading (100%)         
  - Updating sebastian/exporter (3.1.2 => 3.1.3): Downloading (100%)         
  - Updating sebastian/environment (4.2.3 => 4.2.4): Downloading (100%)         
  - Updating sebastian/diff (3.0.2 => 3.0.3): Downloading (100%)         
  - Updating sebastian/comparator (3.0.2 => 3.0.3): Downloading (100%)         
  - Updating phpunit/php-timer (2.1.2 => 2.1.3): Downloading (100%)         
  - Updating phpunit/php-file-iterator (2.0.2 => 2.0.3): Downloading (100%)         
  - Updating sebastian/code-unit-reverse-lookup (1.0.1 => 1.0.2): Downloading (100%)         
  - Updating phpunit/php-token-stream (3.1.1 => 4.0.4): Downloading (100%)         
  - Updating phpunit/php-code-coverage (7.0.12 => 7.0.14): Downloading (100%)         
  - Updating phar-io/version (2.0.1 => 3.0.3): Downloading (100%)         
  - Updating phar-io/manifest (1.0.3 => 2.0.1): Downloading (100%)         
  - Updating phpunit/phpunit (8.5.11 => 8.5.13): Downloading (100%)         
  - Updating composer/spdx-licenses (1.5.4 => 1.5.5): Downloading (100%)         
  - Updating composer/composer (1.10.17 => 1.10.18): Downloading (100%)         
  - Updating drupal/core-dev (9.0.9 => 9.0.10)
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. 

Do I need to run "composer update " also ? Is it a bug or Did I miss something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions