Перейти к содержимому

Upgrade Drupal 9 to Drupal 11 — Full Two-Hop Tutorial (9 → 10 → 11)

Web Development Tutorials

0:00 / 0:00

Upgrade Drupal 9 to Drupal 11 — Full Two-Hop Tutorial (9 → 10 → 11)

23 просмотра · 12 дней назад
Web Development Tutorials
132 подписчика
23 просмотра · 12 дней назад
You cannot jump straight from Drupal 9 to Drupal 11 — Drupal upgrades one major at a time, so this is TWO hops: 9 → 10, then 10 → 11. In this video we take a real Drupal 9.5 site (a custom theme, a custom module and the contributed Pathauto module) through both hops, fixing the deprecations each major removes. What you will learn: • Why the path is 9 → 10 → 11 and how the Upgrade Status report re-targets itself after hop 1 • Hop 1 (9 → 10): the removed classy/stable base themes, the jQuery once library, and drupal_get_path() • The automatic CKEditor 4 → 5 migration that runs during the Drupal 10 update • Hop 2 (10 → 11): the removed Tour module, raising PHP to 8.3 and the database to MySQL 8 • Doing each core bump with Composer and running drush updatedb per hop • The {router}.alias gotcha on the final update and how to get past it Chapters: 00:00 Intro — why 9 to 11 is two hops 00:42 A Drupal 9.5 site 01:08 Install the Upgrade Status module 01:34 Read the report (it targets Drupal 10) 02:00 Fix the custom module (drupal_get_path) 02:28 Fix the custom theme (classy, jQuery once) 02:58 Update contrib for Drupal 10 03:26 Hop 1: bump core to Drupal 10 03:55 Run the Drupal 10 database updates 04:24 Re-scan — now it targets Drupal 11 04:52 Raise PHP and the database 05:20 Hop 2: bump core to Drupal 11 05:48 Final updates and verify 06:18 Key takeaways Challenge: on a copy of your Drupal 9 site, run drupal/upgrade_status and export the report. Do ONLY the 9 to 10 hop, then re-run the report — it now targets Drupal 11 with a fresh list. Two plans, done in order. Part 2 of a 4-part series — upgrading to Drupal 11 from Drupal 10, 9, 8 and 7. Part 1 (Drupal 10 to 11):    • Upgrade Drupal 10 to Drupal 11 — Full Step...   Every command runs through ddev and every screen is the real site. Part 1 (Drupal 10 → 11):    • Upgrade Drupal 10 to Drupal 11 — Full Step...   Part 3 (Drupal 8 → 11):    • Upgrade Drupal 8 to Drupal 11 — Full Three...   Part 4 (Drupal 7 → 11):    • Migrate Drupal 7 to Drupal 11 — Full Migra...   #drupal #drupal11 #drupalupgrade #webdevelopment #ddev