Follow-up for:
#2370275: More realistic hostmaster D6-D7 upgrade and #2373835: 3.x doesn't currently install

When migrating a site from a Drupal 6 platform to a Drupal 7 platform you get this:

Do you wish to run all pending updates? (y/n): y
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found:     [error]
1146 Table 'drupal6upgrade_0.blocked_ips' doesn't exist: SELECT 1
FROM {blocked_ips} WHERE ip = :ip; Array
(
    [:ip] => 127.0.0.1
)
in drupal_is_denied() (line 1933 of
/var/aegir/platforms/drupal7/includes/bootstrap.inc).

I've traced it with git bisect to https://github.com/drush-ops/drush/commit/b45184a02b914a8a1055d37733d5f4...

It seems bootstrap level .... similar to https://github.com/drush-ops/drush/issues/961

For a full log see: http://ci.aegirproject.org/view/Puppet%20tests/job/P_Aegir_Puppet_Module...

Comments

helmo’s picture

helmo’s picture

Issue summary: View changes
helmo’s picture

Issue tags: +Aegir 3.0.0

I would really like to have this fixed before Aegir 3.0.0...

helmo’s picture

Issue summary: View changes

updated log url

omega8cc’s picture

From my experience it is just a well known Drupal core (egg/chicken/schema) problem, not specific to Drush nor Aegir, with some known workarounds we should probably use.

helmo’s picture

@omega8cc: I don't agree. This did work before drush commit: https://github.com/drush-ops/drush/commit/b45184a02b914a8a1055d37733d5f4...

I've opened https://github.com/drush-ops/drush/pull/1223 as a possible fix.

omega8cc’s picture

Well, we are affected indirectly, sure, but the real source of this problem (directly related to blocked_ips thing) is in Drupal core, and it is really "popular" and doesn't need Drush to get hit by it.

helmo’s picture

helmo’s picture

Status: Active » Fixed

@moshe merged my PR in https://github.com/drush-ops/drush/pull/1223

And Jenkins agrees:
08:29 -aegirjenkins:#aegir- Yippee, build fixed!
08:29 -aegirjenkins:#aegir- Project P_Aegir_Puppet_Module_functional_test_Aegir3-drush-master-dev build #110: FIXED in 10 min: http://ci.aegirproject.org/job/P_Aegir_Puppet_Module_functional_test_Aeg...

Status: Fixed » Closed (fixed)

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