This topic contains 7 replies, has 4 voices, and was last updated by Andrey Yatsenko 5 years, 10 months ago.
- Topic
Hi,
I have problems with migrations on our server when I run command php app/console oro:migration:load –force –timeout=99999:
ERROR: The target-entity Extend\Entity\EV_Lead_Source cannot be found in ‘OroCRM\Bundle\SalesBundle\Entity\Lead#source’.Complete log is (there is much more warnings like PHP Warning: filemtime()):
1234567891011121314151617Process migrations…> Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration> Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration> Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigrationPHP Notice: Undefined index: My\Bundle\SalesBundle\Entity\SalesEntity in /var/www/html/crm/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/Config/ConfigModelManager.php on line 366PHP Warning: Invalid argument supplied for foreach() in /var/www/html/crm/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/Config/ConfigModelManager.php on line 366> Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigrationPHP Notice: Undefined index: My\Bundle\SalesBundle\Entity\SalesEntity in /var/www/html/crm/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/Config/ConfigModelManager.php on line 366PHP Warning: Invalid argument supplied for foreach() in /var/www/html/crm/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/Config/ConfigModelManager.php on line 366> OroCRM\Bundle\ActivityContactBundle\Migration\ActivityContactMigrationPHP Warning: filemtime(): stat failed for /var/www/html/crm/app/cache/dev/oro_entities/Extend/Entity/EX_OroAttachmentBundle_Attachment.php in /var/www/html/crm/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php on line 151…PHP Warning: filemtime(): stat failed for /var/www/html/crm/app/cache/dev/oro_entities/Extend/Entity/EX_OroAttachmentBundle_Attachment.php in /var/www/html/crm/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php on line 151ERROR: The target-entity Extend\Entity\EV_Lead_Source cannot be found in ‘OroCRM\Bundle\SalesBundle\Entity\Lead#source’.> Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration – skipped> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration – skippedI tried run commands:
rm -rf app/cache/*
php app/console oro:entity-config:update
php app/console oro:entity-extend:update-config
php app/console cache:clear -e dev && php app/console cache:clear -e prod
but it doesn’t help.
Could you give me some advice?
The forum ‘OroCRM’ is closed to new topics and replies.