Performing major Drupal revision upgrades

In Drupalese, upgrade is typically used to refer to the process of migrating to the next major release branch of Drupal, as in upgrading from Drupal 6 to Drupal 7. The related term, update, refers to the process of performing minor stability or security updates for modules and core within in the same major release branch of Drupal, as in updating from Drupal 6.19 to Drupal 6.20. This guide covers major revisions upgrades only. 

These notes were compiled in the process of upgrading from Drupal 6.20 to 7.0-rc3. Links to reference resources can be found below.

This guide takes a unique sort of approach to the process. It is a step-by-step for migrating a single site from a Drupal 6 multi-site base installation to a Drupal 7 multi-site install. Backups are performed according to best practices, but the Drupal 6 multi-site installation remains in its own folder, while the Drupal 7 installation exists in its own (another) folder on the server. Depending on your hosting situation, a redirect or DNS change is necessary to have the URL for your site point to the new folder. In this case, the originating Drupal 6 folder on the server was drpl6, and the new folder for the Drupal 7 installation was drpl7. Also, the Drupal 7 multi-site base installation was first set up, with a place holder default site and a development site using a sub-domain for its URL, before migrating any Drupal 6 sites.

Do not perform the upgrade process on a live site! Create backups! Note any errors along the way (and report them on in the appropriate issue queue)!

  • Create an inventory of your current contributed modules and themes
    • The list of modules and themes in use on your site will help you determine if an upgrade is appropriate at the time, as some of the modules you use may not yet be available in the next major version.
    • Keep in mind that over 40 contributed modules in Drupal 6 were ported into core for Drupal 7.
    • Certain modules may have specific upgrade instructions, so it is advisable to check the project pages and their associated issue queues for your modules. This is especially true for modules which define content access permissions.
    • You may find, very quickly, that you will not perform the upgrade at this point due to a lack of a corresponding module in the next branch of Drupal, there is no update path for the module, etc.
    • The Upgrade Status module is very helpful in this step, and throughout the upgrade process with the Upgrade Assist sub-module.
    • Ensure that all contributed modules have an update path for the next major release branch.
    • Disable and uninstall unused modules and modules which you plan to abandon (possibly, if there is no upgrade path for the module). Remove the folders for unused modules and themes from the sites/all/themes and sites/all/modules folders.
  • Download and unpack the latest release of Drupal in the next major release branch
    • Read UPGRADE.txt in the base folder of the new version of Drupal
  • Update Drupal core, all contributed and custom modules, and themes to their most recent releases within the current Drupal branch
    • It is only possible to upgrade from the most recent release of Drupal within your current branch to the next major release branch. In other words, if your Drupal site is version 6.17, then you must update to version 6.20 before upgrading to Drupal 7. Likewise, it is only possible to upgrade to the next major release branch after your current installation, so if you are running Drupal 5, then you must first upgrade to Drupal 6 before upgrading to Drupal 7.
    • Check for available updates on your current Drupal site at: admin/reports/updates
  • Test your current site after updating core and contributed modules, and before upgrading
  • Using FTP or command line, upload the core files and folders for the new version of Drupal to a folder on your server
    • If there is not a corresponding version of a module for the new version of Drupal, then copy the folder for the module to the sites/all/modules folder
  • Login is as user 1, a.k.a. the super-user, on the current site
  • Verify that your Drupal core and modules are up-to-date
    • admin/reports/updates
  • Put your site into maintenance mode
    • admin/settings/site-maintenance
  • Backup your site files and database
    • Use either the Backup and Migrate module, or a direct backup of your database (command line or a GUI like PHPMyAdmin), or both methods, to create a backup of your database.
  • Switch to the default theme (Garland for Drupal 6) for your current site
    • admin/build/themes
  • Check that the administration theme is set to use the system default (site) theme (so that it is using the default theme for Drupal)
    • admin/settings/admin
  • Disable all contributed and custom modules
    • admin/build/modules
    • This can take a while...
  • Clear your caches
    • admin/settings/performance
  • Copy the current site database to a new database (or use the current database and rely on your backups)
  • Copy the site folder and file backup to the sites folder in the new Drupal installation
    • Make sure that your backups (yes, plural) are fully completed, organized, verifiable, ready for restoration, etc.
  • Delete default.settings.php from the site folder
  • Ensure that settings.php is writeable
    • When updating to the next major branch of Drupal, update.php must be able to make the necessary changes to settings.php for your site.
  • Ensure that modifications to .htaccess and robots.txt are replicated in the corresponding files in the the new Drupal installation
    • If you made changes to either the originating Drupal .htaccess or robots.txt files, then you should make those exact same changes in the corresponding files in the new Drupal installation. Do not simply copy the .htaccess and robots.txt files from the old Drupal installation.
  • Change your server set up so the URL for the site points to the folder for the new Drupal installation
    • This is applicable if there are separate folders in your server hosting root for the old and new Drupal installations. If the installations are on separate servers, then a similar change will need to be made so the URL points to the new install.
  • Run update.php for core updates
    • You must be logged in as the super-user (user 1) to run update.php
  • Download and install new branch versions of contributed and custom modules
  • Backup the site database and files
  • Run update.php again
  • Enable the new contributed and custom modules
  • Re-run update.php
  • Test, test, test
Drupal version: 


Add new comment | arxic Drupal

Hi, i think that i saw you visited my web site so i came to go back the
desire?.I'm trying to find things to enhance my web site!I assume its good enough to use a few of your ideas!!

Add new comment | arxic Drupal

I do trust all the concepts you've offered in your post.
They are really convincing and can definitely work.
Nonetheless, the posts are very quick for beginners.
May you please prolong them a little from subsequent time?
Thank you for the post.

Add new comment | arxic Drupal

you are in point of fact a excellent webmaster.
The site loading speed is incredible. It sort of feels that
you're doing any unique trick. Furthermore, The contents
are masterwork. you've performed a great activity on this subject!

Add new comment | arxic Drupal

Greetings from Florida! I'm bored to tears at work so I decided to browse your site on my iphone during lunch break.
I really like the information you provide here and
can't wait to take a look when I get home. I'm shocked at how fast
your blog loaded on my cell phone .. I'm not even using WIFI, just 3G ..
Anyhow, wonderful site!

Нашел познавательную информацию

Привет всем участникам форума!
Нашел интересную фотоподборку на этом сайте: :
скачать гаджеты для window
<a href=>креативные вещи</a> креативные вещи <b> Что думают жители Израиля о России и русских </b>

Add new comment | arxic Drupal

I don't know if it's just me or if everyone else experiencing issues with your blog.
It looks like some of the text on your posts are
running off the screen. Can somebody else please comment
and let me know if this is happening to them too? This could be
a problem with my web browser because I've had this happen before.


Analytics: Usa Business Current News.

Дизайн ванны маленькой ~ Video
<p>Дизайн ванны маленькой Дизайн ванны маленькой Дизайн ванной комнаты 4 кв. м Любой дизайн интерьера должен создаваться с условием максимальной экономии пространства помещения, а поэтому ванная комната площадью 4 квадратных метра не будет исключением. Чтобы воплотить идею в реальность, необходимо использовать отделку комнаты, позволяющую визуально увеличить пространство, а также тщательно выбирать предметы обстановки: они должны <>]</p>
<p>The post <a href="Дизайн ванны маленькой ~ Video</a> appeared first on <a href="">Interior Design</a>.</p>

<a href=>Indianapolis Finance</a>

Add new comment | arxic Drupal

I've been exploring for a little bit for any high-quality
articles or weblog posts on this sort of house . Exploring in Yahoo I eventually stumbled upon this
site. Reading this information So i'm glad to express that I have an incredibly good
uncanny feeling I found out exactly what I needed. I most undoubtedly will make
certain to don?t disregard this website and provides it a look on a constant basis.

Add new comment | arxic Drupal

Hmm is anyone else having problems with the images on this
blog loading? I'm trying to determine if its a problem on my end
or if it's the blog. Any responses would be greatly

Add new comment | arxic Drupal

Undeniably believe that which you said. Your favorite reason appeared to be on the web the easiest thing to be aware of.
I say to you, I certainly get annoyed while people think about worries that they just do not know about.
You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal.
Will probably be back to get more. Thanks

Add new comment | arxic Drupal

We are a bunch of volunteers and opening a brand new
scheme in our community. Your site offered us with helpful information to work on. You've done a formidable
process and our entire community will probably be
thankful to you.

Add new comment | arxic Drupal

Hi there just wanted to give you a quick heads up. The text in your article
seem to be running off the screen in Safari. I'm not sure if this is a
format issue or something to do with web browser compatibility but I figured I'd
post to let you know. The design look great though!
Hope you get the problem resolved soon. Cheers

Add new comment | arxic Drupal

Hello my friend! I want to say that this article is amazing, great
written and come with almost all important infos. I would like to peer more posts like this .

Интим знакомства Самарасекс чат общение перепискафистинг вагины - вирт без регистрации - порно видео со зрелыми женщинами - интим знакомства москва - русский домашний фистинг - русский анальный фистинг - зрелые мамки знакомства - сквиртинг онлайн бесплатно - интим фото зрелых женщин - гей транс знакомства - сайт знакомств для сэкса - порно сексуальные мамки - взрослые женщины знакомства - порно русские зрелые свингеры - порно мамочки больший сиськи - мастурбация молодых девушек - бесплатный сайт знакомств без регистрации - порно видео зрелых смотреть онлайн - бдсм знакомства бесплатно - порно видео горловой минет - знакомства для секса краснодар

<a href=>реальные знакомства без регистрации</a>
<a href=>сайт знакомства взрослых регистрации бесплатно</a>
<a href=>Интим знакомства Челябинск</a>
<a href=>русский анальный фистинг</a>
<a href=>вирт видеочат</a>
<a href=>порно зрелых женщин смотреть онлайн бесплатно</a>
<a href=>вирт знакомства</a>

Add new comment | arxic Drupal

Greetings I am so grateful I found your site, I really found you by mistake, while I was searching on Aol for something else, Anyhow I
am here now and would just like to say thanks
a lot for a marvelous post and a all round enjoyable blog (I also love the theme/design),
I don’t have time to look over it all at the moment but I
have book-marked it and also added in your RSS feeds, so
when I have time I will be back to read more, Please do keep up the excellent jo.



Add new comment