This year Drupal is 17. For over a decade the process of upgrading from one version to another was one of the biggest challenges. With Drupal 8 the ease of upgrading was one of most pleasant surprises. Looks like Drupal is getting out of teenage years and becoming quite a mature entity.
By the end of this session you will know how to complete a content upgrade for your Drupal 7 or 6 website, and what is not included. We will do a step-by-step demo of how the migration process goes:
Starting with out of the box vanilla Drupal 8 site
Connecting to the existing website that you want to upgrade
What modules you need for Drupal 8
Blocks, Theme, and Views migrations
Options available for moving content from other systems: Feeds (finally ready for Drupal 8), Migrate Plus and other plugins.
We will also discuss when you want to upgrade your site and when you want to migrate your site, and variations/combinations of these two cases.
Session Takeaway: How and when to upgrade your website to Drupal 8
Expected Attendees: This session is designed for site builders, content managers and strategists who are planning overall site development.
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Drupal migrations in 2018 - SFDUG, March 8, 2018
1. CONTENT MIGRATION INTO
DRUPAL8
WITH ONE CLICK EASE
FOR SITE BUILDERS
Case study :: Work in progress
Irina Zaks izaks@stanford.edu
http://fibonacciwebstudio.com/
2. In this presentation
We will talk about
Content Migration Tools We will not present today
Standard Upgrade via
web interface
Using drush to setup
migration
Customizing migration
paths
Using Features or Drupal
Console or Configuration
Split
Views upgrades
Theme upgrades
Functionality upgrades
Composer
All great new things in
Drupal 8
World Peace
.... and many more
3. WARNING!
This demo uses
dev tools
Things might and
will break
Interface and
features can
change without
notification
STAY CALM and
DRUPAL ON
4.
5. Website is supporting mission
and operation of your
organization
Websites are living creatures
As organization changes, so should
the website
Websites change, grow, shrink as do
organizations that these sites support
Website average lifetime is 4-5 years
6. Why do you want to migrate
1. Our organization has changed and
website needs to reflect it
2. We want new fresh feel and look
3. Our site needs to be mobile friendly
4. Our site is very difficult to manage
5. Everyone is on Drupal 8 now
6. Drupal 7 will not have security
updates
WE GOT BUDGET – LET’s BEGIN!
7. What do you want to migrate
Information architecture
◦ Data models
◦ Relationships
Content – pages, images, documents
Designs
◦ Index pages
◦ Pages layout
Editor’s UX and UI
Functionality and workflows
What do you want to keep
What do you want to delete
What do you want to change
What do you want to add
9. Using KIPAC website
migration
Research Center
Website
Well defined
content types and
relationships
Good content,
images, video
Integrated with
mailing lists, etc.
Non-responsive
theme
Poor experience
for content
managers
10.
11.
12.
13. Brief history of Drupal migrations
Upgrades between major
versions of Drupal was a major
undertaking before Drupal 8
My Drupal migration journey
started with moving 4.7 to D6
Upgrade in D8 was one of the
most pleasant surprises
14. 4.7 to 5 to 6 - Always an
adventure
Early Migrate module, SQL
scripts
16. 6 to 7 - Routine exercise
Set up new Drupal 7 site
Create content types in D7
Set data export in D6
Set data import in D7
Feeds or Migrate
Unlimited import
Rollback / Reimport
18. Two ways to upgrade in Drupal 8
“One-click “ upgrade
via web interface
Configuration >
Development->
/upgrade
Set up migrations via
drush and manage in
Migrations tab
Structure->
Migrations
/admin/structure/migr
ate
19. D8 upgrade
Set up new Drupal 8 site
Create content types
Set data export
Set data import
Click Upgrade or run Migrate
21. Source - D7 site
Person content
type with various
fields
◦ Text
◦ Date
◦ Entity reference
◦ Image, etc.
Menu links
Views
22. Destination - New site D8
Setup new blank Drupal 8 site
http://dev-siepr-8.pantheonsite.io/
Lots of modules are now in core (views,
path, etc.)
Add basic set of modules
1. Admin Toolbar (replaces Admin Menu)
2. Pathauto (requires token and ctools)
3. Devel
4. Ctools
5. Token
6. Diff
23. DevOps
Thanks to Pantheon for providing all
tools
Dev / test / multidev instances
Backups
Db / files export/import
Drush
25. Enable Migration modules
Core
◦ Migrate
◦ Migrate Drupal
◦ Migrate Drupal UI
◦ Admin menu for convenience of all
operations
◦ Pathauto to ensure migration of aliases if
needed
29. Standard upgrade – what
works
Creates content types / fields even if
there are no nodes of this content type
Menu items – set in menus, not views
Moves content – nid’s are preserved
Url aliases but not pathauto patterns
Moves users / roles
Reports every step of upgrade in a log
Not found or access denied links go to
front page by default
30. Standard upgrade – what does
not work
One time migration
Migration rollbacks
◦ Pantheon Backup
Content for fields is moved, but display
and form display might need to be reset
Field collections do not have out of the
box upgrade path
“Plain HTML” format does not work as
expected
Other issues we are discovering as we
go
34. Web interface for Migration
“Execute” button added to web UI in February, get dev
versions here
https://www.drupal.org/node/2202391/git-
instructions/8.x-4.x/nonmaintainer
https://www.drupal.org/node/2609548/git-
instructions/8.x-4.x/nonmaintainer
Migration tab - /admin/structure/migrate
Migration group -
/admin/structure/migrate/manage/migrate_drupal_7/mig
rations
Specific migration -
/admin/structure/migrate/manage/migrate_drupal_7/mig
rations/upgrade_d7_node_stanford_person/execute
39. Migrations and updates
One time migration full migration via
Update
Ongoing updates from Drupal 7 to
Drupal 8 sites via Migrate Plus
Migration customization using Migrate
Manifest
Feeds from other sites
40. Current status of Feeds
Module
.csv import is working
Tamper UI is ready for review and
approval
Demo
Join discussion Feeds weekly meetup
https://drupal.slack.com/messages/C3
4CECZAL/details/ every Thursday 11
am PST
41. Next steps and wish list
Views upgrade path – some modules
in development
Integration of Feeds UI with Migrated
back end
Join discussion at
https://drupal.slack.com/messages/C3
4CECZAL/details/ every Thursday 11
am PST
42. Other very useful modules
1. Webform
2. Display Suite
3. Paragraphs
4. Editor_file
Editor's Notes
Web developer and Open Source evangelist since beginning of this century / millennium. I am passionate about bringing cutting edge web tools to academia and research.
This session is target
My goal is to give researchers the tools that integrate data such that users can interact with and utilize the research results, without sacrificing complexity or creating unnecessary duplicate work.
Rapid prototyping, visualization, and analytical tools are part of myvision for a perfect research app. Sharing critical findings with other researchers and the general public promotes open data concepts.
I will demo migration of existing clean site and talk about various tools for migrating data into Drupal 8 that are available now – March 2018.
Topic of my presentation today is Content migration into Drupal 8.
First
I want to take a high level view of how websites are born, live and die so we know WHY we are talking about content migrations
Let’s talk about most common reasons that start migration process…
At this point you want to look in details at your current website and decide what
Old content – is it still important? Archives? https://news.stanford.edu/2005/06/14/jobs-061505/
https://facultysenate.stanford.edu/past-senates/past-senates-overview
And then dive into details of actual moving process
want to betin talking about techncal details
Today we are going to demo what tools we used for this migration
On of biggest complaints about drupal was that there is not simple upgrade button to update a site from one major version to another. I have migrated over dozen custom websites, starting with migrating library site from drupal 4.7 to drupal 6. and it was always very exciting journey. By the time of 6 to 7 migrating content with data export and feeds become more of routine exercise, but still quite time consuming. Drupal 8 has been used by larger companies for couple of years now, but for smaller groups learning curve with all new back end and devops was prohibitively time consuming.
last September our group decided that Drupal 8 got to the point when even small group with limited resources can begin sitebuilding on 8.
I think that most pleasant surprise with Drupal 8 was upgrade process, and I am going to share that with you