Forums › Forums › OroCommerce › I can't setup/install orocommerce
This topic contains 13 replies, has 6 voices, and was last updated by techstunts 6 years, 9 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- July 1, 2016 at 12:02 am #31161
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…
- CreatorTopic
- AuthorReplies
- July 1, 2016 at 4:26 am #31162
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.July 3, 2016 at 6:43 pm #31163It 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.
June 14, 2017 at 7:29 am #31164Hello,
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
:22Please help.
Atul
June 14, 2017 at 7:43 am #31165Hey sinha.at,
there should be more console output. Could you send it please?
June 15, 2017 at 9:11 am #31166Hi,
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:22oro: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
June 15, 2017 at 10:07 am #31167I assume that 600s is set in the oro app. Use the timeout parameter to 0 or a high number:
Shell1php app/console oro:migration:load -force -vvv -env=prod -timeout 0June 16, 2017 at 2:54 am #31168Hi 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:22oro: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
June 16, 2017 at 3:03 am #31169The console tells:
Shell1The "-f" option does not exist.Try without the paramter -f or –force.
June 16, 2017 at 4:13 am #31170Hi Metzler,
Thank you!
I did try removing the arguments and when I remove the -f parameter, I get an error on -t parameter.PHP12345# php app/console oro:migration:load -vvv -timeout 0[Symfony\Component\Console\Exception\RuntimeException]The "-t" option does not exist.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,
AtulJune 16, 2017 at 4:33 am #31171now I get it.
Don’t use:
Shell1-forceUse insted:
Shell1--force(two minus character)
Don’t use:
PHP1-timeoutUse instead:
Shell1--timeoutYou can look at the parameter list:
Shell1php app/console --helpJune 16, 2017 at 6:07 am #31172Hi 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,
AtulJune 16, 2017 at 9:07 am #31173Hi, @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:Shell1app/console oro:install --timeout=0
June 18, 2017 at 1:40 pm #31174Hi 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.
- AuthorReplies
The forum ‘OroCommerce’ is closed to new topics and replies.