how to upgrade drupal 4 version to drupal 7

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
hariharasuthan_mk's picture

hi drupalers,
i need the help from u , i am in need to upgrade a site from drupal version 4 to latest drupal 7 version , how to do that , any idea if you have share with me, If there any other way through patches / modules

wishes in advance

Comments

When you upgrade across

idcm's picture

When you upgrade across versions, you have to step through each version. D4 to D5 to D6 to D7. I can get you part of the way. I made the trip from D4 to D6 and documented my experiences and the process in a series of blogs at http://idcminnovations.com/article/upgrading-drupal-468-610-made-easy. I am about to traverse the upgrade process from D6 to D7 and will blog that as well but you will probably be ahead of me.

isn't there 4.7 as additional

bara.munchies's picture

isn't there 4.7 as additional step along the way?
depending on the size of the page i would consider just doing a clean install of D7.

Hello, you have to pass

asifnoor's picture

Hello, you have to pass through 3-4 major upgrades 4.7, 5.x, 6.x and then to 7.x and each major upgrade has many changes to core of drupal. If your site is not really a highly customized website, i would suggest you think of doing a more cleaner installation in D7 and plan the content migration. This effort will be easier.

Post for Drupal 5 to 7

tommyent's picture

Quicksketch wrote up something for going straight from 5 to 7. I personally went from 5 to 7 but just went the route of doing a clean 7 install and moving the content. Definitely the easiest of my attempts.
http://quicksketch.org/node/5739

Number of Nodes

wfx's picture

How many nodes do you have on your site? If the number of pages is pretty low (under 300) it may be easier to start with a clean Drupal 7 install and import your content.

I recently completed an upgrade from Drupal 5 to Drupal 6 just going the normal upgrade path, no migration modules or custom code. Will upgrade to Drupal 7 once some modules we use get ported but I'm really considering migrating my content via a script into a new D7 install next time. Every time you upgrade a version you get legacy database tables and there are chances for headaches with missing or incompatible modules.

You have 2 options, (1)

Ujval Shah's picture

You have 2 options,

(1) Upgrade : 4 > 4.7 > 5.x > 6.x > 7.x

For Upgrade you won't required to upgrade only core drupal, you need to upgrade contributed, custom Modules and Themes Used in your site. Upgrade of the site will be lengthy process and you need to test the site after every version upgrade.

(2) Start with Fresh Install and develop new site.

You need to check how much customization in the code + Nodes + Comments + Users are available in existing site. Based on this you go with one of the above option. If existing site have no major functionality and features. I would recommend that you go with fresh installation and create new site. In this case you just need to import and export the nodes, comments and users, which will be achieved using quick PHP scripts.

Thanks,
Ujval Shah

Ujval Shah
Linked-in : http://in.linkedin.com/in/ujvalshah
Skype : ujval99
Gtalk : ujval99

i'd like to install fresh

Travels To Vietnam's picture

i'd like to install fresh site :)

thank u all

hariharasuthan_mk's picture

thank u , i will follow your steps , will get back u soon , if it failure/ succeess

I'd suggest a fresh install

gaslamp's picture

I'd suggest a fresh install and migrating your content through something like Feeds

script to move content from 4 to 7

suresh.kamrushi's picture

link give the php script which help you to move content and other stuff from drupal 4 to 7. It may help.

http://goo.gl/GPmG9F

India

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: