Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
when trying to upgrade from 1.12 to 1.13 it reads:
The commerce_kickstart directory could not be found within the modules directory at /home/appa/sites/ck1/profiles/commerce_kickstart, perhaps the project is enabled but has been deleted from disk.
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedI don't think drush up supports distributions (+ Kickstart v1 recommends moving modules from profiles/ to sites/all, which probably makes it even worse).
Let's ask them to confirm.
Comment #2
bojanz CreditAttribution: bojanz commentedComment #3
greg.1.anderson CreditAttribution: greg.1.anderson commentedThis is a known limitation of Drush, although I can't find a duplicate issue. #1325818: Generate an upgrade makefile from an existing makefile? is an alternative. #1431136: Updating OpenPublish 3-alpha3 site with drush 4.5 destroy data in profiles/openpublish directory. is related.
I decided to label this a 'bug' instead of a 'feature request', since Drush should at least reasonably detect when profiles are in use, and inform the user that pm-update won't work.
Comment #4
greg.1.anderson CreditAttribution: greg.1.anderson commentedUpdated the FAQ to point here.
Comment #5
perusio CreditAttribution: perusio commentedWell in an old OA (D6) I just upgraded to the most recent one without any issue. It seems to be a regression then, at first sight from D6 to D7.
Comment #6
greg.1.anderson CreditAttribution: greg.1.anderson commentedI guess what we need, then, is for someone to take the time to test pm-update with a few different distributions on D6 and D7, and isolate what is working and what is not.
Comment #7
Gerben Zaagsma CreditAttribution: Gerben Zaagsma commentedThere is a discussion on this in the Drupal Commins issue queue where I also posted some information on my experience per ezra-g's request:
drush update error commons directory could not be found
Gerben
Comment #8
greg.1.anderson CreditAttribution: greg.1.anderson commentedThis issue was marked
closed (won't fix)
because Drush has moved to Github.If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate)
.Please ask support questions on Drupal Answers.
Comment #9
Honza Pobořil CreditAttribution: Honza Pobořil commentedIssue on Github: https://github.com/drush-ops/drush/issues/99