How to do a Drupal 8 upgrade

Migrating a website script version is one of the highest risk procedure a webmaster encounters when managing a website. Upgrading to Drupal 8? Here is a small guide with various details. Let’s start with basic info : How to see the NID of a node. If the node is in ‘edit’ mode, you can see the nid in the URL. (A node, in case you’re wondering, is a page like an article or a forum posting. You can design what fields it has and how they is displayed. Typically a node will consist of a heading, some body text, maybe an image, etc. Drupal assigns two URL addresses to each node, a human-friendly one made of words, and a nid, or node id.)

Note: Earlier, there used to be a migrate_plus module in Drupal 8 core which contained all the pieces of migrate functionality that wasn’t able to make it in the Drupal 7 core. It contained all the plugins for the support of XML, CSV and JSON data sources along with the support for databases like MS SQL or Oracle. This module has now been split into different modules, namely migrate_plus, migrate_tools and migrate_source_csv. 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.

The Drupal core migration system is used for both importing data from custom sources, and for migrating content and configuration from previous versions of Drupal into Drupal 8 — effectively updating your site from one major version to another. Depending on which of these two tasks you’re performing you’ll use the tools in different ways.

Here are basic steps to take to upgrade an existing Drupal site to use a distribution. These are rough guidelines only. Because each site and each distribution is configured differently, you’re likely to run into additional complexities. But these notes should at least get you started in the right direction. Select a distribution to use. You’ll want to find the distribution that most closely matches your site requirements. See the listings and comparisons of Drupal distributions on drupal.org.

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. Read extra details about Upgrading from Drupal 7 to Drupal 8.