magento / data-migration-tool

Magento Data Migration Tool
https://devdocs.magento.com/guides/v2.3/migration/bk-migration-guide.html
Open Software License 3.0
336 stars 200 forks source link

Migrate v.1.9.4.4 to v.2.4.3 - ProgressBar error, must be of the type string, null given #882

Closed wekommerce closed 3 years ago

wekommerce commented 3 years ago

Preconditions

  1. Migrate data from v.1.9.4.4 to v.2.4.3 (Opensource-to-Opensource)

Steps to reproduce

  1. bin/magento migrate:data --reset -a /var/www/html/vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.4.4/map.xml

  2. See Error:

`[INFO][mode: data][stage: setup triggers][step: Stage]: started Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() must be of the type string, null given, called in /var/www/html/vendor/magento/data-migration-tool/src/Migration/App/ProgressBar/LogLevelProcessor.php on line 88#0 /var/www/html/vendor/magento/data-migration-tool/src/Migration/App/ProgressBar/LogLevelProcessor.php(88): Symfony\Component\Console\Helper\ProgressBar->setFormat(NULL)

1 /var/www/html/vendor/magento/data-migration-tool/src/Migration/App/ProgressBar/LogLevelProcessor.php(120): Migration\App\ProgressBar\LogLevelProcessor->getProgressBar()

2 /var/www/html/vendor/magento/data-migration-tool/src/Migration/App/SetupDeltaLog.php(70): Migration\App\ProgressBar\LogLevelProcessor->start(1)

3 /var/www/html/vendor/magento/data-migration-tool/src/Migration/Mode/AbstractMode.php(82): Migration\App\SetupDeltaLog->perform()

4 /var/www/html/vendor/magento/data-migration-tool/src/Migration/Mode/Data.php(109): Migration\Mode\AbstractMode->runStage(Object(Migration\App\SetupDeltaLog), 'Stage', 'setup triggers')

5 /var/www/html/vendor/magento/data-migration-tool/src/Migration/Mode/Data.php(63): Migration\Mode\Data->setupDeltalog()

6 /var/www/html/vendor/magento/data-migration-tool/src/Migration/Console/MigrateDataCommand.php(59): Migration\Mode\Data->run()

7 /var/www/html/vendor/symfony/console/Command/Command.php(255): Migration\Console\MigrateDataCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

8 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

9 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Migration\Console\MigrateDataCommand\Interceptor->___callParent('run', Array)

10 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Migration\Console\MigrateDataCommand\Interceptor->Magento\Framework\Interception{closure}(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

11 /var/www/html/generated/code/Migration/Console/MigrateDataCommand/Interceptor.php(77): Migration\Console\MigrateDataCommand\Interceptor->___callPlugins('run', Array, Array)

12 /var/www/html/vendor/symfony/console/Application.php(1009): Migration\Console\MigrateDataCommand\Interceptor->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

13 /var/www/html/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Migration\Console\MigrateDataCommand\Interceptor), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

14 /var/www/html/vendor/magento/framework/Console/Cli.php(115): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

15 /var/www/html/vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

16 /var/www/html/bin/magento(23): Symfony\Component\Console\Application->run()

17 {main}`

Expected result

Data migration to run.

m2-assistant[bot] commented 3 years ago

Hi @wekommerce. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this