SlideShare a Scribd company logo
BEST PRACTICES
FOR MOVING TO
DRUPAL 9
Today’s Speakers
Jessie Golombiecki
Marketing Manager,
Mediacurrent
Damien McKenna
Community Lead,
Mediacurrent
Matt Wetmore
Director of Web
Operations, Acquia
Ryan Picchini
Director of Product
Marketing, Acquia
— Open source expansion partner
— Focused on Drupal since 2007
— Clients include mid-size businesses to
high-profile global brands
— Team of approximately 90 experts in
development, design, and digital
strategy
— Acquia partner since 2008
MEDIACURRENT
– Drupal founder serves as Acquia CTO
– Creator of the world’s only Open DXP,
built on top of Drupal
– Gartner leader for Digital Experience
Management
– Over 4,000 customers, including 40% of
Fortune 1,000
– 1,100 employees worldwide
ACQUIA
MediaCurrent and Acquia:
Building on each other’s strengths
Together, we build and continually iterate for impact and scale, delivering smart,
open-source solutions that maximize your digital investments.
WHAT IS DRUPAL,
AND WHY SHOULD
YOU CARE?
Blogs | Corporate websites
Drupal is software used to build digital experiences
E-commerce sites | Interactive digital experiences
Portals | Forums | Mobile Apps | Intranets
Resource directories | Social networking sites
1 OUT OF 30sites in the world run on Drupal
35,000+
contributors
45,000+
modules
1.3M+
registered users
on drupal.org
1M+
unique visitors per
month to drupal.org
100%
FREE
3.3%
of the web
About 70% of executives say the
pandemic is likely to accelerate
the pace of their digital
transformation.
— McKinsey
MARKET TRENDS
Brand loyalty and
awareness are more
important than ever.
80%of customers say they would be
more loyal to a brand that showed
they really understand them and
what they were looking for
MARKET TRENDS
Content is the lifeblood
of a buyer’s journey.
Traditional
WCM
Consumer Site
Building
Emerging / Custom
CMS Choices
EXPENSIVE
Traditional CMS Tools
(Sitecore, Adobe, etc.)
Enterprise Ready:
﹣ Workflows, security
and scalability
﹣ Governance
Easy to Use:
– Intuitive interface empowers
non-technical users
– Expedited time to market
LIMITED
Consumer Site
Building Tools
(Wix, Squarespace, etc.)
CUSTOM
Basic Hosting +
Custom Development
(Pantheon, Azure, etc.)
THE BEST OF ALL THREE — IN ONE PLATFORM.
Fully Flexible:
– Exactly what you want
– Customizable
– Connected
WHY IS DRUPAL 9
IMPORTANT?
Drupal 9 is here, and
it’s the easiest upgrade
in a decade*
* from Drupal 8
"The big deal about Drupal 9 is …
it should not be a big deal"
— Dries Buytaert, Creator of Drupal
PATCH =
bug fixes
MINOR =
new features,
deprecate API
MAJOR =
remove
deprecated APIs
Semantic versioning
Drupal 8+ Version History
8.0.0 = new major release
8.0.1 = bug fixes
8.1.0 = new features
8.1.1 = bug fixes
….
8.9.0 = new features
9.0.0 = removal of deprecated APIs
9.0.1 = bug fixes
9.1.0 = new features
….
major.minor.patch
Drupal
7 to 8
Drupal
8 to 9 to 10
1. Check your module inventory for
compatibility with the next major
version.
2. Check your custom-developed
modules for compatibility with the
next major version.
3. Stay up-to-date by implementing
minor Drupal versions, leading up to
next major version release
Preparing while on
current Drupal version (>8)
1. Upgrade modules to versions that
support the next major release
2. Upgrade any custom code for
compatibility with next major
release
3. Perform Drupal Upgrade
Performing upgrade
to next major version:
Staying prepared for future Drupal updates
Which brings us to the point of
today’s presentation...
FROM DRUPAL 6:
— New theme
— New output
— New Views pages
— Rewritten custom
functionality
What to expect when upgrading to Drupal 9
FROM DRUPAL 7:
— New theme
— New output
— New Views pages
— Rewritten custom
functionality
FROM DRUPAL 8:
— Same theme
— Same APIs*
— Same Views
— Same custom
functionality*
Upgrading Drupal 6 & 7
to Drupal 9
Things we know, vs. things we DON’T know
— New theme
— New output
— New Views pages
— Custom functionality
Things we know:
— Missing data migration
— Data migration bugs
Things we don’t know:
BUILD A PLAN
Upgrade steps
0. Define “done”
1. Inventory
2. Preparations
3. Initial migration
4. Drush
5. Review
6. Refine & repeat
7. Done?
— All nodes & terms?
— All products?
— All user-generated content?
— Acceptable data loss?
— No errors?
Step 0: Define “Done”
STANDARD INVENTORY
— Content type pages
— Taxonomy term pages
— Views pages
— Panels pages
— etc.
Step 1: Inventory
CUSTOM FUNCTIONALITY
— Custom modules?
— Custom overrides?
— Custom integrations?
— API keys
How much is still needed?
Step 1: Inventory
Build the Drupal 9 codebase
— Composer?
— Custom install profile
– Contrib modules
– Migrate Drupal UI
— README.txt/.md
Step 2: Preparations
profiles/MYSITE/MYSITE.info.yml
name: MYSITE
type: profile
description: 'Installation profile
for D9 edition of mysite.'
version: 2.0.0-beta1
core_version_requirement: ^8 || ^9
install:
# Drupal core.
- automated_cron
- node
# Contrib modules.
- token
- metatag
themes:
- bartik
- seven
— Install site
— Run migration
— Migration review
— Missing pieces?
— Repeat
Step 3: Initial Migration
Step 4a: Drush
— Remove: Migrate Drupal UI; Add: Migrate Upgrade
— settings.php
$databases['migrate']['default']
— Install site
drush site:install MYSITE
— Migration configuration
drush migrate:upgrade --legacy-db-key='migrate'
— Import
drush migrate:import --group=’migrate_drupal_7’
Step 4a: Drush
Step 4b: Script!
Create an upgrade.sh file
#!/bin/bash
drush site:install
drush migrate:upgrade
drush migrate:import
$> ./upgrade.sh
Step 4b: Script!
#!/bin/bash
# Install the site.
ddev . drush site-install PROFILENAME
--account-name='admin' --account-pass='test'
--db-url="'mysql://db:db@db:3306/db'" -y
# Create the migration configuration.
ddev . drush migrate:upgrade
--legacy-db-key='migrate'
--legacy-root='http://mysite.ddev.site'
--configure-only
# Import the data.
ddev . drush migrate:import
--group='migrate_drupal_7'
#!/bin/bash
# Install the site.
ddev . drush site-install mysite --account-name='admin'
--account-pass='test'
--db-url="'mysql://db:db@db:3306/db'" -y
# Create the migration configuration.
ddev . drush migrate:upgrade --legacy-db-key='migrate'
--legacy-root='http://mysite.ddev.site' --configure-only
# Fails after upgrade_d7_node_complete_gallery.
ddev . drush migrate:import --group='migrate_drupal_7'
# Fails after upgrade_d7_file_private.
ddev . drush migrate:import --group='migrate_drupal_7'
Step 5: Review
— Content
— User data
— Products
— Orders
— Anything missing?
Step 6: Refine
— Fix those node titles!
— Data cleanup?
— Module fixes?
— Module replacements?
Step 7: Done?
— Are all requirements met?
— Is any further work needed?
NEXT STEPS
1. Testing?
2. Automation?
3. Customize migration?
4. Finish configuration
5. Theming & output
More information:
drupal.org/9
slides.com/gaborhojtsy/state-of-drupal9
drupal.org/docs/8/api/migrate-api
TECHNOLOGY
THAT MAKES
YOUR UPGRADE
EVEN EASIER
The Acquia Digital Experience Platform
ACQUIA MIGRATE
Simplify your adoption of D9 with
Acquia IP:
– Analyze: Extract your content &
data from investigate your data
model and optimize your content.
– Re-platform: Leverage pre-built
configurations
– Accelerate: Migrate from Drupal 7
using IP built by Acquia
engineering leaders
ACQUIA SITE STUDIO
A low-code solution only offered by
Acquia:
– Developers create features once
that can be reused by
non-technical users
– Visual, drag and drop, interface to
empower marketers to play a
meaningful role in building your
new site
– Set and reinforce brand standards
across pages and components
ACQUIA CLOUD IDEs
A Drupal environment to write, run
and debug Drupal applications:
– Onboard developers faster and
allow them to quickly maintain
and upgrade your site
– Use an optimized developer
environment that is tuned and
ready for Drupal.
– Easily connect to and manage
your Drupal Cloud instance in the
CLI
Drupal Cloud accelerates the migration
Q&A
Best Practices for Moving to Drupal 9

More Related Content

What's hot (20)

PDF
Acquia Company Information
Acquia
 
KEY
Acquia overview pres biz summit - dc
Acquia
 
PDF
Shockingly Fast Site Development with Acquia Lightning 4.0
Rachel Wandishin
 
PDF
September Partner Bootcamp
Acquia
 
PPTX
Let’s Dig In: Building the Foundation for Acquia DAM
Acquia
 
PDF
Digital transformation - New Solutions, New Marketing Opportunities (Steve Ro...
Boston Agile Marketing Group
 
PDF
Mark Manton - Digital Transformation - Birmingham Marketing Conference
Edge Global Media Group
 
PDF
Acquia Platform Updates and Capabilities
Acquia
 
PDF
20071204 Arc Ready Software + Services
Stephan - Gabriel Georgescu
 
PPTX
Acquia Lift for Site Builders: How to Define Campaigns, Set Up Tests, and Int...
Acquia
 
PPTX
[Slidecast] Leveraging CDP (Carbon Disclosure Project) Data to Drive Business...
Sustainable Brands
 
PDF
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
Acquia
 
PDF
1 WorldSync 5 Point Best Practice Process to Improve Product Data Accuracy
1WorldSync
 
PDF
Acquia Quarterly Partner Program Update
Acquia
 
PDF
Deliver the CX They Expect: Customer Experience Trends Report (Global Edition)
Acquia
 
PDF
Snowplow - Analytics & Data Rollout at Seven
Luke Lewandowski
 
PDF
2022 Google Academy
AleksaKomosar
 
PDF
Dries Buytaert Shares His View on Decoupled Drupal: When, Why, and How
Acquia
 
PPTX
Microsoft Teams and Planner Global Azure Bootcamp
Heather Newman
 
Acquia Company Information
Acquia
 
Acquia overview pres biz summit - dc
Acquia
 
Shockingly Fast Site Development with Acquia Lightning 4.0
Rachel Wandishin
 
September Partner Bootcamp
Acquia
 
Let’s Dig In: Building the Foundation for Acquia DAM
Acquia
 
Digital transformation - New Solutions, New Marketing Opportunities (Steve Ro...
Boston Agile Marketing Group
 
Mark Manton - Digital Transformation - Birmingham Marketing Conference
Edge Global Media Group
 
Acquia Platform Updates and Capabilities
Acquia
 
20071204 Arc Ready Software + Services
Stephan - Gabriel Georgescu
 
Acquia Lift for Site Builders: How to Define Campaigns, Set Up Tests, and Int...
Acquia
 
[Slidecast] Leveraging CDP (Carbon Disclosure Project) Data to Drive Business...
Sustainable Brands
 
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
Acquia
 
1 WorldSync 5 Point Best Practice Process to Improve Product Data Accuracy
1WorldSync
 
Acquia Quarterly Partner Program Update
Acquia
 
Deliver the CX They Expect: Customer Experience Trends Report (Global Edition)
Acquia
 
Snowplow - Analytics & Data Rollout at Seven
Luke Lewandowski
 
2022 Google Academy
AleksaKomosar
 
Dries Buytaert Shares His View on Decoupled Drupal: When, Why, and How
Acquia
 
Microsoft Teams and Planner Global Azure Bootcamp
Heather Newman
 

Similar to Best Practices for Moving to Drupal 9 (20)

PPTX
Best Practices for Moving to Drupal 9
Mediacurrent
 
PDF
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
Angela Byron
 
PDF
The Myth Surrounding Drupal Migration For 2022
Thecommerceshop1
 
PDF
Drupal Webinar: Ignite and Accelerate Your Drupal 7 to Drupal 9 Migration
Cyber-Duck
 
PDF
Upgrading to Drupal 7
DesignHammer
 
PDF
State of Drupal keynote, DrupalCon Vienna
Dries Buytaert
 
PPTX
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Angela Byron
 
PDF
MIGRATION - PAIN OR GAIN?
DrupalCamp Kyiv
 
PDF
Drupal 9 or 10 - What's the Best Choice for Your Business?
Thecommerceshop1
 
PDF
April Partner Bootcamp 2022
Acquia
 
PDF
Drupal upgrades and migrations. BAD Camp 2013 version
David Lanier
 
PPT
Taking your site from Drupal 6 to Drupal 7
Phase2
 
PDF
Migrating to Drupal 8: How to Migrate Your Content and Minimize the Risks
Acquia
 
PDF
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
Eric Sembrat
 
PDF
Upgrading to Drupal 9
DrupalCamp Kyiv
 
PPT
Are you ready for Drupal 8?
Stephanie Peugh
 
PDF
Migrate all the things!
Dave Vasilevsky
 
PPTX
Drupal Migration
永对 陈
 
PPTX
Webinar : Simplified and Cost-Effective Drupal 9 Migration
Ameex Technologies
 
PPTX
DrupalCon Austin 2014 Review
Daniel Stout
 
Best Practices for Moving to Drupal 9
Mediacurrent
 
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
Angela Byron
 
The Myth Surrounding Drupal Migration For 2022
Thecommerceshop1
 
Drupal Webinar: Ignite and Accelerate Your Drupal 7 to Drupal 9 Migration
Cyber-Duck
 
Upgrading to Drupal 7
DesignHammer
 
State of Drupal keynote, DrupalCon Vienna
Dries Buytaert
 
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Angela Byron
 
MIGRATION - PAIN OR GAIN?
DrupalCamp Kyiv
 
Drupal 9 or 10 - What's the Best Choice for Your Business?
Thecommerceshop1
 
April Partner Bootcamp 2022
Acquia
 
Drupal upgrades and migrations. BAD Camp 2013 version
David Lanier
 
Taking your site from Drupal 6 to Drupal 7
Phase2
 
Migrating to Drupal 8: How to Migrate Your Content and Minimize the Risks
Acquia
 
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
Eric Sembrat
 
Upgrading to Drupal 9
DrupalCamp Kyiv
 
Are you ready for Drupal 8?
Stephanie Peugh
 
Migrate all the things!
Dave Vasilevsky
 
Drupal Migration
永对 陈
 
Webinar : Simplified and Cost-Effective Drupal 9 Migration
Ameex Technologies
 
DrupalCon Austin 2014 Review
Daniel Stout
 
Ad

More from Acquia (20)

PDF
Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia
 
PDF
Acquia Webinar Deck - 9_13 .pdf
Acquia
 
PDF
Taking Your Multi-Site Management at Scale to the Next Level
Acquia
 
PDF
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
Acquia
 
PDF
May Partner Bootcamp 2022
Acquia
 
PDF
How to Unify Brand Experience: A Hootsuite Story
Acquia
 
PDF
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Acquia
 
PDF
August partner bootcamp
Acquia
 
PDF
July 2021 Partner Bootcamp
Acquia
 
PDF
May Partner Bootcamp
Acquia
 
PDF
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Acquia
 
PDF
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia
 
PDF
April partner bootcamp deck cookieless future
Acquia
 
PDF
How to enhance cx through personalised, automated solutions
Acquia
 
PDF
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
Acquia
 
PDF
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Acquia
 
PDF
Leave Local Dev Behind: Start Writing Your Code In The Cloud
Acquia
 
PDF
Overwhelmed with data from different sources and systems?
Acquia
 
PDF
You've got a CDP, so what?
Acquia
 
PDF
CDP vs CRM - What's the difference?
Acquia
 
Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia
 
Acquia Webinar Deck - 9_13 .pdf
Acquia
 
Taking Your Multi-Site Management at Scale to the Next Level
Acquia
 
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
Acquia
 
May Partner Bootcamp 2022
Acquia
 
How to Unify Brand Experience: A Hootsuite Story
Acquia
 
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Acquia
 
August partner bootcamp
Acquia
 
July 2021 Partner Bootcamp
Acquia
 
May Partner Bootcamp
Acquia
 
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Acquia
 
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia
 
April partner bootcamp deck cookieless future
Acquia
 
How to enhance cx through personalised, automated solutions
Acquia
 
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
Acquia
 
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Acquia
 
Leave Local Dev Behind: Start Writing Your Code In The Cloud
Acquia
 
Overwhelmed with data from different sources and systems?
Acquia
 
You've got a CDP, so what?
Acquia
 
CDP vs CRM - What's the difference?
Acquia
 
Ad

Recently uploaded (20)

PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 

Best Practices for Moving to Drupal 9

  • 2. Today’s Speakers Jessie Golombiecki Marketing Manager, Mediacurrent Damien McKenna Community Lead, Mediacurrent Matt Wetmore Director of Web Operations, Acquia Ryan Picchini Director of Product Marketing, Acquia
  • 3. — Open source expansion partner — Focused on Drupal since 2007 — Clients include mid-size businesses to high-profile global brands — Team of approximately 90 experts in development, design, and digital strategy — Acquia partner since 2008 MEDIACURRENT – Drupal founder serves as Acquia CTO – Creator of the world’s only Open DXP, built on top of Drupal – Gartner leader for Digital Experience Management – Over 4,000 customers, including 40% of Fortune 1,000 – 1,100 employees worldwide ACQUIA MediaCurrent and Acquia: Building on each other’s strengths Together, we build and continually iterate for impact and scale, delivering smart, open-source solutions that maximize your digital investments.
  • 4. WHAT IS DRUPAL, AND WHY SHOULD YOU CARE?
  • 5. Blogs | Corporate websites Drupal is software used to build digital experiences E-commerce sites | Interactive digital experiences Portals | Forums | Mobile Apps | Intranets Resource directories | Social networking sites
  • 6. 1 OUT OF 30sites in the world run on Drupal 35,000+ contributors 45,000+ modules 1.3M+ registered users on drupal.org 1M+ unique visitors per month to drupal.org 100% FREE 3.3% of the web
  • 7. About 70% of executives say the pandemic is likely to accelerate the pace of their digital transformation. — McKinsey
  • 8. MARKET TRENDS Brand loyalty and awareness are more important than ever. 80%of customers say they would be more loyal to a brand that showed they really understand them and what they were looking for
  • 9. MARKET TRENDS Content is the lifeblood of a buyer’s journey.
  • 11. EXPENSIVE Traditional CMS Tools (Sitecore, Adobe, etc.) Enterprise Ready: ﹣ Workflows, security and scalability ﹣ Governance Easy to Use: – Intuitive interface empowers non-technical users – Expedited time to market LIMITED Consumer Site Building Tools (Wix, Squarespace, etc.) CUSTOM Basic Hosting + Custom Development (Pantheon, Azure, etc.) THE BEST OF ALL THREE — IN ONE PLATFORM. Fully Flexible: – Exactly what you want – Customizable – Connected
  • 12. WHY IS DRUPAL 9 IMPORTANT?
  • 13. Drupal 9 is here, and it’s the easiest upgrade in a decade* * from Drupal 8
  • 14. "The big deal about Drupal 9 is … it should not be a big deal" — Dries Buytaert, Creator of Drupal
  • 15. PATCH = bug fixes MINOR = new features, deprecate API MAJOR = remove deprecated APIs Semantic versioning Drupal 8+ Version History 8.0.0 = new major release 8.0.1 = bug fixes 8.1.0 = new features 8.1.1 = bug fixes …. 8.9.0 = new features 9.0.0 = removal of deprecated APIs 9.0.1 = bug fixes 9.1.0 = new features …. major.minor.patch
  • 17. 1. Check your module inventory for compatibility with the next major version. 2. Check your custom-developed modules for compatibility with the next major version. 3. Stay up-to-date by implementing minor Drupal versions, leading up to next major version release Preparing while on current Drupal version (>8) 1. Upgrade modules to versions that support the next major release 2. Upgrade any custom code for compatibility with next major release 3. Perform Drupal Upgrade Performing upgrade to next major version: Staying prepared for future Drupal updates
  • 18. Which brings us to the point of today’s presentation...
  • 19. FROM DRUPAL 6: — New theme — New output — New Views pages — Rewritten custom functionality What to expect when upgrading to Drupal 9 FROM DRUPAL 7: — New theme — New output — New Views pages — Rewritten custom functionality FROM DRUPAL 8: — Same theme — Same APIs* — Same Views — Same custom functionality*
  • 20. Upgrading Drupal 6 & 7 to Drupal 9 Things we know, vs. things we DON’T know
  • 21. — New theme — New output — New Views pages — Custom functionality Things we know: — Missing data migration — Data migration bugs Things we don’t know:
  • 22. BUILD A PLAN Upgrade steps 0. Define “done” 1. Inventory 2. Preparations 3. Initial migration 4. Drush 5. Review 6. Refine & repeat 7. Done?
  • 23. — All nodes & terms? — All products? — All user-generated content? — Acceptable data loss? — No errors? Step 0: Define “Done”
  • 24. STANDARD INVENTORY — Content type pages — Taxonomy term pages — Views pages — Panels pages — etc. Step 1: Inventory CUSTOM FUNCTIONALITY — Custom modules? — Custom overrides? — Custom integrations? — API keys
  • 25. How much is still needed? Step 1: Inventory
  • 26. Build the Drupal 9 codebase — Composer? — Custom install profile – Contrib modules – Migrate Drupal UI — README.txt/.md Step 2: Preparations profiles/MYSITE/MYSITE.info.yml name: MYSITE type: profile description: 'Installation profile for D9 edition of mysite.' version: 2.0.0-beta1 core_version_requirement: ^8 || ^9 install: # Drupal core. - automated_cron - node # Contrib modules. - token - metatag themes: - bartik - seven
  • 27. — Install site — Run migration — Migration review — Missing pieces? — Repeat Step 3: Initial Migration
  • 28. Step 4a: Drush — Remove: Migrate Drupal UI; Add: Migrate Upgrade — settings.php $databases['migrate']['default'] — Install site drush site:install MYSITE — Migration configuration drush migrate:upgrade --legacy-db-key='migrate' — Import drush migrate:import --group=’migrate_drupal_7’
  • 30. Step 4b: Script! Create an upgrade.sh file #!/bin/bash drush site:install drush migrate:upgrade drush migrate:import $> ./upgrade.sh
  • 31. Step 4b: Script! #!/bin/bash # Install the site. ddev . drush site-install PROFILENAME --account-name='admin' --account-pass='test' --db-url="'mysql://db:db@db:3306/db'" -y # Create the migration configuration. ddev . drush migrate:upgrade --legacy-db-key='migrate' --legacy-root='http://mysite.ddev.site' --configure-only # Import the data. ddev . drush migrate:import --group='migrate_drupal_7' #!/bin/bash # Install the site. ddev . drush site-install mysite --account-name='admin' --account-pass='test' --db-url="'mysql://db:db@db:3306/db'" -y # Create the migration configuration. ddev . drush migrate:upgrade --legacy-db-key='migrate' --legacy-root='http://mysite.ddev.site' --configure-only # Fails after upgrade_d7_node_complete_gallery. ddev . drush migrate:import --group='migrate_drupal_7' # Fails after upgrade_d7_file_private. ddev . drush migrate:import --group='migrate_drupal_7'
  • 32. Step 5: Review — Content — User data — Products — Orders — Anything missing?
  • 33. Step 6: Refine — Fix those node titles! — Data cleanup? — Module fixes? — Module replacements?
  • 34. Step 7: Done? — Are all requirements met? — Is any further work needed?
  • 35. NEXT STEPS 1. Testing? 2. Automation? 3. Customize migration? 4. Finish configuration 5. Theming & output
  • 38. The Acquia Digital Experience Platform
  • 39. ACQUIA MIGRATE Simplify your adoption of D9 with Acquia IP: – Analyze: Extract your content & data from investigate your data model and optimize your content. – Re-platform: Leverage pre-built configurations – Accelerate: Migrate from Drupal 7 using IP built by Acquia engineering leaders ACQUIA SITE STUDIO A low-code solution only offered by Acquia: – Developers create features once that can be reused by non-technical users – Visual, drag and drop, interface to empower marketers to play a meaningful role in building your new site – Set and reinforce brand standards across pages and components ACQUIA CLOUD IDEs A Drupal environment to write, run and debug Drupal applications: – Onboard developers faster and allow them to quickly maintain and upgrade your site – Use an optimized developer environment that is tuned and ready for Drupal. – Easily connect to and manage your Drupal Cloud instance in the CLI Drupal Cloud accelerates the migration
  • 40. Q&A