Skip to content

Instantly share code, notes, and snippets.

@adri
Created November 1, 2014 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adri/8dfaaedce60a0ee21e54 to your computer and use it in GitHub Desktop.
Save adri/8dfaaedce60a0ee21e54 to your computer and use it in GitHub Desktop.
OroCRM crm-application install error
php app/console oro:install --env prod | tee install.log
Installing Oro Application.
Oro requirements check:
+---------+-------------------------------------------------------------------------------------------+
| Check | Mandatory requirements |
+---------+-------------------------------------------------------------------------------------------+
| OK | Vendor libraries must be installed |
| OK | app/cache/ directory must be writable |
| OK | app/logs/ directory must be writable |
| OK | Configured default timezone "Europe/Berlin" must be supported by your installation of PHP |
| OK | json_encode() must be available |
| OK | session_start() must be available |
| OK | ctype_alpha() must be available |
| OK | token_get_all() must be available |
| OK | simplexml_import_dom() must be available |
| OK | PCRE extension must be available |
| OK | Cache folder should not be inside encrypted directory |
+---------+-------------------------------------------------------------------------------------------+
+---------+--------------------------------------------+
| Check | PHP settings |
+---------+--------------------------------------------+
| OK | date.timezone setting must be set |
| OK | detect_unicode must be disabled in php.ini |
| OK | memory_limit should be at least 512M |
+---------+--------------------------------------------+
+---------+--------------------------------------------------------+
| Check | Oro specific requirements |
+---------+--------------------------------------------------------+
| OK | PHP version must be at least 5.4.9 (5.6.2-1 installed) |
| OK | GD extension must be at least 2.0 |
| OK | cURL extension must be at least 7.0 |
| OK | mcrypt_encrypt() should be available |
| OK | intl extension should be available |
| OK | icu library must be at least 3.8 |
| OK | web/uploads/ directory must be writable |
| OK | web/media/ directory must be writable |
| OK | web/bundles/ directory must be writable |
| OK | app/attachment/ directory must be writable |
| OK | web directory must be writable |
| OK | app/config/parameters.yml file must be writable |
+---------+--------------------------------------------------------+
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check | Optional recommendations |
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OK | Requirements file should be up-to-date |
| OK | When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration) |
| OK | PCRE extension should be at least version 8.0 (8.31 installed) |
| OK | PHP-XML module should be installed |
| OK | mb_strlen() should be available |
| OK | iconv() should be available |
| OK | utf8_decode() should be available |
| OK | posix_isatty() should be available |
| OK | intl extension should be available |
| OK | intl extension should be correctly configured |
| OK | intl ICU version should be at least 4+ |
| OK | a PHP accelerator should be installed |
| OK | short_open_tag should be disabled in php.ini |
| OK | magic_quotes_gpc should be disabled in php.ini |
| OK | register_globals should be disabled in php.ini |
| OK | session.auto_start should be disabled in php.ini |
| OK | PDO should be installed |
| OK | PDO should have some drivers installed (currently available: mysql, pgsql) |
| OK | SOAP extension should be installed (API calls) |
| OK | NodeJS should be installed |
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Dropping database schema...
Database schema dropped successfully!
Clear the entity config cache
Clear the extended entity cache
Setting up database.
Process migrations...
> Oro\Bundle\MigrationBundle\Migration\CreateMigrationTableMigration
> Oro\Bundle\OrganizationBundle\Migrations\Schema\OroOrganizationBundleInstaller
> Oro\Bundle\SecurityBundle\Migrations\Schema\v1_0\OroSecurityBundle
> Oro\Bundle\AttachmentBundle\Migrations\Schema\OroAttachmentBundleInstaller
> Oro\Bundle\EmailBundle\Migrations\Schema\OroEmailBundleInstaller
> Oro\Bundle\EmailBundle\Migrations\Schema\v1_4\OroEmailBundle
> Oro\Bundle\UserBundle\Migrations\Schema\OroUserBundleInstaller
> Oro\Bundle\IntegrationBundle\Migrations\Schema\OroIntegrationBundleInstaller
> Oro\Bundle\ActivityBundle\Migrations\Schema\OroActivityBundleInstaller
> Oro\Bundle\AddressBundle\Migrations\Schema\OroAddressBundleInstaller
> Oro\Bundle\BatchBundle\Migrations\Schema\OroBatchBundleInstaller
> Oro\Bundle\CalendarBundle\Migrations\Schema\OroCalendarBundleInstaller
> Oro\Bundle\ConfigBundle\Migrations\Schema\v1_0\OroConfigBundle
> Oro\Bundle\CronBundle\Migrations\Schema\v1_0\JmsJob
> Oro\Bundle\CronBundle\Migrations\Schema\v1_0\OroCronBundle
> Oro\Bundle\CronBundle\Migrations\Schema\v1_1\JmsJob
> Oro\Bundle\DashboardBundle\Migrations\Schema\OroDashboardBundleInstaller
> Oro\Bundle\DataAuditBundle\Migrations\Schema\v1_0\OroDataAuditBundle
> Oro\Bundle\DataAuditBundle\Migrations\Schema\v1_1\OroDataAuditBundle
> Oro\Bundle\DataAuditBundle\Migrations\Schema\v1_2\OroDataAuditBundle
> Oro\Bundle\EmbeddedFormBundle\Migrations\Schema\OroEmbeddedFormBundleInstaller
> Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroEntityConfigBundleInstaller
> Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_3\OroEntityConfigBundle
> Oro\Bundle\EntityExtendBundle\Migrations\Schema\OroEntityExtendBundleInstaller
> Oro\Bundle\ImapBundle\Migrations\Schema\v1_0\OroImapBundle
> Oro\Bundle\ImapBundle\Migrations\Schema\v1_1\OroImapBundle
> Oro\Bundle\ImapBundle\Migrations\Schema\v1_2\OroImapBundle
> Oro\Bundle\InstallerBundle\Migrations\Schema\OroInstallerBundle
> Oro\Bundle\MigrationBundle\Migrations\Schema\v1_0\OroMigrationBundle
> Oro\Bundle\MigrationBundle\Migrations\Schema\v1_1\OroMigrationBundle
> Oro\Bundle\NoteBundle\Migrations\Schema\v1_0\OroNoteBundle
> Oro\Bundle\NoteBundle\Migrations\Schema\v1_1\OroNoteBundle
> Oro\Bundle\NotificationBundle\Migrations\Schema\OroNotificationBundleInstaller
> Oro\Bundle\ReportBundle\Migrations\Schema\OroReportBundleInstaller
> Oro\Bundle\SearchBundle\Migrations\Schema\OroSearchBundleInstaller
> Oro\Bundle\SegmentBundle\Migrations\Schema\OroSegmentBundleInstaller
> Oro\Bundle\SidebarBundle\Migrations\Schema\v1_0\OroSidebarBundle
> Oro\Bundle\SidebarBundle\Migrations\Schema\v1_1\OroSidebarBundle
> Oro\Bundle\TagBundle\Migrations\Schema\OroTagBundleInstaller
> Oro\Bundle\TranslationBundle\Migrations\Schema\OroTranslationBundleInstaller
> Oro\Bundle\WindowsBundle\Migrations\Schema\v1_0\OroWindowsBundle
> Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowBundleInstaller
> Oro\Bundle\NavigationBundle\Migrations\Schema\v1_0\OroNavigationBundle
> Oro\Bundle\NavigationBundle\Migrations\Schema\v1_1\OroNavigationBundle
> Oro\Bundle\NavigationBundle\Migrations\Schema\v1_2\OroNavigationBundle
> Oro\Bundle\NavigationBundle\Migrations\Schema\v1_3\OroNavigationBundle
> OroCRM\Bundle\ContactBundle\Migrations\Schema\OroCRMContactBundleInstaller
> OroCRM\Bundle\AccountBundle\Migrations\Schema\OroCRMAccountBundleInstaller
> OroCRM\Bundle\MarketingListBundle\Migrations\Schema\OroCRMMarketingListBundleInstaller
> Oro\Bundle\TrackingBundle\Migrations\Schema\OroTrackingBundleInstaller
> Oro\Bundle\ReminderBundle\Migrations\Schema\OroReminderBundleBundleInstaller
> OroCRM\Bundle\CallBundle\Migrations\Schema\OroCRMCallBundleInstaller
> OroCRM\Bundle\CampaignBundle\Migrations\Schema\OroCRMCampaignBundleInstaller
> OroCRM\Bundle\CampaignBundle\Migrations\Schema\v1_4\OroCRMCampaignBundle
> OroCRM\Bundle\ChannelBundle\Migrations\Schema\OroCRMChannelBundleInstaller
> OroCRM\Bundle\TaskBundle\Migrations\Schema\OroCRMTaskBundleInstaller
> OroCRM\Bundle\SalesBundle\Migrations\Schema\OroCRMSalesBundleInstaller
> OroCRM\Bundle\ContactUsBundle\Migrations\Schema\OroCRMContactUsBundleInstaller
> OroCRM\Bundle\MagentoBundle\Migrations\Schema\OroCRMMagentoBundleInstaller
> OroCRM\Bundle\MagentoBundle\Migrations\Schema\v1_19\OroCRMMagentoBundle
> OroCRM\Bundle\MagentoBundle\Migrations\Schema\v1_20\OroCRMMagentoBundle
> OroCRM\Bundle\MagentoBundle\Migrations\Schema\v1_21\OroCrmMagentoBundle
> OroCRM\Bundle\CaseBundle\Migrations\Schema\OroCRMCaseBundleInstaller
> Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
> Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
> Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration
Loading workflow definitions...
> task_flow
> b2b_flow_lead
> b2b_flow_sales
> b2b_flow_sales_funnel
> b2c_flow_abandoned_shopping_cart
> b2c_flow_order_follow_up
Loading process definitions...
> magento_customer_creation
Loading process triggers...
> magento_customer_creation:create
Loading "main" data fixtures ...
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\LoadLeadSourceData
> loading OroCRM\Bundle\TaskBundle\Migrations\Data\ORM\LoadTaskPriority
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\ConvertLeadSourceData
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\UpdateWorkflowStartStep
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\LoadLeadStatusData
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\LoadOpportunityStatusData
> loading OroCRM\Bundle\CallBundle\Migrations\Data\ORM\LoadCallDirectionData
> loading OroCRM\Bundle\CallBundle\Migrations\Data\ORM\LoadCallStatusData
> loading OroCRM\Bundle\ContactBundle\Migrations\Data\ORM\LoadSourceData
> loading OroCRM\Bundle\ContactBundle\Migrations\Data\ORM\LoadGroupData
> loading OroCRM\Bundle\ContactBundle\Migrations\Data\ORM\LoadMethodData
> loading OroCRM\Bundle\AccountBundle\Migrations\Data\ORM\RemoveAccountExtendFields
> loading Oro\Bundle\OrganizationBundle\Migrations\Data\ORM\LoadOrganizationAndBusinessUnitData
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\DeactivateSalesWorkflows
> loading OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\LoadOpportunityCloseReasonData
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\UpdateCustomerAddresses
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\UpdateCustomerVat
> loading OroCRM\Bundle\CaseBundle\Migrations\Data\ORM\LoadSourceData
> loading OroCRM\Bundle\CaseBundle\Migrations\Data\ORM\LoadStatusData
> loading OroCRM\Bundle\CaseBundle\Migrations\Data\ORM\LoadPriorityData
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadShoppingCartStatusData
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadRegions
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadMagentoCountryData
> loading OroCRM\Bundle\ContactUsBundle\Migrations\Data\ORM\LoadContactReasonData
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\UpdateCustomerLifetime
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\UpdateWorkflowStartStep
> loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\UpdateDefaultWorkflowItem
> loading Oro\Bundle\WorkflowBundle\Migrations\Data\ORM\ExcludeImportExportFields
> loading OroCRM\Bundle\MarketingListBundle\Migrations\Data\ORM\LoadMarketingListTypes
> loading Oro\Bundle\EntityConfigBundle\Migrations\Data\ORM\UpdateModuleAndEntityFields
> loading Oro\Bundle\ReportBundle\Migrations\Data\ORM\LoadReportTypes
> loading Oro\Bundle\NotificationBundle\Migrations\Data\ORM\LoadDefaultNotificationEvents
> loading Oro\Bundle\AddressBundle\Migrations\Data\ORM\LoadAddressTypeData
> loading Oro\Bundle\EmailBundle\Migrations\Data\ORM\LoadInternalEmailOrigins
> loading Oro\Bundle\SegmentBundle\Migrations\Data\ORM\LoadSegmentTypes
> loading Oro\Bundle\AddressBundle\Migrations\Data\ORM\LoadCountryData
> loading Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadRolesData
> loading Oro\Bundle\SecurityBundle\Migrations\Data\ORM\LoadAclRoles
> loading Oro\Bundle\AttachmentBundle\Migrations\Data\Orm\UpdateAttachmentsWithOrganization
PHP Warning: Erroneous data format for unserializing 'Oro\Bundle\OrganizationBundle\Entity\Organization' in /.../crm-application/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php on line 872
PHP Notice: unserialize(): Error at offset 60 of 61 bytes in /.../crm-application/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php on line 872
PHP Fatal error: __clone method called on non-object in /.../crm-application/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php on line 876
[RuntimeException]
The command terminated with an exit code: 255.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment