UPDATE.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Minor and patch version updates
  5. * Is my site using Composer?
  6. * Updating code manually
  7. * Updating code with Composer
  8. * Updating Drupal 8 to Drupal 9
  9. * Updating Drupal 6 or 7 to Drupal 9
  10. INTRODUCTION
  11. ------------
  12. This document provides links to resources on how to update or migrate your
  13. Drupal site.
  14. MINOR AND PATCH VERSION UPDATES
  15. -------------------------------
  16. Minor and patch updates are done either manually or with Composer, depending on
  17. how the site was installed. Refer to the sections below on updating with
  18. Composer or updating manually for tarball/zip installations.
  19. Minor and patch versions are updates such as:
  20. * Patch releases (e.g. 9.1.2 to 9.1.3)
  21. * Scheduled minor releases (e.g 9.3.5 to 9.4.0)
  22. * Beta to final releases (e.g. 9.1.0-beta2 to 9.1.0)
  23. IS MY SITE USING COMPOSER?
  24. --------------------------
  25. Before updating, determine if your site is currently managed by Composer.
  26. On a typical Unix/Linux command line, this can be determined by running the
  27. following command (replace /PATH/TO/composer with the appropriate location
  28. for your system):
  29. /PATH/TO/composer info drupal/core
  30. UPDATING CODE WITH COMPOSER
  31. ---------------------------
  32. * Refer to 'Update Drupal core via Composer' for details on using Composer:
  33. https://www.drupal.org/docs/8/update/update-drupal-core-via-composer
  34. UPDATING CODE MANUALLY
  35. ----------------------
  36. * Refer to 'Updating the Core Software' for details on updating manually:
  37. https://www.drupal.org/docs/8/update/update-core-manually
  38. UPDATING DRUPAL 8 TO DRUPAL 9
  39. -----------------------------
  40. 1. Prepare the Drupal 8 site for Drupal 9:
  41. https://www.drupal.org/docs/9/how-to-prepare-your-drupal-7-or-8-site-for-drupal-9/upgrading-a-drupal-8-site-to-drupal-9
  42. 2. Update the Drupal 8 codebase to Drupal 9:
  43. https://www.drupal.org/docs/8/upgrade/upgrading-between-drupal-8-major-versions-eg-from-drupal-8-to-drupal-9
  44. 3. Navigate to /update.php to initiate the update process.
  45. UPDATING DRUPAL 6 OR 7 TO DRUPAL 9
  46. ----------------------------------
  47. * Updating from a previous major version, such as Drupal 6 or 7, requires
  48. importing the old site configuration and content into a new Drupal 9 site.
  49. Refer to the 'Migrate Guide' for more details on this process:
  50. https://www.drupal.org/upgrade/migrate