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 Drupal.org 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: 
Tags: 

Comments

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!

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

Привет всем участникам форума!
Нашел интересную фотоподборку на этом сайте: http://limonos.ru :
скачать гаджеты для window http://limonos.ru/tekhnologii_gadzhety/
<a href=http://limonos.ru/kreativ/>креативные вещи</a> креативные вещи
http://limonos.ru/7952-chto-dumayut-zhiteli-izrailya-o-rossii-i-russkih.... <b> Что думают жители Израиля о России и русских </b>
http://limonos.ru/2667-dzhessika-stem-v-reklame-kocca.html

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.

Cheers

Analytics: Usa Business Current News. remmont.com

Дизайн ванны маленькой ~ Video
<p>Дизайн ванны маленькой Дизайн ванны маленькой Дизайн ванной комнаты 4 кв. м Любой дизайн интерьера должен создаваться с условием максимальной экономии пространства помещения, а поэтому ванная комната площадью 4 квадратных метра не будет исключением. Чтобы воплотить идею в реальность, необходимо использовать отделку комнаты, позволяющую визуально увеличить пространство, а также тщательно выбирать предметы обстановки: они должны <>]</p>
<p>The post <a href="http://design.remmont.com/%d0%b4%d0%b8%d0%b7%d0%b0%d0%b9%d0%bd-%d0%b2%d0...Дизайн ванны маленькой ~ Video</a> appeared first on <a href="http://design.remmont.com">Interior Design</a>.</p>

<a href=http://bank.remmont.com>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
appreciated.

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 .

Интим знакомства Самарасекс чат общение перепискафистинг вагины

https://vk.com/public182669609 - вирт без регистрации
https://vk.com/public182817584 - порно видео со зрелыми женщинами
https://vk.com/public182671074 - интим знакомства москва
https://vk.com/public182818206 - русский домашний фистинг
https://vk.com/public182897565 - русский анальный фистинг
https://vk.com/public182670689 - зрелые мамки знакомства
https://vk.com/public182817680 - сквиртинг онлайн бесплатно
https://vk.com/public182896886 - интим фото зрелых женщин
https://vk.com/public182669781 - гей транс знакомства
https://vk.com/public182934060 - сайт знакомств для сэкса
https://vk.com/public182897394 - порно сексуальные мамки
https://vk.com/public182934045 - взрослые женщины знакомства
https://vk.com/public182897490 - порно русские зрелые свингеры
https://vk.com/public182896971 - порно мамочки больший сиськи
https://vk.com/public182817579 - мастурбация молодых девушек
https://vk.com/public182932939 - бесплатный сайт знакомств без регистрации
https://vk.com/public182897445 - порно видео зрелых смотреть онлайн
https://vk.com/public182669030 - бдсм знакомства бесплатно
https://vk.com/public182857671 - порно видео горловой минет
https://vk.com/public182857460 - знакомства для секса краснодар

<a href=https://vk.com/public182933291>реальные знакомства без регистрации</a>
<a href=https://vk.com/public182857577>сайт знакомства взрослых регистрации бесплатно</a>
<a href=https://vk.com/public182701434>Интим знакомства Челябинск</a>
<a href=https://vk.com/public182897363>русский анальный фистинг</a>
<a href=https://vk.com/public182857818>вирт видеочат</a>
<a href=https://vk.com/public182897240>порно зрелых женщин смотреть онлайн бесплатно</a>
<a href=https://vk.com/public182857945>вирт знакомства</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.

대전출장안마 https://skt10041203.wixsite.com/genesis
대전출장마사지 https://skt10041203.wixsite.com/genesis
대전출장맛사지 https://skt10041203.wixsite.com/genesis
유성출장안마 https://skt10041203.wixsite.com/genesis
유성출장마사지 https://skt10041203.wixsite.com/genesis
유성출장맛사지 https://skt10041203.wixsite.com/genesis
세종출장안마 https://skt10041203.wixsite.com/genesis
세종출장맛사지 https://skt10041203.wixsite.com/genesis
세종출장맛사지 https://skt10041203.wixsite.com/genesis
공주출장안마 https://skt10041203.wixsite.com/genesis
공주출장마사지 https://skt10041203.wixsite.com/genesis
공주출장맛사지 https://skt10041203.wixsite.com/genesis
계룡출장안마 https://skt10041203.wixsite.com/genesis
계룡출장마사지 https://skt10041203.wixsite.com/genesis
계룡출장맛사지 https://skt10041203.wixsite.com/genesis
청주출장안마 https://skt10041203.wixsite.com/genesis
청주출장마사지 https://skt10041203.wixsite.com/genesis
청주출장맛사지 https://skt10041203.wixsite.com/genesis
대전출장마사지
대전출장맛사지
유성출장안마
유성출장마사지
유성출장맛사지
세종출장안마
세종출장맛사지
세종출장맛사지
공주출장안마
공주출장마사지
공주출장맛사지
계룡출장안마
계룡출장마사지
계룡출장맛사지
청주출장안마
청주출장마사지
청주출장맛사지

Add new comment | arxic Drupal

Hello would you mind letting me know which webhost you're utilizing?
I've loaded your blog in 3 different browsers and I must
say this blog loads a lot faster then most. Can you recommend a good
internet hosting provider at a reasonable price? Many thanks,
I appreciate it!

Add new comment | arxic Drupal

Greetings! I've been following your blog for a long time now and finally got the courage to go ahead and give you a shout out from Humble Texas!
Just wanted to say keep up the fantastic job!

Add new comment | arxic Drupal

Thanks for a marvelous posting! I truly enjoyed reading it, you can be a great author.

I will ensure that I bookmark your blog and may come back very soon. I want to encourage
you to ultimately continue your great job, have a nice
weekend!

News: Indiana Business Current News. remmont.com

Which states border kentucky ( Video
<p>Which states border kentucky Which states border kentucky Official State Dogs Encyclopedia of Dog Breeds , by D. Caroline Coile Ph.D. 368 pages. Publisher: Barron’s Educational Series; 2 edition (April 1, 2005) Updated with the latest information on canine breeds recognized by the American Kennel Club, this lavishly illustrated volume is a treasure house of information for dog lovers, owners, breeders, and prospective buyers. It begins with a detailed discussion of breed evolution, focusing on the physical and behavioral traits that distinguish one canine breed from another. The book’s main section profiles more than 150 breeds, arranged in the general ...</p>
<p>The post <a href="http://remmont.com/which-states-border-kentucky-video-2/">Which states border kentucky ( Video</a> appeared first on <a href="http://remmont.com">Finance USA</a>.</p>

<a href=http://laws.remmont.com>Corpus-christi Finance</a>

Details: Tickets News Fresh News. remmont.com

University of washington number Video
<p>University of washington number University of washington number International Student Services Home Updates Annual Vacation Change of Address Change of Funding Change of Level Change of Status Check My Request Drop, Withdrawal, and On-Leave Status Reduced Course Load (RCL) for Specific Academic Reasons Reduced Course Load (RCL) for a Documented Medical Condition Concurrent Enrollment at UW and Another College Express Mailing Options Extending Your I-20 or DS-2019 Graduation: Final Year Checklist Individual Tax Identification Number (ITIN) Information Release Leave of Absence Name Change New Major I-20s Permanent Resident Approval: Notify ISS Regaining F-1 Status Replacing your I-20 or DS-2019 Spouses ...</p>
<p>The post <a href="http://remmont.com/university-of-washington-number-video/">University of washington number Video</a> appeared first on <a href="http://remmont.com">Finance USA</a>.</p>

<a href=http://entertainment.remmont.com>Kitchens News</a>

Add new comment | arxic Drupal

Spot on with this write-up, I seriously think this amazing site needs a lot more attention. I'll probably be returning to read through more, thanks for the info!

News: San-diego Finance Fresh News. remmont.com

Comparer assurance maladie ( Video
<p>Assurance sant: comparateur gratuit de mutuelle sant Comparer assurance maladie Assurance sante : comparez les tarifs et garanties des assurances sante et economisez ! La garantie des meilleurs prix avec le plus large panel du marche Un service 100% gratuit et sans engagement Protection de vos donnees et de votre vie privee Pour mieux choisir votre assurance sante, utilisez notre comparateur d’assurances sante : en quelques clics, obtenez les meilleurs tarifs des assurances ! Qui est assurland.com ? Assurland.com est le site d’assurance le plus frequente en France. Inventeur du concept de comparaison d’assurances sante en ligne, assurland.com interroge en ...</p>
<p>The post <a href="http://remmont.com/comparer-assurance-maladie-video/">Comparer assurance maladie ( Video</a> appeared first on <a href="http://remmont.com">Finance USA</a>.</p>

<a href=http://kitchens.remmont.com>Italy Business</a>

Pages

Add new comment