If for some reason you change your platform so that modules move from sites/all/modules/* to sites/all/modules/contrib/* (a common practice) and you migrate a site between platforms, it's going to fail as Drupal is going to look for the modules in sites/all/modules during updatedb.

I suspect this is just a matter of flushing the module cache before running the updatedb...

Comments

yrocq’s picture

Error example :

Executing media_youtube_update_6006 [225.44 sec, 18.81 MB]                                                                                                                                [success]
WD php: Warning: include_once(sites/all/modules/rules/rules/rules.data_types.inc): failed to open stream: No such file or directory in rules_include() (line 964 of                       [error]
/var/aegir/platforms/drupal-staging/sites/all/modules/contrib/rules/rules/rules.module). [225.44 sec, 18.81 MB]
WD php: Warning: include_once(): Failed opening 'sites/all/modules/rules/rules/rules.data_types.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in rules_include()   [error]
(line 964 of /var/aegir/platforms/drupal-staging/sites/all/modules/contrib/rules/rules/rules.module). [225.44 sec, 18.81 MB]
WD php: Warning: include_once(sites/all/modules/rules/rules/rules.variables.inc): failed to open stream: No such file or directory in rules_include() (line 964 of                        [error]
/var/aegir/platforms/drupal-staging/sites/all/modules/contrib/rules/rules/rules.module). [225.44 sec, 18.81 MB]

anarcat’s picture

Status: Active » Fixed

i have added a quick fix to flush the caches before the updatedb...

anarcat’s picture

Status: Fixed » Needs work

We can't flush caches before drupal is bootstrapped. So I reverted the patch in e93c2e5.

anarcat’s picture

Version: » 6.x-1.0-rc3
Priority: Critical » Major

While this is a pain, there are workarounds and I do not know of a quick solution and I don't want to block the 1.0 release.

Robin Millette’s picture

subbing

pearcec’s picture

I wonder if this is related to an issue I am having with clone a site when the platform moved the modules from profiles to sites/all

#1265630: Blocks disabled (disappear) after site clone.

Thoughts?

helmo’s picture

Status: Needs work » Closed (duplicate)

  • Commit 8ce23d8 on 6.x-1.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • Commit f6abc59 on dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • Commit e93c2e5 on 6.x-1.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    Revert "#1081528 - flush caches before running updatedb as well as after...
  • Commit 1364779 on dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    Revert "#1081528 - flush caches before running updatedb as well as after...

  • anarcat committed 8ce23d8 on
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • anarcat committed f6abc59 on
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • anarcat committed e93c2e5 on
    Revert "#1081528 - flush caches before running updatedb as well as after...
  • anarcat committed 1364779 on
    Revert "#1081528 - flush caches before running updatedb as well as after...

  • anarcat committed 8ce23d8 on 7.x-3.x-1966886-context-to-entity
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • anarcat committed f6abc59 on 7.x-3.x-1966886-context-to-entity
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • anarcat committed e93c2e5 on 7.x-3.x-1966886-context-to-entity
    Revert "#1081528 - flush caches before running updatedb as well as after...
  • anarcat committed 1364779 on 7.x-3.x-1966886-context-to-entity
    Revert "#1081528 - flush caches before running updatedb as well as after...

  • anarcat committed 8ce23d8 on 6.x-2.x-1995506-profile-option
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • anarcat committed f6abc59 on 6.x-2.x-1995506-profile-option
    #1081528 - flush caches before running updatedb as well as after
    
    this...
  • anarcat committed e93c2e5 on 6.x-2.x-1995506-profile-option
    Revert "#1081528 - flush caches before running updatedb as well as after...
  • anarcat committed 1364779 on 6.x-2.x-1995506-profile-option
    Revert "#1081528 - flush caches before running updatedb as well as after...