Closed leomasri closed 7 years ago
Did you update your vendors? It looks like you still have old vendors (in case of upgrade). Can you copy/paste your composer.json?
Hi @startupz !
Thanks for your reply. Here's my composer.json
:
{
"name": "oro/crm-application",
"description": "The OroCRM distribution",
"homepage": "https://github.com/orocrm/crm-application.git",
"license": "OSL-3.0",
"autoload": {
"psr-0": {
"": "src/"
}
},
"repositories": [
{
"type": "git",
"url": "https://github.com/orocrm/TranslationFormBundle.git"
},
{
"type": "composer",
"url": "https://packagist.orocrm.com"
}
],
"require": {
"oro/crm": "1.10.*",
"oro/crm-zendesk": "^1.7",
"oro/crm-mail-chimp": "^1.6",
"atwix/oro-mandrill": "dev-master"
},
"require-dev": {
"sensio/generator-bundle": "2.5.3",
"squizlabs/php_codesniffer": "2.3.3",
"behat/behat": "3.1.0",
"behat/mink-extension": "^2.0",
"behat/mink-selenium2-driver": "1.*",
"bossa/phpspec2-expect": "~1.0",
"behat/symfony2-extension": "2.1.1"
},
"config": {
"component-dir": "web/bundles/components"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setPermissions",
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::installAssets",
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setAssetsVersion"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setPermissions",
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::installAssets",
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setAssetsVersion"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
}
}
}
@startupz should I run composer.phar update vendor/* --no-dev
?
If you make a composer update you will only update to 1.10.x (last) version and not 2.0.x.
You should take composer.json
and composer.lock
from 2.0.0 tag here and make :
composer global require "fxp/composer-asset-plugin:~1.2"
composer install --prefer-dist --no-dev
Don't forget to edit app/config/config.yml More info
Ran composer install --prefer-dist --no-dev :
Loading composer repositories with package information
Updating dependencies
- Removing oro/moment-timezone (0.5.7)
- Removing jms/di-extra-bundle (1.8.1)
- Removing moment/moment (2.17.1)
- Removing components/backbone (1.1.2)
- Removing components/font-awesome (4.3.0)
- Removing components/underscore (1.7.0)
- Removing jms/job-queue-bundle (1.2.0)
- Removing oro/jsplumb (1.7.6)
- Removing jms/aop-bundle (1.2.0)
- Removing besimple/soap (v0.2.2)
- Removing zendframework/zend-i18n (2.1.5)
- Removing atwix/oro-mandrill (dev-master 6664227)
- Removing zendframework/zend-stdlib (2.1.5)
- Installing zendframework/zend-stdlib (2.4.0)
Downloading: 100%
- Removing zendframework/zend-validator (2.1.5)
- Installing zendframework/zend-validator (2.4.0)
Downloading: 100%
- Removing zendframework/zend-mime (2.1.5)
- Installing zendframework/zend-mime (2.4.0)
Downloading: 100%
- Removing zendframework/zend-loader (2.1.5)
- Installing zendframework/zend-loader (2.4.0)
Downloading: 100%
- Removing zendframework/zend-servicemanager (2.1.5)
- Installing zendframework/zend-servicemanager (2.4.0)
Downloading: 100%
- Removing zendframework/zend-math (2.1.5)
- Installing zendframework/zend-math (2.4.0)
Downloading: 100%
- Removing zendframework/zend-crypt (2.1.5)
- Installing zendframework/zend-crypt (2.4.0)
Downloading: 100%
- Removing zendframework/zend-mail (2.1.5)
- Installing zendframework/zend-mail (2.4.0)
Downloading: 100%
- Removing components/jquery (2.1.4)
- Installing components/jquery (3.1.1)
Downloading: 100%
- Removing twig/twig (v1.24.2)
- Installing twig/twig (v1.29.0)
Downloading: 100%
- Removing doctrine/common (v2.5.3)
- Installing doctrine/common (v2.6.2)
Downloading: 100%
- Removing symfony/symfony (v2.8.11)
- Installing symfony/symfony (v2.8.13)
Downloading: 100%
- Removing kriswallsmith/assetic (v1.3.1)
- Installing kriswallsmith/assetic (v1.4.0)
Downloading: 100%
- Removing twig/extensions (v1.0.1)
- Installing twig/extensions (v1.4.1)
Downloading: 100%
- Removing symfony/swiftmailer-bundle (v2.3.11)
- Installing symfony/swiftmailer-bundle (v2.4.2)
Downloading: 100%
- Removing symfony/monolog-bundle (v2.7.1)
- Installing symfony/monolog-bundle (v3.0.3)
Downloading: 100%
- Removing symfony/assetic-bundle (v2.7.1)
- Installing symfony/assetic-bundle (v2.8.1)
Downloading: 100%
- Removing sylius/flow-bundle (v0.6.0)
- Installing sylius/flow-bundle (v0.19.0)
Downloading: 100%
- Removing gedmo/doctrine-extensions (v2.3.12)
- Installing gedmo/doctrine-extensions (v2.4.26)
Downloading: 100%
- Removing stof/doctrine-extensions-bundle (v1.1.0)
- Installing stof/doctrine-extensions-bundle (v1.2.2)
Downloading: 100%
- Removing sensio/framework-extra-bundle (v2.3.4)
- Installing sensio/framework-extra-bundle (v3.0.12)
Downloading: 100%
- Installing snc/redis-bundle (1.1.10)
Downloading: 100%
- Installing predis/predis (v1.1.1)
Downloading: 100%
- Installing oro/redis-config (2.0.0-beta.1)
Downloading: 100%
- Removing doctrine/dbal (v2.5.1)
- Installing doctrine/dbal (v2.5.5)
Downloading: 100%
- Removing doctrine/orm (v2.5.1)
- Installing doctrine/orm (v2.5.5)
Downloading: 100%
- Installing npm-asset/requirejs (2.3.2)
Downloading: 100%
Skipped installation of bin ./bin/r.js for package npm-asset/requirejs: name conflicts with an existing file
- Installing npm-asset/bootstrap (v3.0.3)
Downloading: 100%
- Installing npm-asset/bootbox (v4.1.0)
Downloading: 100%
- Removing nesbot/carbon (1.8.0)
- Installing nesbot/carbon (1.21.0)
Downloading: 100%
- Removing mtdowling/cron-expression (v1.0.4)
- Installing mtdowling/cron-expression (v1.1.0)
Downloading: 100%
- Removing imagine/imagine (v0.5.0)
- Installing imagine/imagine (v0.6.3)
Downloading: 100%
- Removing liip/imagine-bundle (v0.17.1)
- Installing liip/imagine-bundle (1.6.0)
Downloading: 100%
- Removing lexik/maintenance-bundle (1.0.3)
- Installing lexik/maintenance-bundle (v2.1.1)
Downloading: 100%
- Removing knplabs/knp-menu (v2.0.0-alpha2)
- Installing knplabs/knp-menu (2.2.0)
Downloading: 100%
- Removing knplabs/knp-menu-bundle (v2.0.0-alpha2)
- Installing knplabs/knp-menu-bundle (2.1.3)
Downloading: 100%
- Removing knplabs/gaufrette (v0.1.9)
- Installing knplabs/gaufrette (0.2.1)
Downloading: 100%
- Removing knplabs/knp-gaufrette-bundle (v0.1.7)
- Installing knplabs/knp-gaufrette-bundle (0.3.0)
Downloading: 100%
- Removing phpcollection/phpcollection (0.2.0)
- Installing phpcollection/phpcollection (0.5.0)
Downloading: 100%
- Removing jms/serializer (0.14.0)
- Installing jms/serializer (1.4.2)
Downloading: 100%
- Removing jms/serializer-bundle (0.13.0)
- Installing jms/serializer-bundle (1.1.0)
Downloading: 100%
- Removing incenteev/composer-parameter-handler (v2.1.0)
- Installing incenteev/composer-parameter-handler (v2.1.2)
Downloading: 100%
- Removing genemu/form-bundle (v2.2.1)
- Installing genemu/form-bundle (v2.3.0)
Downloading: 100%
- Removing friendsofsymfony/rest-bundle (1.7.1)
- Installing friendsofsymfony/rest-bundle (1.7.9)
Downloading: 100%
- Removing friendsofsymfony/jsrouting-bundle (1.5.4)
- Installing friendsofsymfony/jsrouting-bundle (1.6.0)
Downloading: 100%
- Removing ezyang/htmlpurifier (v4.6.0)
- Installing ezyang/htmlpurifier (v4.8.0)
Downloading: 100%
- Removing doctrine/data-fixtures (v1.1.1)
- Installing doctrine/data-fixtures (v1.2.2)
Downloading: 100%
- Removing doctrine/doctrine-fixtures-bundle (v2.2.0)
- Installing doctrine/doctrine-fixtures-bundle (2.3.0)
Downloading: 100%
- Installing components/jqueryui (1.12.1)
Downloading: 100%
- Installing bower-asset/when (2.4.0)
Downloading: 100%
- Installing bower-asset/uniform (v2.1.1)
Downloading: 100%
- Installing bower-asset/underscore (1.8.3)
Downloading: 100%
- Installing bower-asset/jquery (3.1.1)
Downloading: 100%
- Installing bower-asset/timepicker (1.4.13)
Downloading: 100%
- Installing bower-asset/text (2.0.10)
Downloading: 100%
- Installing bower-asset/select2 (3.4.1)
Downloading: 100%
- Installing bower-asset/numeral (1.5.2)
Downloading: 100%
- Installing bower-asset/moment (2.17.1)
Downloading: 100%
- Installing bower-asset/moment-timezone (0.5.11)
Downloading: 100%
- Installing bower-asset/jquery-mousewheel (3.1.13)
Downloading: 100%
- Installing bower-asset/malihu-custom-scrollbar-plugin (3.1.5)
Downloading: 100%
- Installing bower-asset/lightgallery (1.2.18)
Downloading: 100%
- Installing bower-asset/less (v2.5.3)
Downloading: 100%
- Installing bower-asset/jsplumb (1.7.10)
Downloading: 100%
- Installing bower-asset/json2 (dev-master 031b1d9)
Downloading: 100%
- Installing bower-asset/jquery.numeric (v1.4.1)
Downloading: 100%
- Installing bower-asset/jquery-validate (1.11.1)
Downloading: 100%
- Installing bower-asset/jquery-ui-multiselect-widget (1.14)
Downloading: 100%
- Installing bower-asset/jquery-form (3.37.0)
Downloading: 100%
- Installing bower-asset/jquery-cookie (v1.4.1)
Downloading: 100%
- Installing bower-asset/jquery-ajax-queue (v0.0.1)
Downloading: 100%
- Installing bower-asset/fullcalendar (v2.2.3)
Downloading: 100%
- Installing bower-asset/font-awesome (v4.7.0)
Downloading: 100%
- Installing bower-asset/flotr2 (dev-master df0dded)
Downloading: 100%
- Installing bower-asset/datepair (0.4.4)
Downloading: 100%
- Installing bower-asset/crypto-js (3.1.7)
Downloading: 100%
- Installing bower-asset/backbone (1.2.3)
Downloading: 100%
- Installing bower-asset/chaplin (1.0.0)
Downloading: 100%
- Installing bower-asset/bootstrap (v2.3.0)
Downloading: 100%
- Installing bower-asset/bean (v1.0.6)
Downloading: 100%
- Installing bower-asset/base64 (1.0.0)
Downloading: 100%
- Installing bower-asset/backgrid (0.3.7)
Downloading: 100%
- Installing bower-asset/backbone.paginator (2.0.5)
Downloading: 100%
- Installing bower-asset/backgrid-paginator (v0.3.8)
Downloading: 100%
- Installing bower-asset/backbone-pageable (1.2.3)
Downloading: 100%
- Installing bower-asset/autolinker.js (0.11.0)
Downloading: 100%
- Installing bower-asset/autobahnjs (v0.8.0)
Downloading: 100%
- Removing ass/xmlsecurity (v1.0.0)
- Installing ass/xmlsecurity (v1.1.1)
Downloading: 100%
- Removing oro/platform (1.10.13)
- Installing oro/platform (2.0.0)
Downloading: 100%
- Installing oro/marketing (2.0.0)
Downloading: 100%
- Installing oro/calendar-bundle (2.0.0)
Downloading: 100%
- Removing oro/crm-call-bundle (1.0.3)
- Installing oro/crm-call-bundle (2.0.0)
Downloading: 100%
- Removing oro/crm-task-bundle (1.0.5)
- Installing oro/crm-task-bundle (2.0.0)
Downloading: 100%
- Removing oro/crm (1.10.13)
- Installing oro/crm (2.0.0)
Downloading: 100%
- Removing oro/crm-zendesk (1.7.0)
- Installing oro/crm-zendesk (2.0.0)
Downloading: 100%
- Removing oro/crm-mail-chimp (1.6.2)
- Installing oro/crm-mail-chimp (2.0.0)
Downloading: 100%
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead. Writing lock file Generating autoload files
ComponentInstaller\Installer::postAutoloadDump Compiling component files Oro\Bundle\InstallerBundle\Composer\ScriptHandler::checkComposerPlugin Incenteev\ParameterHandler\ScriptHandler::buildParameters Updating the "app/config/parameters.yml" file Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setPermissions Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setAssetsVersion Updating the "assets_version" parameter
Now I'm getting an error running:
sudo -u bitnami php app/console oro:platform:upgrade20 --env=prod --force
PHP Fatal error: Class 'JMS\JobQueueBundle\Console\Application' not found in /opt/bitnami/apps/orocrm/htdocs/app/console on line 30
Any ideas @startupz ?
You should remove /app/cache
folder
still the same:
bitnami@ip-172-31-46-201:~/apps/orocrm/htdocs$ sudo rm -rf app/cache/
bitnami@ip-172-31-46-201:~/apps/orocrm/htdocs$ ls app/
AppCache.php attachment check.php console-framework logs phpunit.xml.dist
AppKernel.php autoload.php config dist oro-check.php Resources
archive bootstrap.php.cache console DistributionKernel.php OroRequirements.php SymfonyRequirements.php
bitnami@ip-172-31-46-201:~/apps/orocrm/htdocs$ sudo -u bitnami php -d memory_limit=-1 app/console oro:platform:upgrade20 --env=prod --force
PHP Fatal error: Class 'JMS\JobQueueBundle\Console\Application' not found in /opt/bitnami/apps/orocrm/htdocs/app/console on line 30
:(
Any other ideas?
Yes of course!
Do you have some kind of APC cache enabled? If yes, you should restart php5-fpm or simply clear APC cache.
Still the same:
bitnami@ip-172-31-46-201:~/apps/orocrm/htdocs$ sudo /opt/bitnami/ctlscript.sh restart php-fpm
Unmonitored php-fpm
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/php/scripts/ctl.sh : php-fpm started
Monitored php-fpm
bitnami@ip-172-31-46-201:~/apps/orocrm/htdocs$ sudo -u bitnami php -d memory_limit=-1 app/console oro:platform:upgrade20 --env=prod --force
PHP Fatal error: Class 'JMS\JobQueueBundle\Console\Application' not found in /opt/bitnami/apps/orocrm/htdocs/app/console on line 30
I just saw this line:
- Removing jms/job-queue-bundle (1.2.0)
But no info about an installation...
Looking at the composer.json in branch 2.0
, I don't see the job queue bundle either.
Is it part of another bundle? Because it was required directly by oro/platform
in v1.10
Maybe you should run php app/console cache:clear -vvv
in order to have more informations.
Hi @leomasri
@sbani you are right!
I think your 'app/console' is old or custom and contains reference to JMS\JobQueueBundle, which was deleted in 2.0. Please change your version of orocrm to 2.0 via:
git checkout 2.0
Thanks @sbani , @startupz , @mkudelya !
Got the command to run, but now it fails midway claiming it has no memory, although the server has 30gb and I'm setting the limit high... :(
bitnami@ip-172-31-46-201:/opt/bitnami/apps/orocrm/htdocs$ sudo php -d memory_limit=20G app/console oro:platform:upgrade20 --env=prod --force
// Warming up the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
We recommend at least 1Gb to be available for PHP CLI
Process migrations...
> Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration
> Oro\Bundle\CRMBundle\Migrations\Schema\OroCRMBundleInstaller
> Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
> Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 880968 bytes) in /opt/bitnami/apps/orocrm/htdocs/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php on line 106
ERROR: The command terminated with an exit code: 255.
> 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\EntityExtendBundle\Migration\RefreshExtendCacheMigration.
oro:migration:load [--force] [--dry-run] [--show-queries] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
[RuntimeException]
The command '/opt/bitnami/php/bin/php.bin' 'app/console' 'oro:migration:load' '--force' '--timeout=300' '--env=prod' terminated with an exit code: 1.
oro:platform:update [--force] [--skip-assets] [--symlink] [--skip-translations] [--force-debug] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
[RuntimeException]
The command '/opt/bitnami/php/bin/php.bin' 'app/console' 'oro:platform:update' '--force' '--timeout=300' '--env=prod' terminated with an exit code: 1.
Please try these commands to see if php -d
works:
$ php -i | grep memory
$ php -d memory_limit=-1 -i | grep memory
My output:
$ php -i | grep memory
memory_limit => 128M => 128M
Collecting memory statistics => Yes
$ php -d memory_limit=-1 -i | grep memory
memory_limit => -1 => -1
Collecting memory statistics => Yes
Perfect @sbani @mkudelya , managed to increase the memory_limit for the php client. Now I'm getting a doctrine error running the migrations:
bitnami@ip-172-31-46-201:~/apps/orocrm/htdocs$ sudo php -d memory_limit=20G app/console oro:platform:upgrade20 --env=prod --force
// Warming up the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
Process migrations...
> Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration
> Oro\Bundle\CRMBundle\Migrations\Schema\OroCRMBundleInstaller
> Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
> Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
> Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration
> Oro\Bundle\EntitySerializedFieldsBundle\Migration\SerializedDataMigration
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration
> Oro\Bundle\ActivityContactBundle\Migration\ActivityContactMigration
> Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration
> Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration
Loading permissions...
> VIEW
> CREATE
> EDIT
> DELETE
> ASSIGN
> CONFIGURE
> MANAGE_API_KEY
> TRANSLATE
Loading workflow definitions...
> orocrm_contact_us_contact_request
> task_flow
> b2b_flow_lead
> b2b_flow_sales_funnel
> opportunity_flow
> b2c_flow_abandoned_shopping_cart
> b2c_flow_order_follow_up
Removing all previously loaded commands...
Processing command "oro:cron:email-body-sync": setting up schedule..
Processing command "oro:cron:definitions:load": Skipping, the command does not implement CronCommandInterface
Processing command "oro:cron:integration:cleanup": setting up schedule..
Processing command "oro:cron:integration:sync": setting up schedule..
Processing command "oro:cron:batch:cleanup": setting up schedule..
Processing command "oro:cron:imap-sync": setting up schedule..
Processing command "oro:cron:import-tracking": setting up schedule..
Processing command "oro:cron:tracking:parse": setting up schedule..
Processing command "oro:cron:send-email-campaigns": setting up schedule..
Processing command "oro:cron:calculate-tracking-event-summary": setting up schedule..
Processing command "oro:cron:lifetime-average:aggregate": setting up schedule..
Processing command "oro:cron:send-reminders": setting up schedule..
Processing command "oro:cron:analytic:calculate": setting up schedule..
Processing command "oro:cron:magento:cart:expiration": setting up schedule..
Processing command "oro:cron:mailchimp:export": setting up schedule..
Processing command "oro:cron:dotmailer:export-status:update": setting up schedule..
Processing command "oro:cron:dotmailer:mapped-fields-updates:process": setting up schedule..
[info] > process definition: "sync_email_flag_after_changed" - updated
[info] > process definition: "schedule_integration" - updated
[info] > process definition: "clear_user_email_origin_on_deactivation" - updated
[info] > process definition: "clear_imap_email_folder_on_sync_enabled_change" - updated
[info] > process definition: "analytics_channel_calculate_rfm" - updated
[info] > process definition: "convert_mailbox_email_to_lead" - updated
[info] > process definition: "magento_customer_creation" - updated
[info] > process definition: "magento_customer_export" - updated
[info] > process definition: "magento_customer_address_export" - updated
[info] > process definition: "magento_analytics_customer_calculate" - updated
[info] > process definition: "magento_analytics_customer_calculate_imported" - updated
[info] > process definition: "magento_schedule_integration" - updated
[info] > process definition: "convert_mailbox_email_to_case" - updated
[info] > process definition: "synchronize_marketing_list_item_for_mailchimp_member_activity" - updated
[info] > process definition: "create_email_campaign_for_mailchimp_campaign" - updated
[info] > process definition: "mailchimp_handle_member_state" - updated
[info] > process definition: "schedule_mailchimp_segment_synchronization" - updated
[info] > process definition: "dotmailer_email_campaign_creation" - updated
[info] > process definition: "dotmailer_contact_activity_update" - updated
[info] > process definition: "dotmailer_handle_contact_state" - updated
[info] > process definition: "schedule_dotmailer_address_book_synchronization" - updated
[info] > process definition: "dotmailer_handle_removed_address_book_contact" - updated
[info] Process definitions configuration updates are stored into database
[info] >> process trigger: analytics_channel_calculate_rfm [update] - updated
[info] >> process trigger: clear_imap_email_folder_on_sync_enabled_change [update] - updated
[info] >> process trigger: clear_user_email_origin_on_deactivation [update] - updated
[info] >> process trigger: create_email_campaign_for_mailchimp_campaign [create] - updated
[info] >> process trigger: dotmailer_contact_activity_update [create] - updated
[info] >> process trigger: dotmailer_contact_activity_update [update] - updated
[info] >> process trigger: dotmailer_email_campaign_creation [create] - updated
[info] >> process trigger: dotmailer_handle_contact_state [create] - updated
[info] >> process trigger: dotmailer_handle_contact_state [update] - updated
[info] >> process trigger: dotmailer_handle_removed_address_book_contact [delete] - updated
[info] >> process trigger: magento_analytics_customer_calculate [update] - updated
[info] >> process trigger: magento_analytics_customer_calculate_imported [create] - updated
[info] >> process trigger: magento_customer_address_export [update] - updated
[info] >> process trigger: magento_customer_creation [create] - updated
[info] >> process trigger: magento_customer_export [update] - updated
[info] >> process trigger: magento_schedule_integration [update] - updated
[info] >> process trigger: mailchimp_handle_member_state [update] - updated
[info] >> process trigger: schedule_dotmailer_address_book_synchronization [update] - updated
[info] >> process trigger: schedule_integration [update] - updated
[info] >> process trigger: schedule_integration [create] - updated
[info] >> process trigger: schedule_mailchimp_segment_synchronization [create] - updated
[info] >> process trigger: schedule_mailchimp_segment_synchronization [update] - updated
[info] >> process trigger: sync_email_flag_after_changed [update] - updated
[info] >> process trigger: synchronize_marketing_list_item_for_mailchimp_member_activity [create] - updated
[info] >> process triggers modifications stored in DB
Loading "main" data fixtures ...
> loading Oro\Bundle\WorkflowBundle\Migrations\Data\ORM\UpdateDefinitionTranslations
> loading Oro\Bundle\SalesBundle\Migrations\Data\ORM\UpdateFeaturesConfigs
> loading Oro\Bundle\ScopeBundle\Migrations\Data\ORM\LoadDefaultScope
> loading Oro\Bundle\MagentoBundle\Migrations\Data\ORM\CreateAccountEntities
[Doctrine\ORM\Query\QueryException]
[Semantical Error] line 0, col 117 near 'customer_f2bbc387': Error: Class Oro\Bundle\SalesBundle\Entity\Customer has no field or association named customer_f2bbc387
[Doctrine\ORM\Query\QueryException]
SELECT c FROM Oro\Bundle\MagentoBundle\Entity\Customer c LEFT JOIN Oro\Bundle\SalesBundle\Entity\Customer ca WITH ca.customer_f2bbc387 = c WHERE ca.id IS NULL
oro:migration:data:load [--fixtures-type [FIXTURES-TYPE]] [--dry-run] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
[RuntimeException]
The command '/opt/bitnami/php/bin/php.bin' 'app/console' 'oro:migration:data:load' '--env=prod' terminated with an exit code: 1.
oro:platform:update [--force] [--skip-assets] [--symlink] [--skip-translations] [--force-debug] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
[RuntimeException]
The command '/opt/bitnami/php/bin/php.bin' 'app/console' 'oro:platform:update' '--force' '--timeout=300' '--env=prod' terminated with an exit code: 1.
Hi @leomasri
I suggest you set database state to original 1.10.13, delete cache folder and run upgrade. Do you have any customization ?
Hi @mkudelya , thanks for the tip. But I don't have any customizations, so not sure how to move forward... :(
Thanks @mkudelya for your help.
I've given up and started from scratch with a new 1.12 installation. I've managed to successfully upgrade it to 2.0 . However, after enabling Leads and Opportunities, I've getting a js error when trying to access /opportunity
I've tried clearing the cache and also running oro:requirejs:build
but couldn't fix it.
Anybody ran into this?
Thanks!
Uncaught TypeError: 'optionValues' must be of type {Array.<Array>|Array.<{name: string, values: Array.<Array>}>}
at constructor.render (oro.min.js?version=0c729ca6:1527)
at constructor.render (oro.min.js?version=0c729ca6:1529)
at R.n.n.exports.t.renderItem (oro.min.js?version=0c729ca6:1488)
at R.n.n.exports.t.renderAllItems (oro.min.js?version=0c729ca6:1488)
at R.n.renderAllItems (oro.min.js?version=0c729ca6:1528)
at R.n.renderAllItems (oro.min.js?version=0c729ca6:1488)
at R.n.n.exports.t.render (oro.min.js?version=0c729ca6:1488)
at R.n.render (oro.min.js?version=0c729ca6:1528)
at R.n.render (oro.min.js?version=0c729ca6:1488)
at R.n.n.exports.t.renderItem (oro.min.js?version=0c729ca6:1488)
Also tried setting require js optimization flag to none in config.yml as per https://github.com/orocrm/platform/issues/110 and rebuild, but it didn't work either :(
Thanks everybody for their help! closing this issue and following up in #241
Following the instructions: https://github.com/orocrm/crm/blob/master/UPGRADE-2.0.md , when running the replacement step 7:
sudo -u www-data php app/console oro:platform:upgrade20 --env=prod --force
I get the following:
Should I update the console command? If so, how?.
Thanks in advance!