ssossossosso

Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

This topic contains 12 replies, has 5 voices, and was last updated by  mmiasnikov 4 months ago.

  • Creator
    Topic
  • #1542
    alvin.francisco
    alvin.francisco
    Participant

    I was running this console command “php app/console oro:install –env=prod”.

    Then installation stop with this error:
    “Failed migrations: Oro\Bundle\OrganizationBundle\Migrations\Schema\OroOrganizationBundleInstaller.”

    I checked the log files but I don’t find any fatal errors.

    Please help me…

Viewing 13 replies - 1 through 13 (of 13 total)
  • Author
    Replies
  • #1543
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello, Alvin.

    Could you, please, put here whole migration log?

    Also would be nice to see full stack trace of exception – to get it you can run php app/console oro:migration:load --force -vvv --env=prod right after the failed install.

    #1544
    alvin.francisco
    alvin.francisco
    Participant

    It working now. I finally setup your orocommerce in my local pc. I just added the “–timeout=0” in the console command.

    Like this: php app/console oro:install –env=prod –timeout=0

    Thank you.

    #5114

    Atul Sinha
    Participant

    Hello,

    Need help in completing OroCommerce install. Here’s the full stack trace:

    Exception trace:
    () at C:\xampp\htdocs\oro\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConn
    ection.php:43
    PDO->__construct() at C:\xampp\htdocs\oro\vendor\doctrine\dbal\lib\Doctrine\DBA
    L\Driver\PDOConnection.php:43
    Doctrine\DBAL\Driver\PDOConnection->__construct() at C:\xampp\htdocs\oro\vendor
    \doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOMySql\Driver.php:41
    Doctrine\DBAL\Driver\PDOMySql\Driver->connect() at C:\xampp\htdocs\oro\vendor\d
    octrine\dbal\lib\Doctrine\DBAL\Connection.php:360
    Doctrine\DBAL\Connection->connect() at C:\xampp\htdocs\oro\vendor\doctrine\dbal
    \lib\Doctrine\DBAL\Connection.php:429
    Doctrine\DBAL\Connection->getDatabasePlatformVersion() at C:\xampp\htdocs\oro\v
    endor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php:389
    Doctrine\DBAL\Connection->detectDatabasePlatform() at C:\xampp\htdocs\oro\vendo
    r\doctrine\dbal\lib\Doctrine\DBAL\Connection.php:328
    Doctrine\DBAL\Connection->getDatabasePlatform() at C:\xampp\htdocs\oro\vendor\o
    ro\platform\src\Oro\Bundle\MigrationBundle\Migration\MigrationExecutor.php:85
    Oro\Bundle\MigrationBundle\Migration\MigrationExecutor->setExtensionManager() a
    t C:\xampp\htdocs\oro\vendor\oro\platform\src\Oro\Bundle\MigrationBundle\Migrati
    on\MigrationExecutorWithNameGenerator.php:32
    Oro\Bundle\MigrationBundle\Migration\MigrationExecutorWithNameGenerator->setExt
    ensionManager() at C:\xampp\htdocs\oro\app\cache\prod\appProdProjectContainer.ph
    p:195
    appProdProjectContainer->getOroMigration_Migrations_ExecutorService() at C:\xam
    pp\htdocs\oro\app\bootstrap.php.cache:2226
    Symfony\Component\DependencyInjection\Container->get() at C:\xampp\htdocs\oro\v
    endor\oro\platform\src\Oro\Bundle\MigrationBundle\Command\LoadMigrationsCommand.
    php:131
    Oro\Bundle\MigrationBundle\Command\LoadMigrationsCommand->getMigrationExecutor(
    ) at C:\xampp\htdocs\oro\vendor\oro\platform\src\Oro\Bundle\MigrationBundle\Comm
    and\LoadMigrationsCommand.php:90
    Oro\Bundle\MigrationBundle\Command\LoadMigrationsCommand->execute() at C:\xampp
    \htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command
    .php:259
    Symfony\Component\Console\Command\Command->run() at C:\xampp\htdocs\oro\vendor\
    symfony\symfony\src\Symfony\Component\Console\Application.php:866
    Symfony\Component\Console\Application->doRunCommand() at C:\xampp\htdocs\oro\ve
    ndor\symfony\symfony\src\Symfony\Component\Console\Application.php:193
    Symfony\Component\Console\Application->doRun() at C:\xampp\htdocs\oro\vendor\sy
    mfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:92
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\xampp\htdocs\
    oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:124
    Symfony\Component\Console\Application->run() at C:\xampp\htdocs\oro\app\console
    :22

    Please help.

    Atul

    #5116

    Metzler
    Participant

    Hey sinha.at,

    there should be more console output. Could you send it please?

    #5118

    Atul Sinha
    Participant

    Hi,

    I executed the command: php app/console oro:migration:load –force -vvv –env=prod and this is all I got:

    # php app/console oro:migration:load –force -vvv –env=prod
    Process migrations…
    > Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration
    > Oro\Bundle\PlatformBundle\Migrations\Schema\OroPlatformBundleInstaller
    > Oro\Bundle\ScopeBundle\Migrations\Schema\OroScopeBundleInstaller
    ERROR: The table with name ‘b2b_crm_dev.oro_scope’ already exists.
    > Oro\Bundle\OrganizationBundle\Migrations\Schema\OroOrganizationBundleInstaller – skipped
    > Oro\Bundle\SecurityBundle\Migrations\Schema\OroSecurityBundleInstaller – skipped
    > Oro\Bundle\AttachmentBundle\Migrations\Schema\OroAttachmentBundleInstaller – skipped
    > Oro\Bundle\OroMessageQueueBundle\Migrations\Schema\OroMessageQueueBundleInstaller – skipped
    > Oro\Bundle\EmailBundle\Migrations\Schema\OroEmailBundleInstaller – skipped
    > Oro\Bundle\CronBundle\Migrations\Schema\OroCronBundleInstaller – skipped
    > Oro\Bundle\UserBundle\Migrations\Schema\OroUserBundleInstaller – skipped
    > Oro\Bundle\DataGridBundle\Migrations\Schema\OroDataGridBundleInstaller – skipped
    > Oro\Bundle\SSOBundle\Migrations\Schema\OroUserBundleInstaller – skipped
    > Oro\Bundle\TranslationBundle\Migrations\Schema\OroTranslationBundleInstaller – skipped
    > Oro\Bundle\EntityBundle\Migrations\Schema\OroEntityBundleInstaller – skipped
    > Oro\Bundle\LocaleBundle\Migrations\Schema\OroLocaleBundleInstaller – skipped
    > Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroEntityConfigBundleInstaller – skipped
    > Oro\Bundle\EntityExtendBundle\Migrations\Schema\OroEntityExtendBundleInstaller – skipped
    > Oro\Bundle\IntegrationBundle\Migrations\Schema\OroIntegrationBundleInstaller – skipped
    > Oro\Bundle\RuleBundle\Migrations\Schema\OroRuleBundleInstaller – skipped
    > Oro\Bundle\ActivityBundle\Migrations\Schema\OroActivityBundleInstaller – skipped
    > Oro\Bundle\ActivityContactBundle\Migrations\Schema\OroActivityContactBundleInstaller – skipped
    > Oro\Bundle\ActivityListBundle\Migrations\Schema\OroActivityListBundleInstaller – skipped
    > Oro\Bundle\AddressBundle\Migrations\Schema\OroAddressBundleInstaller – skipped
    > Oro\Bundle\BatchBundle\Migrations\Schema\OroBatchBundleInstaller – skipped
    > Oro\Bundle\ConfigBundle\Migrations\Schema\OroConfigBundleInstaller – skipped
    > Oro\Bundle\DataAuditBundle\Migrations\Schema\OroDataAuditBundleInstaller – skipped
    > Oro\Bundle\EmbeddedFormBundle\Migrations\Schema\OroEmbeddedFormBundleInstaller – skipped
    > Oro\Bundle\ImapBundle\Migrations\Schema\OroImapBundleInstaller – skipped
    > Oro\Bundle\ImportExportBundle\Migrations\Schema\OroImportExportBundleInstaller – skipped
    > Oro\Bundle\InstallerBundle\Migrations\Schema\OroInstallerBundleInstaller – skipped
    > Oro\Bundle\MigrationBundle\Migrations\Schema\OroMigrationBundleInstaller – skipped
    > Oro\Bundle\NoteBundle\Migrations\Schema\OroNoteBundleInstaller – skipped
    > Oro\Bundle\NotificationBundle\Migrations\Schema\OroNotificationBundleInstaller – skipped
    > Oro\Bundle\ReportBundle\Migrations\Schema\OroReportBundleInstaller – skipped
    > Oro\Bundle\SearchBundle\Migrations\Schema\OroSearchBundleInstaller – skipped
    > Oro\Bundle\SegmentBundle\Migrations\Schema\OroSegmentBundleInstaller – skipped
    > Oro\Bundle\SidebarBundle\Migrations\Schema\OroSidebarBundleInstaller – skipped
    > Oro\Bundle\TagBundle\Migrations\Schema\OroTagBundleInstaller – skipped
    > Oro\Bundle\WebsiteSearchBundle\Migrations\Schema\OroWebsiteSearchBundleInstaller – skipped
    > Oro\Bundle\WindowsBundle\Migrations\Schema\OroWindowsBundleInstaller – skipped
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowBundleInstaller – skipped
    > Oro\Bundle\WorkflowBundle\Migrations\Schema\v2_2_1\UpdateWorkflowConfiguration – skipped
    > Oro\Bundle\CommentBundle\Migrations\Schema\OroCommentBundleInstaller – skipped
    > Oro\Bundle\CRMBundle\Migrations\Schema\OroCRMBundleInstaller – skipped
    > Oro\Bundle\DashboardBundle\Migrations\Schema\OroDashboardBundleInstaller – skipped
    > Oro\Bundle\CalendarBundle\Migrations\Schema\OroCalendarBundleInstaller – skipped
    > Oro\Bundle\HangoutsCallBundle\Migrations\Schema\OroHangoutsCallBundleInstaller – skipped
    > Oro\Bundle\FrontendBundle\Migrations\Schema\OroFrontendBundleInstaller – skipped
    > Oro\Bundle\WebsiteBundle\Migrations\Schema\OroWebsiteBundleInstaller – skipped
    > Oro\Bundle\ContactBundle\Migrations\Schema\OroContactBundleInstaller – skipped
    > Oro\Bundle\CurrencyBundle\Migrations\Schema\OroConfigBundleInstaller – skipped
    > Oro\Bundle\FallbackBundle\Migrations\Schema\OroFallbackBundleInstaller – skipped
    > Oro\Bundle\NavigationBundle\Migrations\Schema\OroNavigationBundleInstaller – skipped
    > Oro\Bundle\RedirectBundle\Migrations\Schema\OroRedirectBundleInstaller – skipped
    > Oro\Bundle\WebCatalogBundle\Migrations\Schema\OroWebCatalogBundleInstaller – skipped
    > Oro\Bundle\CommerceMenuBundle\Migrations\Schema\OroCommerceMenuBundleInstaller – skipped
    > Oro\Bundle\ProductBundle\Migrations\Schema\OroProductBundleInstaller – skipped
    > Oro\Bundle\CatalogBundle\Migrations\Schema\OroCatalogBundleInstaller – skipped
    > Oro\Bundle\MarketingListBundle\Migrations\Schema\OroMarketingListBundleInstaller – skipped
    > Oro\Bundle\CustomerBundle\Migrations\Schema\OroCustomerBundleInstaller – skipped
    > Oro\Bundle\TrackingBundle\Migrations\Schema\OroTrackingBundleInstaller – skipped
    > Oro\Bundle\AccountBundle\Migrations\Schema\OroAccountBundleInstaller – skipped
    > Oro\Bundle\VisibilityBundle\Migrations\Schema\OroVisibilityBundleInstaller – skipped
    > Oro\Bundle\CallBundle\Migrations\Schema\OroCallBundleInstaller – skipped
    > Oro\Bundle\CampaignBundle\Migrations\Schema\OroCampaignBundleInstaller – skipped
    > Oro\Bundle\ChannelBundle\Migrations\Schema\OroChannelBundleInstaller – skipped
    > Oro\Bundle\MagentoContactUsBundle\Migrations\Schema\OroMagentoContactUsBundleInstaller – skipped
    > Oro\Bundle\PaymentBundle\Migrations\Schema\OroPaymentBundleInstaller – skipped
    > Oro\Bundle\ReminderBundle\Migrations\Schema\OroReminderBundleBundleInstaller – skipped
    > Oro\Bundle\TaskBundle\Migrations\Schema\OroTaskBundleInstaller – skipped
    > Oro\Bundle\AnalyticsBundle\Migrations\Schema\OroAnalyticsBundleInstaller – skipped
    > Oro\Bundle\CMSBundle\Migrations\Schema\OroCMSBundleInstaller – skipped
    > Oro\Bundle\MarketingActivityBundle\Migrations\Schema\OroMarketingActivityInstaller – skipped
    > Oro\Bundle\MoneyOrderBundle\Migrations\Schema\OroMoneyOrderBundleInstaller – skipped
    > Oro\Bundle\PaymentTermBundle\Migrations\Schema\OroPaymentTermBundleInstaller – skipped
    > Oro\Bundle\PayPalBundle\Migrations\Schema\OroPayPalBundleInstaller – skipped
    > Oro\Bundle\PricingBundle\Migrations\Schema\OroPricingBundleInstaller – skipped
    > Oro\Bundle\RFPBundle\Migrations\Schema\OroRFPBundleInstaller – skipped
    > Oro\Bundle\SalesBundle\Migrations\Schema\OroSalesBundleInstaller – skipped
    > Oro\Bundle\AuthorizeNetBundle\Migrations\Schema\OroAuthorizeNetBundleInstaller – skipped
    > Oro\Bundle\ContactUsBundle\Migrations\Schema\OroContactUsBundleInstaller – skipped
    > Oro\Bundle\InvoiceBundle\Migrations\Schema\OroInvoiceBundleInstaller – skipped
    > Oro\Bundle\MagentoBundle\Migrations\Schema\OroMagentoBundleInstaller – skipped
    > Oro\Bundle\OrderBundle\Migrations\Schema\OroOrderBundleInstaller – skipped
    > Oro\Bundle\TaxBundle\Migrations\Schema\OroTaxBundleInstaller – skipped
    > Oro\Bridge\MarketingCRM\Migrations\Schema\OroMarketingCRMBridgeBundleInstaller – skipped
    > Oro\Bundle\CheckoutBundle\Migrations\Schema\OroCheckoutBundleInstaller – skipped
    > Oro\Bridge\ContactUs\Migrations\Schema\OroContactUsBridgeBundleInstaller – skipped
    > Oro\Bundle\AlternativeCheckoutBundle\Migrations\Schema\OroAlternativeCheckoutBundleInstaller – skipped
    > Oro\Bundle\SaleBundle\Migrations\Schema\OroSaleBundleInstaller – skipped
    > Oro\Bundle\ShoppingListBundle\Migrations\Schema\OroShoppingListBundleInstaller – skipped
    > Oro\Bridge\CalendarCommerce\Migrations\Schema\OroCalendarCommerceBridgeBundleInstaller – skipped
    > Oro\Bridge\CustomerSales\Migrations\Schema\OroCustomerSalesBridgeBundleInstaller – skipped
    > Oro\Bridge\QuoteSales\Migrations\Schema\OroQuoteSalesBridgeBundleInstaller – skipped
    > Oro\Bundle\CaseBundle\Migrations\Schema\OroCaseBundleInstaller – skipped
    > Oro\Bundle\EntitySerializedFieldsBundle\Migrations\Schema\OroEntitySerializedFieldsBundleInstaller – skipped
    > Oro\Bundle\InventoryBundle\Migrations\Schema\OroInventoryBundleInstaller – skipped
    > Oro\Bundle\SEOBundle\Migrations\Schema\OroSEOBundleInstaller – skipped
    > Oro\Bridge\CalendarCRM\Migrations\Schema\OroCalendarCRMBridgeBundleInstaller – skipped
    > Oro\Bundle\ZendeskBundle\Migrations\Schema\OroZendeskBundleInstaller – skipped
    > Oro\Bundle\MailChimpBundle\Migrations\Schema\OroMailChimpBundleInstaller – skipped
    > Oro\Bridge\CallCRM\Migrations\Schema\OroCallCRMBridgeBundleInstaller – skipped
    > Oro\Bridge\CustomerAccount\Migrations\Schema\OroCustomerAccountBridgeBundleInstaller – skipped
    > Oro\Bridge\TaskCRM\Migrations\Schema\OroTaskCRMBundleInstaller – skipped
    > Oro\Bundle\DotmailerBundle\Migrations\Schema\OroDotmailerBundleInstaller – skipped
    > Oro\Bundle\AbandonedCartBundle\Migrations\Schema\OroAbandonedCartBundleInstaller – skipped
    > Oro\Bundle\ShippingBundle\Migrations\Schema\OroShippingBundleInstaller – skipped
    > Oro\Bundle\FlatRateShippingBundle\Migrations\Schema\OroFlatRateBundleInstaller – skipped
    > Oro\Bundle\UPSBundle\Migrations\Schema\OroUPSBundleInstaller – skipped
    > Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
    > Oro\Bundle\CheckoutBundle\Migrations\Schema\RemoveWorkflowFieldsMigration – skipped
    > Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration – skipped
    > Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration – skipped
    > Oro\Bundle\EntitySerializedFieldsBundle\Migration\SerializedDataMigration – skipped
    > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration – skipped
    > Oro\Bundle\ActivityContactBundle\Migration\ActivityContactMigration – skipped
    > Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration – skipped
    > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration – skipped
    > Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration – skipped

    [RuntimeException]
    Failed migrations: Oro\Bundle\ScopeBundle\Migrations\Schema\OroScopeBundleInstaller.

    Exception trace:
    () at C:\xampp\htdocs\oro\vendor\oro\platform\src\Oro\Bundle\MigrationBundle\Migration\MigrationExecutor.php:118
    Oro\Bundle\MigrationBundle\Migration\MigrationExecutor->executeUp() at C:\xampp\htdocs\oro\vendor\oro\platform\src\Oro\Bundle\MigrationBundle\Command\LoadMigrationsComma
    Oro\Bundle\MigrationBundle\Command\LoadMigrationsCommand->execute() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:259
    Symfony\Component\Console\Command\Command->run() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:866
    Symfony\Component\Console\Application->doRunCommand() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:193
    Symfony\Component\Console\Application->doRun() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:92
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:124
    Symfony\Component\Console\Application->run() at C:\xampp\htdocs\oro\app\console:22

    oro:migration:load [–force] [–dry-run] [–show-queries] [–bundles [BUNDLES]] [–exclude [EXCLUDE]] [–timeout [TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose]
    nt-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–disabled-listeners DISABLED-LISTENERS] [–] <command>

    AS00454007@INHYIZLP10702 c:\xampp\htdocs\oro
    #

    Also, in the Prod log, the error is:
    [2017-06-15 10:55:33] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Error: Maximum execution time of 600 seconds exceeded” at C:\xampp\htdocs\oro\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php line 35 {“exception”:”[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Error: Maximum execution time of 600 seconds exceeded at C:\\xampp\\htdocs\\oro\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOStatement.php:35)”} []

    It doesn’t matter how much I increase the max_execution_time in php.ini, I still get an error of 600s.

    Please advise.

    Atul

    #5126

    Metzler
    Participant

    I assume that 600s is set in the oro app. Use the timeout parameter to 0 or a high number:

    #5134

    Atul Sinha
    Participant

    Hi Metzler,

    Thank you for your reply!
    The installation still fails:

    AS00454007@INHYIZLP10702 c:\xampp\htdocs\oro
    # php app/console oro:migration:load -force -vvv -timeout 0

    [Symfony\Component\Console\Exception\RuntimeException]
    The “-f” option does not exist.

    Exception trace:
    () at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Input\ArgvInput.php:126
    Symfony\Component\Console\Input\ArgvInput->parseShortOptionSet() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Input\ArgvInput.php:107
    Symfony\Component\Console\Input\ArgvInput->parseShortOption() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Input\ArgvInput.php:86
    Symfony\Component\Console\Input\ArgvInput->parse() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Input\Input.php:62
    Symfony\Component\Console\Input\Input->bind() at C:\xampp\htdocs\oro\vendor\oro\platform\src\Oro\Bundle\PlatformBundle\EventListener\Console\OptionalListenersListener.ph
    Oro\Bundle\PlatformBundle\EventListener\Console\OptionalListenersListener->addOptionsToCommand() at C:\xampp\htdocs\oro\vendor\oro\platform\src\Oro\Bundle\PlatformBundle
    Oro\Bundle\PlatformBundle\EventListener\Console\OptionalListenersListener->onConsoleCommand() at n/a:n/a
    call_user_func() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php:61
    Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() at n/a:n/a
    call_user_func() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php:184
    Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php:4
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDis
    Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:
    Symfony\Component\Console\Application->doRunCommand() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:193
    Symfony\Component\Console\Application->doRun() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:92
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\xampp\htdocs\oro\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:124
    Symfony\Component\Console\Application->run() at C:\xampp\htdocs\oro\app\console:22

    oro:migration:load [–force] [–dry-run] [–show-queries] [–bundles [BUNDLES]] [–exclude [EXCLUDE]] [–timeout [TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose]
    nt-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–disabled-listeners DISABLED-LISTENERS] [–] <command>

    Same happens if I use a bigger number (6000).

    Please advise.

    Atul

    #5135

    Metzler
    Participant

    The console tells:

    Try without the paramter -f or –force.

    #5136

    Atul Sinha
    Participant

    Hi Metzler,

    Thank you!
    I did try removing the arguments and when I remove the -f parameter, I get an error on -t parameter.

    I also tried enabling the cgi.force_redirect in php.ini but that doesn’t help either.

    I tried finding where in the code the timeout is set to 600 but haven’t had much luck so far.

    Thanks,
    Atul

    #5137

    Metzler
    Participant

    now I get it.

    Don’t use:

    Use insted:

    (two minus character)

    Don’t use:

    Use instead:

    You can look at the parameter list:

    #5142

    Atul Sinha
    Participant

    Hi Metzler,

    Many thanks for the reply!
    I was able to get through the migration but I am not sure what to do next? It took me to the # prompt without any next steps. Shall I run the web installer through localhost/oro/web/install.php? I don’t think that would be right approach though.

    Apologies for so many questions, I am only trying to evaluate this software for a bigger implementation and hence need this working on my machine. Could you help?

    Thanks,
    Atul

    #5144

    mmiasnikov
    Oro Core

    Hi, @Atul Sinha!

    The migration command is just a part of installation process. As you correctly suggested @Metzler, you should set --timeout=0 option to command. But to perform entire installation process, you should, at the moment

    • Truncate your database
    • Run the following command:
    #5148

    techstunts
    Participant

    Hi Atul

    I agree with @mmiasnikov, you should try truncate the db and rerun the install command.

    If this doesnt work then try rerunning the entire installation process right from the cloning the the git. I am following the following steps to install the orocommerce in ubuntu ec2 instance.

    sudo apt-get update

    sudo apt-get install nodejs

    sudo apt-get install npm

    mysql -u root -p // Create db b2b_crm_dev

    sudo nano /opt/bitnami/php/conf/php.ini // Increase the memory limit. For installation I allowed unlimited value “-1”

    cd /opt/bitnami/apache2/htdocs

    git clone –recursive https://github.com/orocommerce/orocommerce-application.git

    cd orocommerce-application

    sudo chmod 777 -R * app/* app/config/* web/* app/cache ~/.composer

    composer install –prefer-dist

    php app/console oro:install –env=prod

    sudo chmod 777 -R * app/* app/config/* web/* app/cache ~/.composer app/cache/*

    Note : AWS EC2 micro and small instances repeatedly were maxing out with memory. The installation could happen for me in medium instance only.

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.