Drush does not recognize the Typo3 migrate commands.

drush migrate-import Typo3Pages

Unrecognized migration: Typo3Pages

And when using the migrate_ui module on the front end /admin/content/migrate/, none of the Typo3 modules appear, just the standard beer and wine examples. This list can also be drawn by calling drush migrate-status.

Is there something else I need to do to get the Migrate module to recognize Typo3_migrate? I have the TYPO3_migrate module located in /sites/all/modules.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nitesh Pawar’s picture

Have you tried after clicking "Register statically defined classes" from admin/content/migrate/configure?

Nitesh Pawar’s picture

I was facing the same issue while using the Typo3migrate module. I did debug the code and found the root cause of the issue. Please apply the attached patch, truncate "migrate_groups" table and then follow the step mention in the comment above.

Changes to be committed:
new file: typo3_migrate.migrate.inc
modified: base.inc
modified: typo3_news/tt_news.inc
modified: typo3_news/typo3_news.module
modified: typo3_pages/pages.inc
modified: typo3_pages/typo3_pages.module
modified: typo3_users/typo3_users.module
modified: typo3_users/users.inc

Cheers!!

acreutzburg’s picture

I had the same problem (unrecognized migration), so I just tried to apply the patch and now I receive an error while patching the base.inc file saying:

patching file base.inc
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file base.inc.rej

After trying to apply the patch the migrate ui config page (/admin/content/migrate/configure) seems to crash (blank page).

I have the latest migrate and typo3_migrate module installed.

Does anyone have an idea what’s going wrong?

homersheineken2’s picture

@Nitesh - Thank you that worked.