Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
A central tenet of Drupal is that major versions Drupal 5, 6, and 7 and so on, aren't compatible with each other. That causes some frustration because historically it's meant that you need to upgrade your site to the next version every four years or so. And even then you have to figure out what to do about modules that don't exist for the new version. The central process for migrating is actually quite easy. It's the little site bits that are sometimes tricky. I'll show you some of the common problems and point you to resources in case you get stymied. I am going to go very quickly since there are a lot of steps.
I have already installed an extremely simple site on Drupal 6. The truth is your site will probably have aspects that go well beyond this one. But the techniques you see here will let you migrate a site of any size and complexity. And actually this site isn't as simple as it looks. If we go up to the Module list, you'll see that we actually have quite a few things installed. Besides the core we have CCK, image, and a bunch of other things. The most valuable tool for this is the Upgrade Status module, which you can get at drupal.org/project/upgrade_status, scroll down, and I'll install it in the usual way.
Because we are using Drupal 6, we actually have to go onto the server to install it. Here we are in that site's directory and I go into sites/all/modules/ and install it as usual. Then I reload my Modules page and turn it on. You'll need both Upgrade status and Upgrade assist and Save configuration.
When you do that you see this list over here in the left column and we're just going to walk through the steps it tells us. Now mind you, some of the steps are pretty complicated, so we are going to do this in two videos. First, we will complete the Drupal 6 part of things; then we'll start again with the Drupal 7 part of things. There is a wall between the two parts because you're going to be using the same database, and once you upgrade it you won't be able to go back to Drupal 6. So be sure that you do backups as you go. And in fact, before we go further I am going to use a Drush command to backup the entire site.
You can learn how to do this in the section of this course about Drush. All right, now we are ready to get started. We click the first link, and here we check to make sure that all the modules we have are up to date. Oh! And in fact one of them isn't up to date, Pathauto. So I'll copy that link and install it.
Now if I reload this page, we can see that everything is up to date, and that item has been checked off. Enable the Maintenance mode, go offline that is, and save. You'll notice that it skips over this Verify Maintenance theme, but if you want to go back and make sure of it, I click there and I go back and I say oh okay Maintenance theme is Bluemarine. If there was any problem, it would've told us about this. Of course I could switch it to Garland, which I also know is available in Drupal 7, that's not a bad idea.
And then I'll say Save configuration. Then I disable all modules that are not part of core Drupal. We could do that by going to the Modules page and manually turning them off, but I like this interface. There is one thing that's strange though. On the Modules page when something is checked, it means it's enabled. On this page when it's checked, it means that they're going to turn it off. I'll accept all of this and click Disable. One thing to notice, remember how there were two modules that were part of Upgrade Status, there was Upgrade status and Upgrade assist, this only turns off one of them, because the other one is what gives us this checklist over here, and in fact it will survive as we go into Drupal 7. Very good! You'll notice that it has check here for Backup current site, that's just a reminder and of course we already did this.
The next step is to replace Drupal core. At this point we've come to the end of what we do on Drupal 6, because the next thing we are going to do is download and install Drupal 7. I'll pick that up in the next video.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 104443 Viewers
56 Video lessons · 116353 Viewers
71 Video lessons · 85590 Viewers
131 Video lessons · 40968 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.