oroinc / platform

Main OroPlatform package with core functionality.
MIT License
629 stars 351 forks source link

Can't install OroCommerce falling on php oro:install #991

Open NatalyaSidun opened 4 years ago

NatalyaSidun commented 4 years ago

Summary
Trying to install Orocommerce Community Edition following https://doc.oroinc.com/backend/setup/dev-environment/manual-installation/commerce-ce/

Steps to reproduce

  1. Create a clean DB
  2. Created a new application
    cd oroapp 
  3. Followed the steps to set up config
  4. Ran php ./bin/console oro:install --env=dev --timeout=900 --force-debug

Actual Result Installation terminated with error

In MigrationExecutor.php line 116:

  Failed migrations: Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowB  
  undleInstaller.                      

Get the error message The command '/usr/local/Cellar/php/7.4.3/bin/php' './bin/console' 'oro:migration:load' '--force' '--timeout=900' terminated with an exit code: 1.

Tried to run the command separately php -d memory_limit=-1 ./bin/console oro:migration:load --env=prod --timeout=900 -vvv --show-queries --force

Got detailed output


  [RuntimeException]                                                                          
  Failed migrations: Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowBundleInstaller.  

Exception trace:
  at /Users/natalya/oro/oroapp/vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Migration/MigrationExecutor.php:116
 Oro\Bundle\MigrationBundle\Migration\MigrationExecutor->executeUp() at /Users/natalya/oro/oroapp/vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Command/LoadMigrationsCommand.php:131
 Oro\Bundle\MigrationBundle\Command\LoadMigrationsCommand->execute() at /Users/natalya/oro/oroapp/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /Users/natalya/oro/oroapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:1029
 Symfony\Component\Console\Application->doRunCommand() at /Users/natalya/oro/oroapp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:97
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /Users/natalya/oro/oroapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:272
 Symfony\Component\Console\Application->doRun() at /Users/natalya/oro/oroapp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:83
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/natalya/oro/oroapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:148
 Symfony\Component\Console\Application->run() at /Users/natalya/oro/oroapp/bin/console:33

Database tables are created Expected Result
OroCommerce installed

Details about your environment