Introduction
This guide will show you how to migrate a site that meets the following criteria to the latest version of Drupal:
| Current Host | How Site Was Created | Additional Requirements |
|---|---|---|
| Pantheon | Empty Upstream | Multidev |
If this is not your scenario, see Drupal Migration Guides for additional upgrade paths.
This upgrade migrates your existing site to a new site. The new site will not maintain your site’s commit history.
This doc uses Terminus commands. Before you begin, set the variables $site and $env in your terminal session to match your site name and the correct environment:
The following aliases are used as examples:
- Alias:
D8_SITE- Site Name:
best-drupal8-site-ever
- Site Name:
- Alias:
DRUPAL_SITE- Site Name:
best-drupal-site-ever
- Site Name:
Requirements
Confirm that your site meets the following requirements before you continue:
-
Ensure your site has the Pantheon empty repository in its upstream.
-
Use Terminus to confirm the
emptyUpstreamRun the command
terminus site:info $SITEto display the site's basic information and properties.The following is an abridged example of the output for a site upstream set to
empty:
The following values indicate that a site is using an
emptyupstream:-
The
Frameworkisdrupal8 -
The
Upstreamincludeshttps://github.com/pantheon-systems/empty.git
-
-
The site does not use another package and library manager, such as Ludwig.
-
You have not set up Continuous Integration or you no longer need it.
-
The trusted host setting is up-to-date. Refer to the Trusted Host Setting documentation for more information.