Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
27 Aug 2010 at 12:25 UTC
Updated:
12 Dec 2023 at 16:32 UTC
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
Comment #1
moshe weitzman commentedI'll look into this
Comment #2
moshe weitzman commentedCan you try replacing the '@self' with NULL in line 139 of upgrade.drush.inc? Sorry, I can't test this now.
Comment #3
greg.1.anderson commentedThis 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 ...Comment #4
moshe weitzman commentedeasy once i was thinking clearly. pls reopen if i got this wrong