Hi

I upgraded one of my sites to Drupal 6, but now I need a module that is only available for Drupal 5. Is there an easy way to downgrade a site to a previous version? I'd rather not use my 5.x backup because there have been a lot of changes in the site content.

Thanks

Comments

SirKhan’s picture

AFAIK there's no pre-built solution for that :-( You should wait until the module comes out for D6 or hire someone to do the port for you. Unfortunately this is exactly the case with one of the modules I'm looking forward to use in D6 is not available yet. I have contacted the author still waiting for his answer. This is my great plan :-D

somerandomnerd’s picture

Same situation here. I need to show events, but the events module isn't working. Calendar module relies on CCK, which is waiting for the page module to upgrade to D6...

loko’s picture

I have the same situation.
I need Panels, Gmap and more modules. Upgrade to 6 version is wrong for me :(

techsuper’s picture

It's VERY disappointing that there's a release of a newer version of Drupal, and common modules that worked for 5 don't work in 6! Administrators SHOULD have a disclaimer by their "hype" that 6 is the most preferred download, stating that most modules are in dev.

vm’s picture

Responsible users/admins/developers would check the status of modules available before they choose which version of core to deploy.

Ultimatley, core and contrib are seperate animals and always have been. There is some lag time with contrib modules cathing up to core. Beyond that there are far more "users" of modules then there are maintainers and people willing to help port & test which is common in the realm of Open Source.

People have two choices when it comes to a situation like this, help the devs/maintainers/community or complain. Obviously we can all see what you've chosen to do. ; )

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Gerard McGarry’s picture

I don't think that's a fair comment to make about helping or complaining - I'd love to have the PHP chops to port some of these modules, but I don't! You've got to face facts here, some of us are simple consumers. We got taken in by the hype surrounding Drupal 6 and upgraded, only to discover that some essential modules aren't available.

I'm looking for functionality to downgrade to Drupal 5.x as well - the site I was planning to build would be stripped of essential features in D6, so I need to backtrack or wait an indeterminate amount of time until those modules get compatible! And I don't have the resources (time OR money) to invest in making these modules compatible.

vm’s picture

What exactly would you be stripped of ? by using D5 ?

2 years 12 weeks as a community member (at time of this comment) and you are surprised at the lag time between contrib and core ?

If every dev had a nickle for each user who claims not to have the time or money to help ........ There would be a lot o nickels in the coffers. Noone said you needed to be a code monkey or even needed the ability to code a single string.

Dev's need testers under all kinds of circumstances and all kinds of environments. They need willing testers who will report bugs under as many environments and circumstances as possible. Testing of patches and -dev versions goes along way to help the maintainers out and get ports out sooner rather then later.

Fact is there are a lot more of those who you call consumers, then there are people willing to do any lifting at all, even if it isn't heavy lifting. This helps create a longer lag time when a dev can't get anyone to test patches and say, hey this works or hey, this almost works but this is what is happening. Sometimes when you've chosen to put yourself in a position where you take (consume) more then you give, it's a benefit as well as a virtue to show patience and wait until you can take (consume) even more from those doing the heavy lifting.

Either way, Drupal does not support a downgrade path, If you started development on Drupal 6 and have now decided you can't/won't/don't have time to help or wait, then your only option is to remove D6 and install D5 and start from scratch.

With that you've gained a greater insight to the open source world where you have now learned that "hype" or no hype, taking the time to fully understand your project and researching what you will need will save you time in the long run.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Gerard McGarry’s picture

Well, my friend, I may not be able to code my way out of a PHP paper bag, but I have an XAMPP setup that comes in handy for testing my drupal installations. Just drop me a line and let me know what's the best way to get started! I'd love to help out :)

Might be able to do a bit with documentation as well, if that's helpful?

I downgraded in the end, by the way. Too many important modules not ported to D6 yet.

cwinkler’s picture

I used Fantastico, and it installs the current version of D6.

In order to do this, should I use Fantastico to uninstall, then go and follow the regular install instructions?

Will anything from D6 still be hanging around, or can I follow the recipe to install 5?

I need Adwords modules and unless someone pays them, it ain't getting ported to 6.

Does anyone want to pool the money and ask them how much they want? Otherwise I have to downgrade.

davidlark’s picture

I've been waiting for 6.x.1's before starting to get past core Drupal. Now I see how becoming a Guinea Pig can speed development. So I'm going to start installing more stuff. No one looks at my site yet anyway, so I can put up with a couple glitches.

As for givers and consumers, taking more than giving has been the downfall of many "cooperative" ventures. I see the answer to the free rider dilemma is that if those who contribute see more benefits to their participation than their costs, they will continue (benefits and costs broadly defined). People may code FOSS because they need a program, because they get a warm fuzzy feeling from helping, to be part of something kewl, or because they think they can squeeze a buck out of it somewhere. Does anyone have other reasons? So far, it's working.

nvoyageur’s picture

As always, when upgrading modules and especially core, you should backup your database and your files. On my larger more important sites I make snapshots of my drupal install.

I create folder called 20080721, then I tar.gz up the files in my drupal directory and put that tar.gz file in there. Then I do a database dump and tar.gz that sql file and put that in there. That way I can go back in time with both the files and the db dump.

As of now there is no way to revert a database schema change except by hand. That is why a snapshot of the db is so handy when upgrading. If something is broken (and something will break if you using a bunch of modules) then have a backup to rely.

Shane
BWCA