Update Drupal 8 core version via Composer - 4 Steps

Update Drupal8 core version via Composer - simple 4 Steps. I am going to update the drupal core verion from 8.9.0-rc1 to 8.9.0

thirstysixthirstysix

1. Check the project uses drupal/core-recommended or drupal/core

composer show drupal/core-recommended

thirstysix

thirstysix

 

2. Check for available Drupal update
composer outdated "drupal/*"

thirstysix

 

3. Update Drupal core code
composer update drupal/core-recommended --with-dependencies
  Note: check with the metapackage drupal/core-recommended or drupal/core

thirstysix

thirstysix

 

4. Run database update
   /update.php

http://localhost/drupal-8.9.0-rc1/update.php

 

Check:
http://localhost/drupal-8.9.0-rc1/admin/reports/status

thirstysix

That's it. :)

Tags

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
3 + 3 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.