Created
February 14, 2021 04:02
-
-
Save symbioquine/ecd83655865ebe631a2ed164b665264f to your computer and use it in GitHub Desktop.
Troubleshooting `farm_migrate_quantity` farmOS 2.x migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# drush migrate:messages farm_migrate_quantity | |
[warning] array_keys() expects parameter 1 to be array, null given MigrateToolsCommands.php:626 | |
[warning] array_map(): Expected parameter 2 to be an array, null given MigrateToolsCommands.php:626 | |
[warning] array_combine() expects parameter 1 to be array, null given MigrateToolsCommands.php:627 | |
[notice] No messages for this migration | |
# drush migrate:status farm_migrate_quantity | |
------------------------------------------------------- ----------------------- -------- ------- ---------- ------------- --------------- | |
Group Migration ID Status Total Imported Unprocessed Last Imported | |
------------------------------------------------------- ----------------------- -------- ------- ---------- ------------- --------------- | |
farmOS 1.x Quantity Migration (farm_migrate_quantity) farm_migrate_quantity Idle 559 0 559 | |
------------------------------------------------------- ----------------------- -------- ------- ---------- ------------- --------------- | |
# drush migrate:reset-status farm_migrate_quantity | |
[warning] Migration farm_migrate_quantity is already Idle | |
# drush migrate:rollback -vvv farm_migrate_quantity | |
[preflight] Config paths: /opt/drupal/vendor/drush/drush/drush.yml | |
[preflight] Alias paths: /opt/drupal/web/drush/sites,/opt/drupal/drush/sites | |
[preflight] Commandfile search paths: /opt/drupal/vendor/drush/drush/src | |
[debug] Bootstrap further to find migrate:rollback [0.06 sec, 9.34 MB] | |
[debug] Trying to bootstrap as far as we can [0.06 sec, 9.34 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalRoot() [0.06 sec, 9.34 MB] | |
[debug] Change working directory to /opt/drupal/web [0.06 sec, 9.34 MB] | |
[debug] Initialized Drupal 9.1.4 root directory at /opt/drupal/web [0.06 sec, 9.34 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalSite() [0.06 sec, 9.76 MB] | |
[debug] Initialized Drupal site default at sites/default [0.06 sec, 9.94 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.06 sec, 9.94 MB] | |
[debug] Add service modifier [0.06 sec, 10.14 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalDatabase() [0.07 sec, 10.68 MB] | |
[debug] Successfully connected to the Drupal database. [0.07 sec, 10.68 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalFull() [0.07 sec, 10.68 MB] | |
[debug] Start bootstrap of the Drupal Kernel. [0.07 sec, 10.68 MB] | |
[debug] Finished bootstrap of the Drupal Kernel. [0.1 sec, 15.37 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigCommands [0.14 sec, 22.32 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigExportCommands [0.14 sec, 22.35 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigImportCommands [0.14 sec, 22.36 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\BatchCommands [0.14 sec, 22.37 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\CliCommands [0.14 sec, 22.37 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\DrupalCommands [0.14 sec, 22.38 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\DeployHookCommands [0.14 sec, 22.39 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\EntityCommands [0.14 sec, 22.4 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\ImageCommands [0.14 sec, 22.4 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\JsonapiCommands [0.14 sec, 22.42 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\LanguageCommands [0.14 sec, 22.42 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\LocaleCommands [0.15 sec, 22.43 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\MessengerCommands [0.15 sec, 22.45 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\QueueCommands [0.15 sec, 22.45 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\RoleCommands [0.15 sec, 22.47 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\StateCommands [0.15 sec, 22.5 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\TwigCommands [0.15 sec, 22.51 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\UserCommands [0.15 sec, 22.52 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\ViewsCommands [0.15 sec, 22.56 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\WatchdogCommands [0.15 sec, 22.59 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\pm\PmCommands [0.15 sec, 22.62 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\pm\ThemeCommands [0.16 sec, 22.63 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommentsCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeSessionsCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserFieldsCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserTableCommands [0.16 sec, 22.65 MB] | |
[debug] Add a commandfile class: Drupal\migrate_tools\Commands\MigrateToolsCommands [0.16 sec, 22.65 MB] | |
[debug] Add a commandfile class: Drupal\simple_oauth\Commands\SimpleOauthCommands [0.16 sec, 22.69 MB] | |
[debug] Add a commandfile class: Drupal\token\Commands\TokenCommands [0.16 sec, 22.7 MB] | |
[debug] Done with bootstrap max in Application::bootstrapAndFind(): trying to find migrate:rollback again. [0.16 sec, 22.7 MB] | |
[debug] Starting bootstrap to none [0.16 sec, 22.75 MB] | |
[debug] Drush bootstrap phase 0 [0.16 sec, 22.75 MB] | |
[debug] Try to validate bootstrap phase 0 [0.16 sec, 22.75 MB] | |
[debug] Calling Drupal\migrate_tools\MigrateExecutable::rollback() [0.19 sec, 25.65 MB] | |
[notice] Rolled back 0 items - done with 'farm_migrate_quantity' [0.22 sec, 27.46 MB] | |
# drush migrate:import -vvv farm_migrate_quantity | |
[preflight] Config paths: /opt/drupal/vendor/drush/drush/drush.yml | |
[preflight] Alias paths: /opt/drupal/web/drush/sites,/opt/drupal/drush/sites | |
[preflight] Commandfile search paths: /opt/drupal/vendor/drush/drush/src | |
[debug] Bootstrap further to find migrate:import [0.06 sec, 9.34 MB] | |
[debug] Trying to bootstrap as far as we can [0.06 sec, 9.34 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalRoot() [0.06 sec, 9.34 MB] | |
[debug] Change working directory to /opt/drupal/web [0.06 sec, 9.34 MB] | |
[debug] Initialized Drupal 9.1.4 root directory at /opt/drupal/web [0.06 sec, 9.34 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalSite() [0.06 sec, 9.76 MB] | |
[debug] Initialized Drupal site default at sites/default [0.06 sec, 9.94 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.06 sec, 9.94 MB] | |
[debug] Add service modifier [0.06 sec, 10.14 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalDatabase() [0.07 sec, 10.68 MB] | |
[debug] Successfully connected to the Drupal database. [0.07 sec, 10.68 MB] | |
[debug] Drush bootstrap phase: bootstrapDrupalFull() [0.07 sec, 10.68 MB] | |
[debug] Start bootstrap of the Drupal Kernel. [0.07 sec, 10.68 MB] | |
[debug] Finished bootstrap of the Drupal Kernel. [0.1 sec, 15.37 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigCommands [0.14 sec, 22.32 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigExportCommands [0.14 sec, 22.35 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\config\ConfigImportCommands [0.14 sec, 22.36 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\BatchCommands [0.14 sec, 22.37 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\CliCommands [0.14 sec, 22.37 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\DrupalCommands [0.14 sec, 22.38 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\DeployHookCommands [0.14 sec, 22.39 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\EntityCommands [0.14 sec, 22.4 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\ImageCommands [0.14 sec, 22.4 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\JsonapiCommands [0.14 sec, 22.42 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\LanguageCommands [0.14 sec, 22.42 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\LocaleCommands [0.15 sec, 22.43 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\MessengerCommands [0.15 sec, 22.45 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\QueueCommands [0.15 sec, 22.45 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\RoleCommands [0.15 sec, 22.47 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\StateCommands [0.15 sec, 22.5 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\TwigCommands [0.15 sec, 22.51 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\UserCommands [0.15 sec, 22.52 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\ViewsCommands [0.15 sec, 22.56 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\core\WatchdogCommands [0.15 sec, 22.59 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\pm\PmCommands [0.15 sec, 22.62 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\pm\ThemeCommands [0.16 sec, 22.63 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommentsCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeSessionsCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserFieldsCommands [0.16 sec, 22.64 MB] | |
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserTableCommands [0.16 sec, 22.65 MB] | |
[debug] Add a commandfile class: Drupal\migrate_tools\Commands\MigrateToolsCommands [0.16 sec, 22.65 MB] | |
[debug] Add a commandfile class: Drupal\simple_oauth\Commands\SimpleOauthCommands [0.16 sec, 22.69 MB] | |
[debug] Add a commandfile class: Drupal\token\Commands\TokenCommands [0.16 sec, 22.7 MB] | |
[debug] Done with bootstrap max in Application::bootstrapAndFind(): trying to find migrate:import again. [0.16 sec, 22.7 MB] | |
[debug] Starting bootstrap to none [0.16 sec, 22.75 MB] | |
[debug] Drush bootstrap phase 0 [0.16 sec, 22.75 MB] | |
[debug] Try to validate bootstrap phase 0 [0.16 sec, 22.75 MB] | |
[debug] Calling Drupal\migrate_tools\MigrateExecutable::import() [0.2 sec, 25.65 MB] | |
[notice] Processed 427 items (427 created, 0 updated, 0 failed, 0 ignored) - done with 'farm_migrate_quantity' [4.85 sec, 34.52 MB] | |
# drush migrate:messages farm_migrate_quantity | |
[notice] No messages for this migration | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment