Migration from Drupal 6 / Drupal 7 to Drupal 8 - Basic Setup

In the past 1 year, we have been actively contributing to the Drupal 8 core. We also accomplished the migration of several enterprise class websites from Drupal 6 to Drupal 8.

We took away huge learnings from the process and challenges. In this blog, we would like to share a starter that will be helpful to anyone working on such migrations.

We will cover the basic setup for a Drupal 6 to Drupal 8 migration :

Step 1 Install Drupal 8 with composer:

Drupal 8 architecture has completely changed. Composer needs PHP 5.3.2+ to run (but you should run PHP 7 if possible.

Firstly install composer on your server or local machine. To install composer please follow steps given below


Once composer is installed you need to create a project:

$ composer create-project drupal-composer/drupal-project:8.x-dev drupal-composer-build --stability dev --no-interaction

Following blogs are available on drupal.org for drupal 8 installation with composer.



Also great documentation given in read.txt file


Step 2

Step up of drupal 6: We don't need to do the step-up of drupal 6 . We may require it to do when we will migrate files. All what we need right now is drupal 6 DB installed on localhost or your mysql.

Step 3

Install the below listed modules in your Drupal 8 site


  • Migrate

  • Migrate Drupal


Step 4

Verify the migration :

Open your CLI . Go to your Drupal 8 directory and do

drush ms

This will give the Migration Status - in the screenshot below

You will now have created the basic Drupal 8 setup that is ready for the next step.

Go to /admin/structure/migrate

You will see the default migration group listed.

This completes the basic Drupal 8 migration setup.