[error] Migration d7_views_migration is busy with another operation: Importing

Created on 11 January 2023, about 2 years ago
Updated 2 May 2023, almost 2 years ago

Drupal 9.5.1 PHP 8.1 with PHP-FPM on Centos 7 with Domain Access

I set up the upgrade with the D7 database name and password

I first ran it without the modules installed that t he main page recommends, and I got alot of errors and it t3rmainated abnorallly

I then installed the modules draggable views etc - it also installed translation languages and when run again I got

[error] Migration d7_views_migration is busy with another operation: Importing

Is there a way to canacel the previous run - I tried flushing the cache and rebuilding it with " drush cache:rebuild " or is this another issue ??

🐛 Bug report
Status

Closed: outdated

Version

1.2

Component

Code

Created by

🇺🇸United States bobburns

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • In my case, I get "Terminated in abnormally" when I try to migrate with "drush mim d7_views_migration". I find this happening because some of the view migrations are encountering error that will stuck the whole process and put d7_views_migration to "Importing" status. Part of my error message:


    [error] Error: Call to a member function getConfigDependencyKey() on null in Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies() (line 427 of /var/www/brd3/web/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php) #0 /var/www/brd3/web/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies()

    I went to Drupal 7 database to show all view IDs of my site with

    select name,human_name from views_view;

    Then manually migrate one view at a time.
    drush mim d7_views_migration --idlist={name}

    If error occuors, just
    drush mrs d7_views_migration

    And skip this failed view and move to migrate the next. Managed to get most of the views back.

  • In my case, I get "Terminated in abnormally" when I try to migrate with "drush mim d7_views_migration". I find this happening because some of the view migrations are encountering error that will stuck the whole process and put d7_views_migration to "Importing" status. Part of my error message:


    [error] Error: Call to a member function getConfigDependencyKey() on null in Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies() (line 427 of /var/www/brd3/web/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php) #0 /var/www/brd3/web/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->calculateDependencies()

    I went to Drupal 7 database to show all view IDs of my site with

    select name,human_name from views_view;

    Then manually migrate one view at a time.
    drush mim d7_views_migration --idlist={name}

    If error occuors, just
    drush mrs d7_views_migration

    And skip this failed view and move to migrate the next. Managed to get most of the views back.

  • Status changed to Closed: outdated almost 2 years ago
Production build 0.71.5 2024