My site hasn't been updated for two months, a few new updates has been released. My site's core version is 8.5.6. Before running composer update -with-dependencies I read the release notes to the latest version of core (8.6.2), they say:

Sites on 8.5.x should update immediately to Drupal 8.5.8 instead, and plan to update to the latest 8.6.x release before May 2019.

How do I update the old core to Drupal 8.5.8 instead? How do I specify that version in CLI, what command? Eventually I want to update it to the latest version.

  • 4
    composer require drupal/core:8.5.8 --update-with-dependencies, or some slight variation. If you get complaints about conflicting symfony component, add symfony/config to your command. If you have webflo/drupal-core-strict installed, also add that – Clive Oct 22 at 12:32

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.