I get this error when updating through drush:

The commons directory could not be found within the modules directory at /data/drupal/community/profiles/commons, perhaps the project is enabled but has been deleted from disk.

This seems to happen with distros sometimes, any ideas on how to solve it?

Comments

blacklabel_tom’s picture

Hi,

Can you post up your Drush command and can you double check the directory permissions please (I feel bad for asking, but it could be something simple!)

Cheers

Tom

Gerben Zaagsma’s picture

Hi, thanks and no worries about asking. Permissions are 755. The error also happens on my MAMP dev folder with similar permissions.

Not sure what you mean by post up the command?

Best,
Gerben

blacklabel_tom’s picture

Sorry I meant to ask if you are running something like 'drush up commons' or anything different

Gerben Zaagsma’s picture

ah i see, I use drush up (which gives me updates for modules in the commons as well as sites folder).

blacklabel_tom’s picture

Could you try 'drush up -v' and see what the output says

ezra-g’s picture

Status: Active » Postponed (maintainer needs more info)

Marking as postponed pending #5, however I suspect this may be related to this code in commons.profile:

/**
 * Implements hook_update_projects_alter().
 */
function commons_update_projects_alter(&$projects) {
  // Enable update status for the Commons profile.
  $modules = system_rebuild_module_data();
  // The module object is shared in the request, so we need to clone it here.
  $commons = clone $modules['commons'];
  $commons->info['hidden'] = FALSE;
  _update_process_info_list($projects, array('commons' => $commons), 'module', TRUE);
}

Gerben Zaagsma’s picture

This is the output of drush up -v:

[drupal@hi14hingtest community]$ drush up -v
Initialized Drupal 7.19 root directory at /data/drupal/community                                                                                                                                [notice]
Initialized Drupal site default at sites/default                                                                                                                                                [notice]
Loading release_info engine.                                                                                                                                                                    [notice]
Loading version_control engine.                                                                                                                                                                 [notice]
Loading package_handler engine.                                                                                                                                                                 [notice]
Executing: wget --version
/usr/bin/php /data/drupal/drush/drush.php --php=/usr/bin/php  --backend=2 --verbose --root=/data/drupal/community --uri=http://default  batch-process 130 130 2>&1                              [notice]
Initialized Drupal 7.19 root directory at /data/drupal/community                                                                                                                                [notice]
Initialized Drupal site default at sites/default                                                                                                                                                [notice]
Checking available update data ...                                                                                                                                                           [ok]
Checked available update data for Address Field.                                                                                                                                             [ok]
Checked available update data for Administration Development tools.                                                                                                                          [ok]
Checked available update data for Icon fonts.                                                                                                                                                [ok]
Checked available update data for Advanced help.                                                                                                                                             [ok]
Checked available update data for Advanced Queues.                                                                                                                                           [ok]
Checked available update data for Apache Solr framework.                                                                                                                                     [ok]
Checked available update data for Apache Solr Organic Groups.                                                                                                                                [ok]
Checked available update data for Apache Solr Term Proximity.                                                                                                                                [ok]
Checked available update data for Backup and Migrate.                                                                                                                                        [ok]
Checked available update data for Better Exposed Filters.                                                                                                                                    [ok]
Checked available update data for Biblio.                                                                                                                                                    [ok]
Checked available update data for Block.                                                                                                                                                     [ok]
Checked available update data for Calendar.                                                                                                                                                  [ok]
Checked available update data for CKEditor.                                                                                                                                                  [ok]
Checked available update data for Commons Activity Page.                                                                                                                                     [ok]
Checked available update data for Commons Body Field.                                                                                                                                        [ok]
Checked available update data for Commons Tabbed Browsing Widget.                                                                                                                            [ok]
Checked available update data for Commons Content moderation.                                                                                                                                [ok]
Checked available update data for Commons Events.                                                                                                                                            [ok]
Checked available update data for Commons Featured Content.                                                                                                                                  [ok]
Checked available update data for Commons Follow.                                                                                                                                            [ok]
Checked available update data for Commons Groups.                                                                                                                                            [ok]
Checked available update data for Commons Like.                                                                                                                                              [ok]
Checked available update data for Commons Location.                                                                                                                                          [ok]
Checked available update data for Commons Miscellaneous Configuration.                                                                                                                       [ok]
Checked available update data for Commons Notify.                                                                                                                                            [ok]
Checked available update data for Commons Pages.                                                                                                                                             [ok]
Checked available update data for Commons Polls.                                                                                                                                             [ok]
Checked available update data for Commons Posts.                                                                                                                                             [ok]
Checked available update data for Commons Profile Base.                                                                                                                                      [ok]
Checked available update data for Commons Profile (Social fields).                                                                                                                           [ok]
Checked available update data for Commons Q&A.                                                                                                                                           [ok]
Checked available update data for Commons Radioactivity.                                                                                                                                     [ok]
Checked available update data for Commons Search.                                                                                                                                            [ok]
Checked available update data for Commons Site Homepage.                                                                                                                                     [ok]
Checked available update data for Commons Topics.                                                                                                                                            [ok]
Checked available update data for Commons User Profile Pages.                                                                                                                                [ok]
Checked available update data for Commons Utility links block.                                                                                                                               [ok]
Checked available update data for Commons Wikis.                                                                                                                                             [ok]
Checked available update data for Commons WYSIWYG.                                                                                                                                           [ok]
Checked available update data for Connector.                                                                                                                                                 [ok]
Checked available update data for Chaos tools.                                                                                                                                               [ok]
Checked available update data for Current Search Blocks.                                                                                                                                     [ok]
Checked available update data for Custom Search.                                                                                                                                             [ok]
Checked available update data for Date.                                                                                                                                                      [ok]
Checked available update data for Date Facets.                                                                                                                                               [ok]
Checked available update data for Date iCal.                                                                                                                                                 [ok]
Checked available update data for DB Maintenance.                                                                                                                                            [ok]
Checked available update data for Devel.                                                                                                                                                     [ok]
Checked available update data for Diff.                                                                                                                                                      [ok]
Checked available update data for Droogle.                                                                                                                                                   [ok]
Checked available update data for Edit profile.                                                                                                                                              [ok]
Checked available update data for Entity API.                                                                                                                                                [ok]
Checked available update data for Entity cache.                                                                                                                                              [ok]
Checked available update data for Entity Reference.                                                                                                                                          [ok]
Checked available update data for Entity reference prepopulate.                                                                                                                              [ok]
Checked available update data for Features.                                                                                                                                                  [ok]
Checked available update data for Feeds.                                                                                                                                                     [ok]
Checked available update data for Filter — "true WYSIWYG".                                                                                                                       [ok]
Checked available update data for Flag.                                                                                                                                                      [ok]
Checked available update data for Flag abuse.                                                                                                                                                [ok]
Checked available update data for Follow.                                                                                                                                                    [ok]
Checked available update data for Footer Message.                                                                                                                                            [ok]
Checked available update data for Http Client.                                                                                                                                               [ok]
Checked available update data for Job Scheduler.                                                                                                                                             [ok]
Checked available update data for jQuery Update.                                                                                                                                             [ok]
Checked available update data for Libraries.                                                                                                                                                 [ok]
Checked available update data for Link.                                                                                                                                                      [ok]
Checked available update data for LinkedIn.                                                                                                                                                  [ok]
Checked available update data for Menu attributes.                                                                                                                                           [ok]
Checked available update data for Message.                                                                                                                                                   [ok]
Checked available update data for Message notify.                                                                                                                                            [ok]
Checked available update data for Message subscribe.                                                                                                                                         [ok]
Checked available update data for Meta tags.                                                                                                                                                 [ok]
Checked available update data for Module filter.                                                                                                                                             [ok]
Checked available update data for OAuth2.                                                                                                                                                    [ok]
Checked available update data for OAuth.                                                                                                                                                     [ok]
Checked available update data for Organic groups.                                                                                                                                            [ok]
Checked available update data for Panelizer.                                                                                                                                                 [ok]
Checked available update data for Panels.                                                                                                                                                    [ok]
Checked available update data for Pathauto.                                                                                                                                                  [ok]
Checked available update data for Page manager existing pages.                                                                                                                               [ok]
Checked available update data for Quicktabs.                                                                                                                                                 [ok]
Checked available update data for Redirect 403 to User Login.                                                                                                                                [ok]
Checked available update data for Radioactivity.                                                                                                                                             [ok]
Checked available update data for Rate.                                                                                                                                                      [ok]
Checked available update data for Real name.                                                                                                                                                 [ok]
Checked available update data for Redirect.                                                                                                                                                  [ok]
Checked available update data for Registration.                                                                                                                                              [ok]
Checked available update data for Rich Snippets.                                                                                                                                             [ok]
Checked available update data for Rules.                                                                                                                                                     [ok]
Checked available update data for Schema.org.                                                                                                                                                [ok]
Checked available update data for Faceted Navigation for Search.                                                                                                                             [ok]
Checked available update data for ShareThis.                                                                                                                                                 [ok]
Checked available update data for Social media.                                                                                                                                              [ok]
Checked available update data for Strongarm.                                                                                                                                                 [ok]
Checked available update data for Superfish.                                                                                                                                                 [ok]
Checked available update data for Taxonomy menu.                                                                                                                                             [ok]
Checked available update data for Timeago.                                                                                                                                                   [ok]
Checked available update data for Token.                                                                                                                                                     [ok]
Checked available update data for Views.                                                                                                                                                     [ok]
Checked available update data for Views Bulk Operations.                                                                                                                                     [ok]
Checked available update data for Views Field View.                                                                                                                                          [ok]
Checked available update data for Views Litepager.                                                                                                                                           [ok]
Checked available update data for Views Load More.                                                                                                                                           [ok]
Checked available update data for Views Nivo Slider.                                                                                                                                         [ok]
Checked available update data for Views PHP.                                                                                                                                                 [ok]
Checked available update data for Views Slideshow.                                                                                                                                           [ok]
Checked available update data for Voting API.                                                                                                                                                [ok]
Checked available update data for Widgets.                                                                                                                                                   [ok]
Checked available update data for AT Core.                                                                                                                                                   [ok]
Checked available update data for Commons Origins.                                                                                                                                           [ok]
Checked available update data for Commons.                                                                                                                                                   [ok]
Checked available update data for 113 projects.                                                                                                                                              [status]
Command dispatch complete                                                                                                                                                                       [notice]
Undefined index: path drupal.inc:120                                                                                                                                                            [notice]
Update information last refreshed: Mon, 11/02/2013 - 4:52pm

Update status information on all installed and enabled Drupal projects:
 Name                                                        Installed version      Proposed version  Status                                             
 Address Field (addressfield)                                7.x-1.0-beta3          7.x-1.0-beta3     Up to date                                         
 Administration menu (admin_menu)                            7.x-3.0-rc4            7.x-3.0-rc4       Up to date                                         
 Icon fonts (admin_icons)                                    7.x-1.x-dev            7.x-1.x-dev       Up to date                                         
 Advanced help (advanced_help)                               7.x-1.0                7.x-1.0           Up to date                                         
 Advanced Queues (advancedqueue)                             7.x-1.0-alpha2         7.x-1.0-alpha2    Up to date                                         
 Apache Solr framework (apachesolr)                          7.x-1.1                7.x-1.1           Up to date                                         
 Apache Solr Organic Groups (apachesolr_og)                  7.x-1.0+2-dev          7.x-1.0           Up to date                                         
 Apache Solr Term Proximity (apachesolr_proximity)           7.x-1.0-rc1            7.x-1.0-rc1       Up to date                                         
 Backup and Migrate (backup_migrate)                         7.x-2.4                7.x-2.4           Up to date                                         
 Better Exposed Filters (better_exposed_filters)             7.x-3.0-beta3+18-dev   7.x-3.0-beta3     Update available                                   
 Biblio (biblio)                                             7.x-1.0-rc5            7.x-1.0-rc5       Up to date                                         
 Drupal                                                      7.19                   7.19              Up to date                                         
 Calendar (calendar)                                         7.x-3.4                7.x-3.4           Up to date                                         
 CKEditor (ckeditor)                                         7.x-1.12               7.x-1.12          Up to date                                         
 Commons Activity Streams (commons_activity_streams)         7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Body Field (commons_body)                           7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Tabbed Browsing Widget (commons_bw)                 7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Content moderation (commons_content_moderation)     7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Events (commons_events)                             7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Featured Content (commons_featured)                 7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Follow (commons_follow)                             7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Groups (commons_groups)                             7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Like (commons_like)                                 7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Location (commons_location)                         7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Miscellaneous Configuration (commons_misc)          7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Notify (commons_notify)                             7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Pages (commons_pages)                               7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Polls (commons_polls)                               7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Posts (commons_posts)                               7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Profile Base (commons_profile_base)                 7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Profile (Social fields) (commons_profile_social)    7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Q&A (commons_q_a)                                   7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Radioactivity (commons_radioactivity)               7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Search (commons_search)                             7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Site Homepage (commons_site_homepage)               7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Topics (commons_topics)                             7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons User Profile Pages (commons_user_profile_pages)     7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Utility links block (commons_utility_links)         7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons Wikis (commons_wikis)                               7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Commons WYSIWYG (commons_wysiwyg)                           7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Connector (connector)                                       7.x-1.0-beta1+1-dev    7.x-1.0-beta1     Up to date                                         
 Chaos tools (ctools)                                        7.x-1.2                7.x-1.2           Up to date                                         
 Facet API (facetapi)                                        7.x-1.2                7.x-1.2           Up to date                                         
 Custom Search (custom_search)                               7.x-1.11               7.x-1.11          Up to date                                         
 Date (date)                                                 7.x-2.6                7.x-2.6           Up to date                                         
 Date Facets (date_facets)                                   7.x-1.0-beta1          7.x-1.0-beta1     Up to date                                         
 Date iCal (date_ical)                                       7.x-2.4                7.x-2.4           Up to date                                         
 DB Maintenance (db_maintenance)                             7.x-1.1                7.x-1.1           Up to date                                         
 Devel (devel)                                               7.x-1.3                7.x-1.3           Up to date                                         
 Diff (diff)                                                 7.x-3.2                7.x-3.2           Up to date                                         
 Droogle                                                     7.x-2.0-beta7          7.x-2.0-beta9     Update available                                   
 Edit profile (edit_profile)                                 7.x-1.0-beta2          7.x-1.0-beta2     Up to date                                         
 Entity API (entity)                                         7.x-1.0                7.x-1.0           Up to date                                         
 Entity cache (entitycache)                                  7.x-1.1                7.x-1.1           Up to date                                         
 Entity Reference (entityreference)                          7.x-1.0                7.x-1.0           Up to date                                         
 Entity reference prepopulate (entityreference_prepopulate)  7.x-1.2                7.x-1.2           Up to date                                         
 Features (features)                                         7.x-2.0-beta1+5-dev    7.x-2.0-beta1     Up to date                                         
 Feeds (feeds)                                               7.x-2.0-alpha7+29-dev  7.x-2.0-alpha7    Up to date                                         
 Aloha Editor (aloha)                                        7.x-2.0-alpha1+32-dev  7.x-2.0-alpha1    Up to date                                         
 Flag (flag)                                                 7.x-2.0                7.x-2.0           Up to date                                         
 Flag abuse (flag_abuse)                                     7.x-2.0-alpha1+0-dev   7.x-2.0-alpha1    Up to date                                         
 Follow (follow)                                             7.x-2.x-dev            7.x-2.x-dev       Up to date                                         
 Footer Message (footer_message)                             7.x-1.1                7.x-1.1           Up to date                                         
 Http Client (http_client)                                   7.x-2.4+0-dev          7.x-2.4           Up to date                                         
 Job Scheduler (job_scheduler)                               7.x-2.0-alpha3         7.x-2.0-alpha3    Up to date                                         
 jQuery Update (jquery_update)                               7.x-2.3-alpha1+0-dev   7.x-2.3           Update available                                   
 Libraries (libraries)                                       7.x-2.0                7.x-2.0           Up to date                                         
 Link (link)                                                 7.x-1.0                7.x-1.1           Update available                                   
 LinkedIn (linkedin)                                         7.x-1.x-dev            7.x-1.x-dev       Up to date                                         
 Menu attributes (menu_attributes)                           7.x-1.0-rc2            7.x-1.0-rc2       Up to date                                         
 Message (message)                                           7.x-1.7                7.x-1.7           Up to date                                         
 Message notify (message_notify)                             7.x-2.3                7.x-2.3           Up to date                                         
 Message subscribe (message_subscribe)                       7.x-1.0-alpha3         7.x-1.0-alpha3    Up to date                                         
 Meta tags (metatag)                                         7.x-1.0-beta4          7.x-1.0-beta4     Up to date                                         
 Module filter (module_filter)                               7.x-1.7                7.x-1.7           Up to date                                         
 OAuth Connector (oauthconnector)                            7.x-1.0-beta1+6-dev    7.x-1.0-beta1     Up to date                                         
 oauth                                                       7.x-3.1                7.x-3.1           Up to date                                         
 Organic groups (og)                                         7.x-2.0-rc3            7.x-2.0-rc4       Update available                                   
 Panelizer (panelizer)                                       7.x-3.0                7.x-3.0           Up to date                                         
 Panels (panels)                                             7.x-3.3                7.x-3.3           Up to date                                         
 Pathauto (pathauto)                                         7.x-1.2                7.x-1.2           Up to date                                         
 Page manager existing pages (pm_existing_pages)             7.x-1.4                7.x-1.4           Up to date                                         
 Quicktabs (quicktabs)                                       7.x-3.4+2-dev          7.x-3.4           Up to date                                         
 Redirect 403 to User Login (r4032login)                     7.x-1.5                7.x-1.5           Up to date                                         
 Radioactivity (radioactivity)                               7.x-2.8                7.x-2.8           Up to date                                         
 Rate (rate)                                                 7.x-1.6                7.x-1.6           Up to date                                         
 Real name (realname)                                        7.x-1.0                7.x-1.0           Up to date                                         
 Redirect (redirect)                                         7.x-1.0-rc1            7.x-1.0-rc1       Up to date                                         
 Registration (registration)                                 7.x-1.0                7.x-1.0           Up to date                                         
 Rich Snippets (rich_snippets)                               7.x-1.0-beta2          7.x-1.0-beta2     Up to date                                         
 Rules (rules)                                               7.x-2.2                7.x-2.2           Up to date                                         
 Schema.org (schemaorg)                                      7.x-1.0-beta3          7.x-1.0-beta3     Up to date                                         
 Faceted Navigation for Search (search_facetapi)             7.x-1.0-beta2          7.x-1.0-beta2     Up to date                                         
 ShareThis (sharethis)                                       7.x-2.5                7.x-2.5           Up to date                                         
 Social media (socialmedia)                                  7.x-1.0-beta13         7.x-1.0-beta13    Up to date                                         
 Strongarm (strongarm)                                       7.x-2.0+2-dev          7.x-2.0           Up to date                                         
 Superfish (superfish)                                       7.x-1.8                7.x-1.8           Up to date                                         
 Taxonomy menu (taxonomy_menu)                               7.x-1.4                7.x-1.4           Up to date                                         
 Timeago (timeago)                                           7.x-2.1+6-dev          7.x-2.1           Up to date                                         
 Token (token)                                               7.x-1.4                7.x-1.4           Up to date                                         
 Views (views)                                               7.x-3.5                7.x-3.5           Up to date                                         
 Views Bulk Operations (views_bulk_operations)               7.x-3.1                7.x-3.1           Up to date                                         
 Views Field View (views_field_view)                         7.x-1.0                7.x-1.0           Up to date                                         
 Views Litepager (views_litepager)                           7.x-3.0                7.x-3.0           Up to date                                         
 Views Load More (views_load_more)                           7.x-1.1                7.x-1.1           Up to date                                         
 Views Nivo Slider (views_nivo_slider)                       7.x-3.x-dev            7.x-3.x-dev       Up to date                                         
 Views PHP (views_php)                                       7.x-1.x-dev            7.x-1.x-dev       Up to date                                         
 Views Slideshow (views_slideshow)                           7.x-3.0                7.x-3.0           Up to date                                         
 Voting API (votingapi)                                      7.x-2.10               7.x-2.10          Up to date                                         
 Widgets (widgets)                                           7.x-1.0-rc1            7.x-1.0-rc1       Up to date                                         
 AT Core (adaptivetheme)                                     7.x-3.1                7.x-3.1           Up to date                                         
 Commons Origins (commons_origins)                           7.x-3.x-dev            7.x-3.x-dev       Update available                                   
 Commons (commons)                                           7.x-3.0-beta1+16-dev   7.x-3.0-beta2     Update available                                   



Code updates will be made to the following projects: Better Exposed Filters [better_exposed_filters-7.x-3.0-beta3], Droogle [Droogle-7.x-2.0-beta9], jQuery Update [jquery_update-7.x-2.3], Link [link-7.x-1.1], Organic groups [og-7.x-2.0-rc4], Commons Origins [commons_origins-7.x-3.x-dev], Drupal Commons [commons-7.x-3.0-beta2]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Starting to update Better Exposed Filters code at sites/all/modules/better_exposed_filters...                                                                                                   [notice]
Executing: svn info /data/drupal/community/sites/all/modules/better_exposed_filters
Executing: bzr root /data/drupal/community/sites/all/modules/better_exposed_filters
Executing: which wget
Executing: wget -q --timeout=30 -O /tmp/download_file31myQ0 http://ftp.drupal.org/files/projects/better_exposed_filters-7.x-3.0-beta3.tar.gz
Downloading better_exposed_filters-7.x-3.0-beta3.tar.gz was successful.                                                                                                                         [notice]
Md5 checksum of better_exposed_filters-7.x-3.0-beta3.tar.gz verified.                                                                                                                           [notice]
Mime type for /data/drupal/community/sites/all/modules/better_exposed_filters-7.x-3.0-beta3.tar.gz is application/x-gzip                                                                        [notice]
Executing: tar -C /data/drupal/community/sites/all/modules -xzf better_exposed_filters-7.x-3.0-beta3.tar.gz
Executing: tar -tzf better_exposed_filters-7.x-3.0-beta3.tar.gz
Project better_exposed_filters was updated successfully. Installed version is now 7.x-3.0-beta3.
Backups were saved into the directory /data/drupal/drush-backups/drupal/20130212115406/modules/better_exposed_filters.                                                                       [ok]
Starting to update Droogle code at sites/all/modules/Droogle...                                                                                                                                 [notice]
Executing: svn info /data/drupal/community/sites/all/modules/Droogle
Executing: bzr root /data/drupal/community/sites/all/modules/Droogle
Executing: wget -q --timeout=30 -O /tmp/download_fileESui0H http://ftp.drupal.org/files/projects/Droogle-7.x-2.0-beta9.tar.gz
Downloading Droogle-7.x-2.0-beta9.tar.gz was successful.                                                                                                                                        [notice]
Md5 checksum of Droogle-7.x-2.0-beta9.tar.gz verified.                                                                                                                                          [notice]
Mime type for /data/drupal/community/sites/all/modules/Droogle-7.x-2.0-beta9.tar.gz is application/x-gzip                                                                                       [notice]
Executing: tar -C /data/drupal/community/sites/all/modules -xzf Droogle-7.x-2.0-beta9.tar.gz
Executing: tar -tzf Droogle-7.x-2.0-beta9.tar.gz
Project Droogle was updated successfully. Installed version is now 7.x-2.0-beta9.
Backups were saved into the directory /data/drupal/drush-backups/drupal/20130212115406/modules/Droogle.                                                                                      [ok]
Starting to update jQuery Update code at profiles/commons/modules/contrib/jquery_update...                                                                                                      [notice]
Executing: svn info /data/drupal/community/profiles/commons/modules/contrib/jquery_update
Executing: bzr root /data/drupal/community/profiles/commons/modules/contrib/jquery_update
Executing: wget -q --timeout=30 -O /tmp/download_filern2Wos http://ftp.drupal.org/files/projects/jquery_update-7.x-2.3.tar.gz
Downloading jquery_update-7.x-2.3.tar.gz was successful.                                                                                                                                        [notice]
Md5 checksum of jquery_update-7.x-2.3.tar.gz verified.                                                                                                                                          [notice]
Mime type for /data/drupal/community/profiles/commons/modules/contrib/jquery_update-7.x-2.3.tar.gz is application/x-gzip                                                                        [notice]
Executing: tar -C /data/drupal/community/profiles/commons/modules/contrib -xzf jquery_update-7.x-2.3.tar.gz
Executing: tar -tzf jquery_update-7.x-2.3.tar.gz
Project jquery_update was updated successfully. Installed version is now 7.x-2.3.
Backups were saved into the directory /data/drupal/drush-backups/drupal/20130212115406/modules/jquery_update.                                                                                [ok]
Starting to update Link code at profiles/commons/modules/contrib/link...                                                                                                                        [notice]
Executing: svn info /data/drupal/community/profiles/commons/modules/contrib/link
Executing: bzr root /data/drupal/community/profiles/commons/modules/contrib/link
Executing: wget -q --timeout=30 -O /tmp/download_filea2ZB9i http://ftp.drupal.org/files/projects/link-7.x-1.1.tar.gz
Downloading link-7.x-1.1.tar.gz was successful.                                                                                                                                                 [notice]
Md5 checksum of link-7.x-1.1.tar.gz verified.                                                                                                                                                   [notice]
Mime type for /data/drupal/community/profiles/commons/modules/contrib/link-7.x-1.1.tar.gz is application/x-gzip                                                                                 [notice]
Executing: tar -C /data/drupal/community/profiles/commons/modules/contrib -xzf link-7.x-1.1.tar.gz
Executing: tar -tzf link-7.x-1.1.tar.gz
Project link was updated successfully. Installed version is now 7.x-1.1.
Backups were saved into the directory /data/drupal/drush-backups/drupal/20130212115406/modules/link.                                                                                         [ok]
Starting to update Organic groups code at profiles/commons/modules/contrib/og...                                                                                                                [notice]
Executing: svn info /data/drupal/community/profiles/commons/modules/contrib/og
Executing: bzr root /data/drupal/community/profiles/commons/modules/contrib/og
Executing: wget -q --timeout=30 -O /tmp/download_filejOoE6c http://ftp.drupal.org/files/projects/og-7.x-2.0-rc4.tar.gz
Downloading og-7.x-2.0-rc4.tar.gz was successful.                                                                                                                                               [notice]
Md5 checksum of og-7.x-2.0-rc4.tar.gz verified.                                                                                                                                                 [notice]
Mime type for /data/drupal/community/profiles/commons/modules/contrib/og-7.x-2.0-rc4.tar.gz is application/x-gzip                                                                               [notice]
Executing: tar -C /data/drupal/community/profiles/commons/modules/contrib -xzf og-7.x-2.0-rc4.tar.gz
Executing: tar -tzf og-7.x-2.0-rc4.tar.gz
Project og was updated successfully. Installed version is now 7.x-2.0-rc4.
Backups were saved into the directory /data/drupal/drush-backups/drupal/20130212115406/modules/og.                                                                                           [ok]
Starting to update Commons Origins code at profiles/commons/themes/contrib/commons_origins...                                                                                                   [notice]
Executing: svn info /data/drupal/community/profiles/commons/themes/contrib/commons_origins
Executing: bzr root /data/drupal/community/profiles/commons/themes/contrib/commons_origins
Executing: wget -q --timeout=30 -O /tmp/download_fileu985Zb 'http://ftp.drupal.org/files/projects/commons_origins-7.x-3.x-dev.tar.gz?date=1360630150'
Downloading commons_origins-7.x-3.x-dev.tar.gz?date=1360630150 was successful.                                                                                                                  [notice]
Md5 checksum of commons_origins-7.x-3.x-dev.tar.gz?date=1360630150 verified.                                                                                                                    [notice]
Mime type for /data/drupal/community/profiles/commons/themes/contrib/commons_origins-7.x-3.x-dev.tar.gz?date=1360630150 is application/x-gzip                                                   [notice]
Executing: tar -C /data/drupal/community/profiles/commons/themes/contrib -xzf 'commons_origins-7.x-3.x-dev.tar.gz?date=1360630150'
Executing: tar -tzf 'commons_origins-7.x-3.x-dev.tar.gz?date=1360630150'
Project commons_origins was updated successfully. Installed version is now 7.x-3.x-dev.
Backups were saved into the directory /data/drupal/drush-backups/drupal/20130212115406/themes/commons_origins.                                                                               [ok]
Starting to update Drupal Commons code at profiles/commons...                                                                                                                                   [notice]
The commons directory could not be found within the modules directory at /data/drupal/community/profiles/commons, perhaps the project is enabled but has been deleted from disk.             [error]
Rolling back update of Commons Origins code ...                                                                                                                                                 [notice]
Executing: svn info profiles/commons/themes/contrib/commons_origins
Executing: bzr root profiles/commons/themes/contrib/commons_origins
Backups were restored successfully.                                                                                                                                                          [ok]
Rolling back update of Organic groups code ...                                                                                                                                                  [notice]
Executing: svn info profiles/commons/modules/contrib/og
Executing: bzr root profiles/commons/modules/contrib/og
Backups were restored successfully.                                                                                                                                                          [ok]
Rolling back update of Link code ...                                                                                                                                                            [notice]
Executing: svn info profiles/commons/modules/contrib/link
Executing: bzr root profiles/commons/modules/contrib/link
Backups were restored successfully.                                                                                                                                                          [ok]
Rolling back update of jQuery Update code ...                                                                                                                                                   [notice]
Executing: svn info profiles/commons/modules/contrib/jquery_update
Executing: bzr root profiles/commons/modules/contrib/jquery_update
Backups were restored successfully.                                                                                                                                                          [ok]
Rolling back update of Droogle code ...                                                                                                                                                         [notice]
Executing: svn info sites/all/modules/Droogle
Executing: bzr root sites/all/modules/Droogle
Backups were restored successfully.                                                                                                                                                          [ok]
Rolling back update of Better Exposed Filters code ...                                                                                                                                          [notice]
Executing: svn info sites/all/modules/better_exposed_filters
Executing: bzr root sites/all/modules/better_exposed_filters
Backups were restored successfully.                                                                                                                                                          [ok]
Command dispatch complete                                                                                                                                                                       [notice]
Command dispatch complete                                                                                                                                                                       [notice]
[drupal@hi14hingtest community]$ 
ybabel’s picture

Same problem here when upgrading from 3 to 3.1
All the modules can be updated individually with drush up.
But "commons" cannot.
I think it's because it's not a module but a profile. And maybe drush don't know how to do it ?

tanius’s picture

This seems to be a Drush issue: Drush issue #1880362.

That issue also is in the "needs more info" state, so maybe somebody from here wants to provide necessary input there so we can get this fixed?

Johnny.Love’s picture

I am running into the same problem - any solutions?

Johnny.Love’s picture

I found this link - http://drupal.org/node/1476994

Then used drush dl commons - proceed to install - problems solved.

markbannister’s picture

Version: » 7.x-3.x-dev

This just made a mess for me I had to roll it back.
Drush 6.0 Drupal 7.23

edit:
Any thoughts on a work around/fix?

markbannister’s picture

The fix was fairly straightforward when I finally realized what was going on.
First drush (v6) had been duplicating modules into the sites/all/modules and not putting them into commons profile. Fixed duplicates then ran drush rr (registry rebuild)

Manually downloaded commons 7.x.3.x.dev, it duplicated a few modules in sites/all/modules so I moved all duplicates to profiles/commons. It also duplicated drush registry rebuild.
ran drush rr for all sites (this is multi-site)
ran drush updatedb for all sites, cleared all caches
ctools was duplicated and now giving issues. rebuild is not fixing it's new home -- updated to latest registry rebuild and it was fixed -- or maybe a cache issue....
Now oddly, links don't work on any page....this is weird, they are formatted...ok there is a them update I missed-- jquery error a.attributes is undefined... crap sounds obscure...

ezra-g’s picture

Status: Postponed (maintainer needs more info) » Fixed

Please start your upgrade process again following the process at http://docs.acquia.com/commons and re-open the issue if you're still having problems.

markbannister’s picture

opened as new issue: https://drupal.org/node/2100175

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

robertgarrigos’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

I have this error while trying to update commons (duplicate issue at #15 has nothing to do with this one).

I have a fresh install of commons 7.x-3.5 now trying to update to 7.x-3.8. This is a drush up -v:

Initialized Drupal 7.26 root directory at /home/robert/commons                                                                                [notice]
Initialized Drupal site default at sites/default                                                                                              [notice]
Loading release_info engine.                                                                                                                  [notice]
Loading version_control engine.                                                                                                               [notice]
Loading package_handler engine.                                                                                                               [notice]
Executing: wget --version
Unknown path for commons_origins module.                                                                                                   [warning]
/usr/bin/php /usr/share/php/drush/drush.php --php=/usr/bin/php  --backend=2 --verbose --root=/home/robert/commons --uri=http://default        [notice]
batch-process 74 74 2>&1
Initialized Drupal 7.26 root directory at /home/robert/commons                                                                                [notice]
Initialized Drupal site default at sites/default                                                                                              [notice]
Checking available update data ...                                                                                                         [ok]
Command dispatch complete                                                                                                                     [notice]
Undefined index: path drupal.inc:121                                                                                                          [notice]
Update information last refreshed: Thu, 06/02/2014 - 18:45

Update status information on all installed and enabled Drupal projects:
 Nom                                                Installed version     Proposed version      Estat                                              
 Address Field (addressfield)                       7.x-1.0-beta5         7.x-1.0-beta5         Actualitzat                                        
 Address Field Tokens (addressfield_tokens)         7.x-1.3               7.x-1.3               Actualitzat                                        
 Advanced Queues (advancedqueue)                    7.x-1.0-alpha2        7.x-1.0-alpha2        Actualitzat                                        
 Drupal                                             7.26                  7.26                  Actualitzat                                        
 Breakpoints (breakpoints)                          7.x-1.1               7.x-1.1               Actualitzat                                        
 CKEditor (ckeditor)                                7.x-1.13              7.x-1.13              Actualitzat                                        
 Commons (commons)                                  7.x-3.5               7.x-3.8               Actualització disponible                           
 Chaos tools (ctools)                               7.x-1.3+33-dev        7.x-1.3+33-dev        Actualitzat                                        
 Custom Search (custom_search)                      7.x-1.13+7-dev        7.x-1.13+7-dev        Actualitzat                                        
 Date (date)                                        7.x-2.6               7.x-2.7               Actualització disponible                           
 Date Facets (date_facets)                          7.x-1.0-beta2         7.x-1.0-beta2         Actualitzat                                        
 Devel (devel)                                      7.x-1.3               7.x-1.4               Actualització disponible                           
 Diff (diff)                                        7.x-3.2               7.x-3.2               Actualitzat                                        
 Edit profile (edit_profile)                        7.x-1.0-beta2         7.x-1.0-beta2         Actualitzat                                        
 Email Registration (email_registration)            7.x-1.1               7.x-1.1               Actualitzat                                        
 Entity API (entity)                                7.x-1.3               7.x-1.3               Actualitzat                                        
 Entity cache (entitycache)                         7.x-1.2               7.x-1.2               Actualitzat                                        
 Entity Reference (entityreference)                 7.x-1.1               7.x-1.1               Actualitzat                                        
 Entity reference prepopulate                       7.x-1.4               7.x-1.4               Actualitzat                                        
 (entityreference_prepopulate)                                                                                                                     
 Facet API (facetapi)                               7.x-1.3               7.x-1.3               Actualitzat                                        
 Features (features)                                7.x-2.0               7.x-2.0               Actualitzat                                        
 Feeds (feeds)                                      7.x-2.0-alpha8        7.x-2.0-alpha8        Actualitzat                                        
 Feeds Comment Processor (feeds_comment_processor)  7.x-1.0-beta1         7.x-1.0-beta1         Actualitzat                                        
 Flag (flag)                                        7.x-2.1               7.x-2.1               Actualitzat                                        
 Flag abuse (flag_abuse)                            7.x-2.0-alpha1        7.x-2.0-alpha1        Actualitzat                                        
 Http Client (http_client)                          7.x-2.4               7.x-2.4               Actualitzat                                        
 Job Scheduler (job_scheduler)                      7.x-2.0-alpha3        7.x-2.0-alpha3        Actualitzat                                        
 Localization update (l10n_update)                  7.x-1.0-beta3         7.x-1.0-beta3         Actualitzat                                        
 Libraries (libraries)                              7.x-2.1               7.x-2.1               Actualitzat                                        
 Link (link)                                        7.x-1.2               7.x-1.2               Actualitzat                                        
 Mail Comment (mailcomment)                         7.x-2.4               7.x-2.4               Actualitzat                                        
 Mailhandler (mailhandler)                          7.x-2.9               7.x-2.9               Actualitzat                                        
 Menu attributes (menu_attributes)                  7.x-1.0-rc2           7.x-1.0-rc2           Actualitzat                                        
 Message (message)                                  7.x-1.9               7.x-1.9               Actualitzat                                        
 Message notify (message_notify)                    7.x-2.5               7.x-2.5               Actualitzat                                        
 Message subscribe (message_subscribe)              7.x-1.0-rc1           7.x-1.0-rc1           Actualitzat                                        
 Metatag (metatag)                                  7.x-1.0-beta9         7.x-1.0-beta9         Actualitzat                                        
 Module filter (module_filter)                      7.x-2.0-alpha2+0-dev  7.x-2.0-alpha2+0-dev  Actualitzat                                        
 Mobile Friendly Navigation Toolbar (navbar)        7.x-1.4               7.x-1.4               Actualitzat                                        
 Organic groups (og)                                7.x-2.4               7.x-2.4               Actualitzat                                        
 Panelizer (panelizer)                              7.x-3.1               7.x-3.1               Actualitzat                                        
 Panels (panels)                                    7.x-3.3               7.x-3.3               Actualitzat                                        
 Paranoia (paranoia)                                7.x-1.3               7.x-1.3               Actualitzat                                        
 Pathauto (pathauto)                                7.x-1.2               7.x-1.2               Actualitzat                                        
 Placeholder (placeholder)                          7.x-1.0               7.x-1.0               Actualitzat                                        
 Quicktabs (quicktabs)                              7.x-3.6               7.x-3.6               Actualitzat                                        
 Redirect 403 to User Login (r4032login)            7.x-1.7               7.x-1.7               Actualitzat                                        
 Radioactivity (radioactivity)                      7.x-2.8+1-dev         7.x-2.8+1-dev         Actualitzat                                        
 Rate (rate)                                        7.x-1.6               7.x-1.6               Actualitzat                                        
 Real name (realname)                               7.x-1.1               7.x-1.1               Actualitzat                                        
 Redirect (redirect)                                7.x-1.0-rc1           7.x-1.0-rc1           Actualitzat                                        
 Registration (registration)                        7.x-1.2               7.x-1.2               Actualitzat                                        
 Rules (rules)                                      7.x-2.6               7.x-2.6               Actualitzat                                        
 Schema.org (schemaorg)                             7.x-1.0-beta4         7.x-1.0-beta4         Actualitzat                                        
 Faceted Navigation for Search (search_facetapi)    7.x-1.0-beta2         7.x-1.0-beta2         Actualitzat                                        
 ShareThis (sharethis)                              7.x-2.5               7.x-2.5               Actualitzat                                        
 Strongarm (strongarm)                              7.x-2.0+2-dev         7.x-2.0+2-dev         Actualitzat                                        
 Timeago (timeago)                                  7.x-2.2               7.x-2.2               Actualitzat                                        
 Title (title)                                      7.x-1.0-alpha7        7.x-1.0-alpha7        Actualitzat                                        
 Token (token)                                      7.x-1.5               7.x-1.5               Actualitzat                                        
 User Import (user_import)                          7.x-2.1               7.x-2.1               Actualitzat                                        
 Views (views)                                      7.x-3.7               7.x-3.7               Actualitzat                                        
 Views Bulk Operations (views_bulk_operations)      7.x-3.2               7.x-3.2               Actualitzat                                        
 Views Field View (views_field_view)                7.x-1.1               7.x-1.1               Actualitzat                                        
 Views Litepager (views_litepager)                  7.x-3.0               7.x-3.0               Actualitzat                                        
 Views Load More (views_load_more)                  7.x-1.2               7.x-1.2               Actualitzat                                        
 Voting API (votingapi)                             7.x-2.11              7.x-2.11              Actualitzat                                        
 AT Core (adaptivetheme)                            7.x-3.1+93-dev        7.x-3.1+93-dev        Actualitzat                                        



Code updates will be made to the following projects: Drupal Commons [commons-7.x-3.8], Date [date-7.x-2.7], Devel [devel-7.x-1.4]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Starting to update Drupal Commons code at profiles/commons...                                                                                 [notice]
The commons directory could not be found within the modules directory at /home/robert/commons/profiles/commons, perhaps the project is     [error]
enabled but has been deleted from disk.
Command dispatch complete                                                                                                                     [notice]
Command dispatch complete                                                                                                                     [notice]
lsolesen’s picture

Status: Active » Closed (cannot reproduce)

Please reopen with exact commands you are using, if this problem still persists?