Introduction to migrating from Drupal 7


Posted On Jul 3 2019

Updating a website script version is one of the most complicated procedure a webmaster has to deal with when managing a website. Drupal 7 Upgrade? Here is a small guide with various details. Let’s start with basic info : Note that you don’t need to know anything about PHP to build a site in Drupal. When you search (preferably on Google) for a solution to your latest Drupal problem, a lot of the pages that come up will be providing snippets of PHP code. This is not the correct help information for you, the Drupal newbie. This is for technically competent people who are able to build their own modules and stuff like that. If you look at the other pages thrown up by your search, you will probably find an answer to your problem which involves working within the existing Drupal core and modules. That means, a solution you can implement using menus and tickboxes and whatnot, without needing to mess around with code.

When you are done with setting up a local Drupal 8 website, navigate to the Extend tab of the new website and verify that the three main migrate modules (Migrate, Migrate Drupal and Migrate Upgrade) are present in the Core (experimental) section. After proceeding, you will be brought to the Migrate UI where you can check all the potential issues and errors that you might encounter as well as all the available and the missing paths. Go through this screen and when satisfied, start the migration.

If you’re migrating from a previous version of Drupal, start with our Preparing for a Drupal-to-Drupal Migration tutorial. From there you’ll learn how to perform a basic update using either the built in UI or the contributed Drush commands, as well as some common best practices to help things go as smoothly as possible. If you’re looking to customize your Drupal-to-Drupal migration a bit, continue through the tutorials on writing custom migrations, and then we’ll go in-depth on how to use those skills to tailor the Drupal-to-Drupal update process to your specific use-case.

The steps above outline how to get a distribution minimally installed on an existing site. But you’ll still have a lot of work to do to reconcile your existing site content and structure with what has been created by the distribution. Here are a few tips to get you started–but you should begin with the assumption that there will be lots more you’ll discover and need to fix. Blocks and contexts. Many distributions use the Context module to position blocks. Your existing site may use the core Block module for this purpose, may use Context or some other tool, or may use a combination of tools for block placement. With your new distribution’s blocks displaying as well as those enabled by your existing site, you may get more than you need or want. To address this issue, selectively disable blocks left over from your existing site. If they were custom blocks, you may wish to delete them.

Update your site to the latest version of Drupal 6 (core and contributed modules). Before upgrading to Drupal 7, disable and uninstall modules you know you won’t be using in the new site. To help determine which modules to uninstall, you could review the list of modules included in the distribution, which often are found in the download in the directory profiles/[distribution_name]/modules. If a given module is not in the distribution and you don’t foresee needing its functionality on your new site, you may choose to uninstall it.

You must first understand how your current site is built, and this starts with taking an accurate inventory of the Drupal modules you are currently using. This information is pretty easy to find (Administer > Site building > Modules, or go to the Available Updates page at admin/reports/updates), and this type of preparation will come in handy a bit later in your upgrade process. Will I still need this particular module in Drupal 8? Your Drupal developers are best positioned to answer this question, and they’ll certainly need some knowledge of Drupal 8 core modules ahead of time before giving a definitive “yes” or “no.” See extra details at Drupal 7 Migration.

Last Updated on: July 8th, 2019 at 1:33 pm, by


Written by Marie Poppins