Migrating from Drupal 7

Updating a website software version is one of the most complicated procedure a webmaster encounters when managing a website. How to do a Drupal 8 upgrade? Here is a small guide with various details. Let’s start with general info : The content of your site does not live in your Drupal installation. It lives in a MySQL database which is managed by your Drupal installation. This database will sit somewhere on your server, as determined by your web host. (As an aside, I never did figure out where Dev Desktop puts the database on your computer at home. It’s a mystery.) Anyhow, the exception to this is that the images within your site do live in your Drupal installation, they are in the sites folder somewhere (depending on your settings), with Drupal keeping records of them in the database.

Drupal 8 turned one in the November of 2016. It is about time that the Drupal 7 website owners and administrators should start considering upgrading the websites to Drupal 8. With the Drupal team focused on improving Drupal 8, it is inevitable that Drupal 7 will stop getting official updates in the near future. The great thing about upgrading to Drupal 8 is the remarkably easy process as a result of the inclusion of a few great migration modules in its core. Though not yet perfect, the upgrade procedure in Drupal has come quite a long way. As you can see in this tutorial, the upgrade process is now very streamlined and is an integral part of the Drupal Core. If you liked this blog post, then give a read to another blog post by us on, How To Update Drupal 8 Core.

Upgrading is the process of moving your site from a previous major version of Drupal to a newer version, for example from Drupal 7 to Drupal 8. This consists of upgrading the codebase to the appropriate version and then migrating the data from your old site into the new one. Drupal 8 core contains two modules to help facilitate this process: Migrate Drupal and Migrate Drupal UI.

Download the latest release of the distribution. Download and extract the latest release and copy your existing site’s Drupal 7 version settings.php file and files directory to the sites/default directory in the distribution install. This will point the new site to your existing site database.

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. See extra details at Upgrading to Drupal 8.