I'm trying to upgrade a site from D6 to D7 using "drush site-upgrade". It fails when cloning the database, because it references a non-existant site alias "@self".

# ~/.drush/drush/drush -l example.org site-upgrade @example_d7
Error: no database record could be found for @self                  [error]
An error occurred at function : drush_upgrade_site_upgrade

Comments

moshe weitzman’s picture

Assigned: Unassigned » moshe weitzman

I'll look into this

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

Can you try replacing the '@self' with NULL in line 139 of upgrade.drush.inc? Sorry, I can't test this now.

greg.1.anderson’s picture

This is probably related to the change I made in delaying the creation of the @self alias and the changes to drush bootstrapping. Also try adding '@self' prior to the command as a test: drush @self site-upgrade ...

moshe weitzman’s picture

Status: Postponed (maintainer needs more info) » Fixed

easy once i was thinking clearly. pls reopen if i got this wrong

Status: Fixed » Closed (fixed)

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