Closed (duplicate)
Project:
Drush
Version:
7.x-4.5
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2011 at 02:50 UTC
Updated:
23 Nov 2012 at 03:45 UTC
I was easily able to upgrade from stable to dev, which was required for a bug fix back a couple months ago, however I would like to get back onto stable if possible using Drush.
Alternatively, if I must go about this process manually, what "evidence" of core dev will be left dormant in my installation? Are there any files I'll need to rip out? As far as I can tell, moving to core dev makes the site a Git checkout?
Thanks!
Comments
Comment #1
greg.1.anderson commentedYou cannot downgrade Drupal. While it would be possible to use Drush to downgrade the files in your site, there is no way to downgrade the database. When you upgrade, Drupal runs update hooks to adjust your database schema to whatever has changed in the new version, but there is no mechanism to go backwards.
You can upgrade to the next stable release once there is one that is newer than the one you are using. If you know there are no schema changes in the code you are running compared to the code you would like to run, then you can go backwards with
drush dl module --select. You'll have to do core by hand, though. n.b. keep a backup, because if you do anything wrong, you'll get a wsod.Comment #3
carn1x commentedI don't want to downgrade, I want to switch from old dev to latest stable, so that Drupal / Drush only attempts to update when new Stable versions are released, and ignore Dev versions.
Comment #4
greg.1.anderson commentedContinuation at #1802344: Drush up notifies of -dev version update but then installs older stable release.