Drupal upgrade D5 to D6 (w CCK & Views)

wmodes - September 11, 2008 - 19:20

Ever seen footage of the Exxon Valdez dashed upon the shores of Prince William Sound? That's kind of what the wreckage from our experimental upgrade looked like. The seabirds of our data gasping for breath, the diverse marine life of our content types covered with tarry corruption. It was not a pretty sight (or site).

Has anyone done a successful upgrade from D5 to D6 with their data, content types, and views intact? If so, how did you do it and what instructions did you use?

In our case, it was an attempted upgrade from D5.10 to D6.4

We found many instructions, even on drupal.org (here only as a "screencast"), but none provided flawless migration. After the update.php, we had a list of errors that was longer than my arm. And after correcting the errors, neither the views nor the content types worked properly.

Wes

I keep getting fatal errors cck, locations, views

paulwamail - September 20, 2008 - 22:48

I have striped my 5.10 install down to the minimum to not lose my cck data, CCK, Locations, Views, pathauto. I have upgraded these modules to latest stable versions. I keep getting fatal errors during update to 6. I wish I would have written them down. I think one of them referred to location.views.

Hoping for Redemption

joegml - October 5, 2008 - 15:25

Hi Wes,

I'm helping upgrade www.cctv.org from D5 to D6. My Pegevent module that drives production scheduling, airtime display, etc. was fairly easy to upgrade once I reworked a few things. The views kinda came through largely mangled, but I managed to recover and rework them. I think the CCK migration was a lot of hand work. I'm working on trying to get the CCK types from 5 exported to 6 so they'll work in an install file and we can do a general release of our code base. Having some difficulties on this last piece.

I think there were so many changes that the D5 to D6 bump is hard to implement programatically. Hopefully the D6 to D7 transition is easier. If you're philosophically inclined, see http://drupal.org/node/311893 which discusses disparity of versions, etc.

Good luck to us all ;-)

--
Joe Golden
www.triangul.us : People, Ideas, Connections

From what I've heard it can

Jonas_P - November 29, 2009 - 10:40

From what I've heard it can be extremely complicated to upgrade from D5 to D6 (at least our developer claims that). Is that true and what are their and downsides (thinking about security issues) with remaining on D5?

_

WorldFallz - November 29, 2009 - 15:19

Upgrading is definitely more complicated than it should be, but I wouldn't say 'extremely'. And the downside to staying with d5 is that it will be end of life as of the release of d7.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

I loved your description!

kappaluppa - November 28, 2009 - 16:46

What a vision I got from that! And just knowing that I'm not the only one in the same "boat" - pun intended...

I am working on an upgrade with about 30 or so modules and found that I kept getting errors on the update.php and had to enable the modules. Run update.php, get errors, enable a few more modules. Over and over and over. I made sure I had upgraded to the latest D5 versions before I shut everything down and replaced files.

My biggest challenge so far is working with modules that are either no longer supported/used in D6, or that have splintered - multi features from one module are not split into modules of their own. Still working with this one.

Custom modules are a headache, especially if they depend on a contributed module. Be best thing i found was Boombatower's online Deadwood tool for converting D5 modules to D6. You upload a module and it will attempt to make the necessary changes for you.

So far my CCK fields have survived. Views is another story. None of articles or screencasts I found provided sufficient warning about Views. I'm just so glad I did an export of all the views before I started.

One thing I'm also doing its taking a snapshot of the site with the Demo module now and again and also backing up the db so I have a recent working, partially upgraded version. Hopefully I won't have to start at the beginning again if something goes terribly wrong. (Which has already happened a couple of times.) The site I'm working on is not terribly huge, but lots of views and lots of modules make it tedious.

I've just about got the functionality working with Garland. Next step is to see what happens with the modified Zen theme. I made sure I had a good nights rest and have a lot of comfort snack foods for the process. I'm sure this will go on late into the evening, so I have my Stellas chilling too...

Your post was some time ago. I'm interested in finding out how each of the upgrades went for @joegml , @paulwamail, @wmodes

Note: Right after I posted this I came across this article at Aquia: http://acquia.com/documentation/getting-started/d5-migration/upgrade/tes.... Its for Acquia Drupal, but helpful on my non-Acquia site as well.

 
 

Drupal is a registered trademark of Dries Buytaert.