Upgrade Drupal 6 to 7 – Part1 Using MIGRATE and UBERCART 

 January 17, 2015

By  NickLitten

Las month my cousin, drumming demi-god Rob Litten asked me to help him upgrade his website. He has been running a very successful online drumming sensation called Drums The Word for a few years now. It’s a Drupal 6 eCommerce website running Ubercart focused on selling digital products — downloadable videos and drum lessons.

We played with WordPress for a while but he didnt like various things about the WP user Interface, we discussed Drupal 8 but it’s still in Beta and didnt think it was the right solution to this business critical eccomece website (not yet anyway) so Drupal 7 was selected, ubercart7 was chosen and it’s time to migrate from Drupal6 upto the much nicer (imho) Droop7.

#1 – Tidy up your old Drupal6 configuration as much as possible.

This is really a pretty straightforward and obvious process: we dont want to migrate a crappy, messy drupal 6 installation into a new shiney drupal7 one do we?

Anyway – Lets walk through a live example and I will do a screen-cast on youtube recording the actual migration bit. First of all, lets talk about the old Drupal 6 website. To get it tidy lets just do this:

  • Backup.
  • Install latest version of every module you are using.
  • disable all modules you are not.
  • uninstall disabled modules.
  • Install https://www.drupal.org/project/advuser
  • Install https://www.drupal.org/project/user_prune
  • Update and make sure the website looks nice….
  • BACKUP again.

Now lets turn those modules on, which should look something like this:


Upgrade Drupal 6 to 7 - Part1 Using MIGRATE and UBERCART 1

I really like the Advanced User method of purging out (thats a polite way of saying DELETE) old users. So goto USERPRUNE in your admin set a filter value to clear old useless users. In this example I am selecting and deleteing users that have registered but never signed on (perhaps caused by ubercart cancellations during checkouts)

Upgrade Drupal 6 to 7 - Part1 Using MIGRATE and UBERCART 2

And Boom… in this particular example of a Drupal6 tidyup it reduced the size of my user table from just over 7,000 users to just over 1,400. Looking at the deletion list the huge majority of these are spam accounts *huzzah*

So, I’m at the stage of feeling happy that Drupal 6 install is as neat and tidy as it can be so lets

Setup a Drupal 7 installation for a Drupal6 upgrade

click here for the next chapter


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"cff50":{"name":"Main Accent","parent":-1},"a344d":{"name":"Accent Transparent","parent":"cff50"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"cff50":{"val":"var(--tcb-skin-color-0)"},"a344d":{"val":"rgba(46, 138, 229, 0.85)","hsl_parent_dependency":{"h":210,"l":0.54,"s":0.78}}},"gradients":[]},"original":{"colors":{"cff50":{"val":"rgb(0, 178, 255)","hsl":{"h":198,"s":1,"l":0.5}},"a344d":{"val":"rgba(0, 178, 255, 0.85)","hsl_parent_dependency":{"h":198,"s":1,"l":0.5}}},"gradients":[]}}]}__CONFIG_colors_palette__

Get In Touch

I’m always looking for awesome input, feedback and critique!