SlideShare une entreprise Scribd logo
1  sur  41
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Acquia Company Information
Acquia Company InformationAcquia Company Information
Acquia Company Information
Acquia
 
Acquia overview pres biz summit - dc
Acquia overview pres   biz summit - dcAcquia overview pres   biz summit - dc
Acquia overview pres biz summit - dc
Acquia
 

Tendances (20)

Acquia Company Information
Acquia Company InformationAcquia Company Information
Acquia Company Information
 
Acquia overview pres biz summit - dc
Acquia overview pres   biz summit - dcAcquia overview pres   biz summit - dc
Acquia overview pres biz summit - dc
 
Shockingly Fast Site Development with Acquia Lightning 4.0
Shockingly Fast Site Development with Acquia Lightning 4.0Shockingly Fast Site Development with Acquia Lightning 4.0
Shockingly Fast Site Development with Acquia Lightning 4.0
 
September Partner Bootcamp
September Partner BootcampSeptember Partner Bootcamp
September Partner Bootcamp
 
Let’s Dig In: Building the Foundation for Acquia DAM
Let’s Dig In: Building the Foundation for Acquia DAMLet’s Dig In: Building the Foundation for Acquia DAM
Let’s Dig In: Building the Foundation for Acquia DAM
 
Digital transformation - New Solutions, New Marketing Opportunities (Steve Ro...
Digital transformation - New Solutions, New Marketing Opportunities (Steve Ro...Digital transformation - New Solutions, New Marketing Opportunities (Steve Ro...
Digital transformation - New Solutions, New Marketing Opportunities (Steve Ro...
 
Mark Manton - Digital Transformation - Birmingham Marketing Conference
Mark Manton - Digital Transformation - Birmingham Marketing ConferenceMark Manton - Digital Transformation - Birmingham Marketing Conference
Mark Manton - Digital Transformation - Birmingham Marketing Conference
 
Acquia Platform Updates and Capabilities
Acquia Platform Updates and CapabilitiesAcquia Platform Updates and Capabilities
Acquia Platform Updates and Capabilities
 
20071204 Arc Ready Software + Services
20071204   Arc Ready   Software + Services20071204   Arc Ready   Software + Services
20071204 Arc Ready Software + Services
 
Acquia Lift for Site Builders: How to Define Campaigns, Set Up Tests, and Int...
Acquia Lift for Site Builders: How to Define Campaigns, Set Up Tests, and Int...Acquia Lift for Site Builders: How to Define Campaigns, Set Up Tests, and Int...
Acquia Lift for Site Builders: How to Define Campaigns, Set Up Tests, and Int...
 
[Slidecast] Leveraging CDP (Carbon Disclosure Project) Data to Drive Business...
[Slidecast] Leveraging CDP (Carbon Disclosure Project) Data to Drive Business...[Slidecast] Leveraging CDP (Carbon Disclosure Project) Data to Drive Business...
[Slidecast] Leveraging CDP (Carbon Disclosure Project) Data to Drive Business...
 
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
 
1 WorldSync 5 Point Best Practice Process to Improve Product Data Accuracy
1 WorldSync 5 Point Best Practice Process to Improve Product Data Accuracy1 WorldSync 5 Point Best Practice Process to Improve Product Data Accuracy
1 WorldSync 5 Point Best Practice Process to Improve Product Data Accuracy
 
Acquia Quarterly Partner Program Update
Acquia Quarterly Partner Program UpdateAcquia Quarterly Partner Program Update
Acquia Quarterly Partner Program Update
 
Deliver the CX They Expect: Customer Experience Trends Report (Global Edition)
Deliver the CX They Expect: Customer Experience Trends Report (Global Edition)Deliver the CX They Expect: Customer Experience Trends Report (Global Edition)
Deliver the CX They Expect: Customer Experience Trends Report (Global Edition)
 
Snowplow - Analytics & Data Rollout at Seven
Snowplow - Analytics & Data Rollout at SevenSnowplow - Analytics & Data Rollout at Seven
Snowplow - Analytics & Data Rollout at Seven
 
2022 Google Academy
2022 Google Academy 2022 Google Academy
2022 Google Academy
 
Dries Buytaert Shares His View on Decoupled Drupal: When, Why, and How
Dries Buytaert Shares His View on Decoupled Drupal: When, Why, and HowDries Buytaert Shares His View on Decoupled Drupal: When, Why, and How
Dries Buytaert Shares His View on Decoupled Drupal: When, Why, and How
 
Aloop sow v1.5
Aloop sow v1.5Aloop sow v1.5
Aloop sow v1.5
 
Microsoft Teams and Planner Global Azure Bootcamp
Microsoft Teams and Planner Global Azure BootcampMicrosoft Teams and Planner Global Azure Bootcamp
Microsoft Teams and Planner Global Azure Bootcamp
 

Similaire à Best Practices for Moving to Drupal 9

Zero to Drupal in 60 Days with Acquia Lightning
Zero to Drupal in 60 Days with Acquia LightningZero to Drupal in 60 Days with Acquia Lightning
Zero to Drupal in 60 Days with Acquia Lightning
Rachel Wandishin
 

Similaire à Best Practices for Moving to Drupal 9 (20)

Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9
 
Collaborating with the Community
Collaborating with the CommunityCollaborating with the Community
Collaborating with the Community
 
Console presentation
Console presentationConsole presentation
Console presentation
 
Console presentation
Console presentationConsole presentation
Console presentation
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018
 
April Partner Bootcamp 2022
April Partner Bootcamp 2022April Partner Bootcamp 2022
April Partner Bootcamp 2022
 
Building and Maintaining a Distribution in Drupal 7 with Features
Building and Maintaining a  Distribution in Drupal 7 with FeaturesBuilding and Maintaining a  Distribution in Drupal 7 with Features
Building and Maintaining a Distribution in Drupal 7 with Features
 
Zero to Drupal in 60 Days with Acquia Lightning
Zero to Drupal in 60 Days with Acquia LightningZero to Drupal in 60 Days with Acquia Lightning
Zero to Drupal in 60 Days with Acquia Lightning
 
Drupal migrations in 2018 - SFDUG, March 8, 2018
Drupal migrations in 2018 - SFDUG, March 8, 2018Drupal migrations in 2018 - SFDUG, March 8, 2018
Drupal migrations in 2018 - SFDUG, March 8, 2018
 
Drupal 8 and iOS - an Open Source App
Drupal 8 and iOS - an Open Source AppDrupal 8 and iOS - an Open Source App
Drupal 8 and iOS - an Open Source App
 
Demystifying Decoupled Drupal for Developers & Content Authors
Demystifying Decoupled Drupal for Developers & Content AuthorsDemystifying Decoupled Drupal for Developers & Content Authors
Demystifying Decoupled Drupal for Developers & Content Authors
 
Building mobile applications with DrupalGap
Building mobile applications with DrupalGapBuilding mobile applications with DrupalGap
Building mobile applications with DrupalGap
 
Drupal%2 c mobility and m2serve
Drupal%2 c mobility and m2serveDrupal%2 c mobility and m2serve
Drupal%2 c mobility and m2serve
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
 
Drupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.xDrupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.x
 
Distribution best practices
Distribution best practicesDistribution best practices
Distribution best practices
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
 
Drupal 8 improvements for developer productivity php symfony and more
Drupal 8 improvements for developer productivity  php symfony and moreDrupal 8 improvements for developer productivity  php symfony and more
Drupal 8 improvements for developer productivity php symfony and more
 
Drupal Overview For Techies
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For Techies
 
Follow before a drupal security release by shamit khemka
Follow before a drupal security release by shamit khemkaFollow before a drupal security release by shamit khemka
Follow before a drupal security release by shamit khemka
 

Plus de Acquia

Taking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next LevelTaking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next Level
Acquia
 

Plus de Acquia (20)

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

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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