在Windows上安装OroCRM

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在Windows上安装OroCRM相关的知识,希望对你有一定的参考价值。

当我尝试在Linux和Macintosh(Mac OS X)上安装OroCrm时,它成功了。但不适用于Windows操作系统。而不是去Bitnami OroCRM安装程序我特别喜欢从Apache 2.4.x,php 7.1.x,mysql中单独安装,就像在* nix操作系统中一样。

完成必备步骤后,从浏览器中完成

所以我尝试通过命令行界面安装:

C:Apache24htdocsorocrm>php composer.phar install

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 0 installs, 1 update, 0 removals
  - Updating sebastian/phpcpd dev-master (cff7f36 => b6dd25b):     Update failed (The .git directory is missing from C:Apache24htdocsorocrmvendor/sebastian/phpcpd, see https://getcomposer.org/commit-deps for more information)
    Would you like to try reinstalling the package instead [yes]? yes
  - Removing sebastian/phpcpd (dev-master)
  - Installing sebastian/phpcpd (dev-master b6dd25b): Cloning b6dd25b89f from cache
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
Generating autoload files
> ComponentInstallerInstaller::postAutoloadDump
Compiling component files
> IncenteevParameterHandlerScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> SensioBundleDistributionBundleComposerScriptHandler::buildBootstrap
> SensioBundleDistributionBundleComposerScriptHandler::installRequirementsFile
> OroBundleInstallerBundleComposerScriptHandler::setPermissions
> OroBundleInstallerBundleComposerScriptHandler::installAssets
> OroBundleInstallerBundleComposerScriptHandler::setAssetsVersion
Updating the "assets_version" parameter

我试图从默认的parameters.yml文件创建数据库

C:Apache24htdocsorocrm>php app/console doctrine:database:create
Created database `oro_crm` for connection named default

接下来在安装过程中:

C:Apache24htdocsorocrm>php app/console oro:install
Installing Oro Application.

Oro requirements check:
+---------+------------------------------------------------------------------------------------------+
| Check   | Mandatory requirements                                                                   |
+---------+------------------------------------------------------------------------------------------+
| OK      | Vendor libraries must be installed                                                       |
| OK      | app/cache/ or var/cache/ directory must be writable                                      |
| OK      | app/logs/ or var/logs/ directory must be writable                                        |
| OK      | Configured default timezone "Asia/Kolkata" must be supported by your installation of PHP |
| OK      | iconv() must be available                                                                |
| 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      | C:UsersuserAppDataLocalTemp (sys_get_temp_dir()) directory must be writable         |
+---------+------------------------------------------------------------------------------------------+
+---------+--------------------------------------------+
| Check   | PHP settings                               |
+---------+--------------------------------------------+
| OK      | detect_unicode must be disabled in php.ini |
| OK      | string functions should not be overloaded  |
| OK      | memory_limit should be at least 512M       |
+---------+--------------------------------------------+
+---------+----------------------------------------------------+
| Check   | Oro specific requirements                          |
+---------+----------------------------------------------------+
| OK      | PHP version must be at least 7.0 (7.1.7 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      | zip extension should be installed                  |
| 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      | app/import_export/ directory must be writable      |
| OK      | web directory must be writable                     |
| OK      | app/config/parameters.yml file must be writable    |
+---------+----------------------------------------------------+
+---------+--------------------------------------------------------------------------------------------------------------------------+
| Check   | Optional recommendations                                                                                                 |
+---------+--------------------------------------------------------------------------------------------------------------------------+
| OK      | Vendors should be installed in order to check all requirements.                                                          |
| OK      | Requirements file should be up-to-date                                                                                   |
| OK      | PCRE extension should be at least version 8.0 (8.38 installed)                                                           |
| OK      | PHP-DOM and PHP-XML modules should be installed                                                                          |
| OK      | mb_strlen() should be available                                                                                          |
| OK      | utf8_decode() should be available                                                                                        |
| OK      | filter_var() 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      | intl ICU version installed on your system is outdated (57.1) and does not match the ICU data bundled with Symfony (57.1) |
| OK      | intl ICU version installed on your system (57.1) does not match the ICU data bundled with Symfony (57.1)                 |
| OK      | intl.error_level should be 0 in php.ini                                                                                  |
| OK      | a PHP accelerator should be installed                                                                                    |
| OK      | realpath_cache_size should be at least 5M in php.ini                                                                     |
| 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)                                                      |
| OK      | SOAP extension should be installed (API calls)                                                                           |
| OK      | Tidy extension should be installed to make sure that any html is correctly converted into a text representation.         |
| OK      | finfo_open() should be available                                                                                         |
| OK      | COM extension should be installed                                                                                        |
| OK      | A JS Engine (node) is installed                                                                                          |
+---------+--------------------------------------------------------------------------------------------------------------------------+

Setting up database.
Process migrations...
  > OroBundleEntityExtendBundleMigrationLoadEntityConfigStateMigration
  > OroBundleMigrationBundleMigrationCreateMigrationTableMigration
  > OroBundlePlatformBundleMigrationsSchemaOroPlatformBundleInstaller
  > OroBundleScopeBundleMigrationsSchemaOroScopeBundleInstaller
  > OroBundleOrganizationBundleMigrationsSchemaOroOrganizationBundleInstaller
  > OroBundleSecurityBundleMigrationsSchemaOroSecurityBundleInstaller
  > OroBundleAttachmentBundleMigrationsSchemaOroAttachmentBundleInstaller
  > OroBundleOroMessageQueueBundleMigrationsSchemaOroMessageQueueBundleInstaller
  > OroBundleEmailBundleMigrationsSchemaOroEmailBundleInstaller
  > OroBundleCronBundleMigrationsSchemaOroCronBundleInstaller
  > OroBundleUserBundleMigrationsSchemaOroUserBundleInstaller
  > OroBundleDataGridBundleMigrationsSchemaOroDataGridBundleInstaller
  > OroBundleSSOBundleMigrationsSchemaOroSSOBundleInstaller
  > OroBundleTranslationBundleMigrationsSchemaOroTranslationBundleInstaller
  > OroBundleEntityBundleMigrationsSchemaOroEntityBundleInstaller
  > OroBundleLocaleBundleMigrationsSchemaOroLocaleBundleInstaller
  > OroBundleEntityConfigBundleMigrationsSchemaOroEntityConfigBundleInstaller
  > OroBundleEntityExtendBundleMigrationsSchemaOroEntityExtendBundleInstaller
  > OroBundleIntegrationBundleMigrationsSchemaOroIntegrationBundleInstaller
  > OroBundleNotificationBundleMigrationsSchemaOroNotificationBundleInstaller

完成安装后。我尝试运行以下命令来预热API文档缓存

C:Apache24htdocsorocrm>php app/console oro:api:doc:cache:clear

 // Warming up cache for the default view...

 // Warming up cache for the rest_json_api view...



  [OroComponentChainProcessorExceptionExecutionFailedException]
  Processor failed: "oro_api.collect_subresources.initialize_subresources". Reason: Processor failed: "oro_api.get_co
  nfig.complete_definition". Reason: Entity "OroBundleAttachmentBundleEntityAttachment" is not configurable



  [OroComponentChainProcessorExceptionExecutionFailedException]
  Processor failed: "oro_api.get_config.complete_definition". Reason: Entity "OroBundleAttachmentBundleEntityAtta
  chment" is not configurable



  [OroBundleEntityConfigBundleExceptionRuntimeException]
  Entity "OroBundleAttachmentBundleEntityAttachment" is not configurable


oro:api:doc:cache:clear [--view [VIEW]] [--no-warmup] [-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] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>

来自dev.log文件

php.INFO: "SymfonyComponentConsoleHelperDialogHelper" is deprecated since version 2.5 and will be removed in 3.0. Use "SymfonyComponentConsoleHelperQuestionHelper" instead. {"type":16384,"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Helper\HelperSet.php","line":86,"level":28928,"stack":[{"function":"handleError","class":"Symfony\Component\Debug\ErrorHandler","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Helper\HelperSet.php","line":86,"function":"trigger_error"},{"file":"C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Bundle\InstallerBundle\Command\InstallCommand.php","line":88,"function":"get","class":"Symfony\Component\Console\Helper\HelperSet","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php","line":259,"function":"execute","class":"Oro\Bundle\InstallerBundle\Command\InstallCommand","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":866,"function":"run","class":"Symfony\Component\Console\Command\Command","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":193,"function":"doRunCommand","class":"Symfony\Component\Console\Application","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php","line":92,"function":"doRun","class":"Symfony\Component\Console\Application","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":124,"function":"doRun","class":"Symfony\Bundle\FrameworkBundle\Console\Application","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\app\console","line":22,"function":"run","class":"Symfony\Component\Console\Application","type":"->"}]} []
doctrine.DEBUG: SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' [] []
doctrine.DEBUG: SELECT t0.id AS id_1, t0.class_name AS class_name_2, t0.created AS created_3, t0.updated AS updated_4, t0.mode AS mode_5, t0.data AS data_6 FROM oro_entity_config t0 [] []
php.INFO: The "oro_locale.twig.date_time_organization" service is deprecated since 1.11, will be removed after 1.13. {"type":16384,"file":"C:\Apache24\htdocs\orocrm\app\cache\dev\appDevDebugProjectContainer.php","line":67327,"level":28928,"stack":[{"function":"handleError","class":"Symfony\Component\Debug\ErrorHandler","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\app\cache\dev\appDevDebugProjectContainer.php","line":67327,"function":"trigger_error"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php","line":314,"function":"getOroLocale_Twig_DateTimeOrganizationService","class":"appDevDebugProjectContainer","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\app\cache\dev\appDevDebugProjectContainer.php","line":61411,"function":"get","class":"Symfony\Component\DependencyInjection\Container","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php","line":314,"function":"getTwigService","class":"appDevDebugProjectContainer","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\app\cache\dev\appDevDebugProjectContainer.php","line":61765,"function":"get","class":"Symfony\Component\DependencyInjection\Container","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php","line":314,"function":"getWebProfiler_Controller_ProfilerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\nelmio\api-doc-bundle\Nelmio\ApiDocBundle\Extractor\ApiDocExtractor.php","line":226,"function":"get","class":"Symfony\Component\DependencyInjection\Container","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\nelmio\api-doc-bundle\Nelmio\ApiDocBundle\Extractor\CachingApiDocExtractor.php","line":79,"function":"getReflectionMethod","class":"Nelmio\ApiDocBundle\Extractor\ApiDocExtractor","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Bundle\ApiBundle\ApiDoc\CachingApiDocExtractor.php","line":97,"function":"all","class":"Nelmio\ApiDocBundle\Extractor\CachingApiDocExtractor","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Bundle\ApiBundle\ApiDoc\CachingApiDocExtractor.php","line":135,"function":"all","class":"Oro\Bundle\ApiBundle\ApiDoc\CachingApiDocExtractor","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Bundle\ApiBundle\Command\DocCacheClearCommand.php","line":96,"function":"warmUp","class":"Oro\Bundle\ApiBundle\ApiDoc\CachingApiDocExtractor","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php","line":259,"function":"execute","class":"Oro\Bundle\ApiBundle\Command\DocCacheClearCommand","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":866,"function":"run","class":"Symfony\Component\Console\Command\Command","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":193,"function":"doRunCommand","class":"Symfony\Component\Console\Application","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php","line":92,"function":"doRun","class":"Symfony\Component\Console\Application","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php","line":124,"function":"doRun","class":"Symfony\Bundle\FrameworkBundle\Console\Application","type":"->"},{"file":"C:\Apache24\htdocs\orocrm\app\console","line":22,"function":"run","class":"Symfony\Component\Console\Application","type":"->"}]} []
php.INFO: The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead. {"type":16384,"file":"C:\Apache24\htdocs\orocrm\vendor\symfony\symfony\src\Symfony\Component\Routing\Route.php","line":652,"level":28928} []
console.ERROR: An error occurred while running command ""oro:api:doc:cache:clear"". Processor failed: "oro_api.collect_subresources.initialize_subresources". Reason: Processor failed: "oro_api.get_config.complete_definition". Reason: Entity "OroBundleAttachmentBundleEntityAttachment" is not configurable {"exit_code":0,"exception":"[object] (Oro\Component\ChainProcessor\Exception\ExecutionFailedException(code: 0): Processor failed: "oro_api.collect_subresources.initialize_subresources". Reason: Processor failed: "oro_api.get_config.complete_definition". Reason: Entity "Oro\Bundle\AttachmentBundle\Entity\Attachment" is not configurable at C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Component\ChainProcessor\ChainProcessor.php:44, Oro\Component\ChainProcessor\Exception\ExecutionFailedException(code: 0): Processor failed: "oro_api.get_config.complete_definition". Reason: Entity "Oro\Bundle\AttachmentBundle\Entity\Attachment" is not configurable at C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Component\ChainProcessor\ChainProcessor.php:44, Oro\Bundle\EntityConfigBundle\Exception\RuntimeException(code: 0): Entity "Oro\Bundle\AttachmentBundle\Entity\Attachment" is not configurable at C:\Apache24\htdocs\orocrm\vendor\oro\platform\src\Oro\Bundle\EntityConfigBundle\Config\ConfigManager.php:278)","arguments":{"command":"oro:api:doc:cache:clear"}} []
event.DEBUG: Notified event "console.exception" to listener "OroBundleLoggerBundleEventSubscriberConsoleCommandSubscriber::onConsoleException". [] []
event.DEBUG: Notified event "console.terminate" to listener "OroBundlePlatformBundleEventListenerConsoleDriverLockCommandListener::afterExecute". [] []
event.DEBUG: Notified event "console.terminate" to listener "SymfonyBundleSwiftmailerBundleEventListenerEmailSenderListener::onTerminate". [] []
event.DEBUG: Notified event "console.terminate" to listener "OroBundleMessageQueueBundleLogHandlerConsoleHandler::onTerminate". [] []

最后,我试图导航到http://orocrm.example.com 导致空白页面


After Clearing & Warming up an entity config cache said by Thomas P, and from the dev.log file:
console.INFO: Launched command "oro:entity-config:cache:clear" {"arguments":{"command":"oro:entity-config:cache:clear"}} []
event.DEBUG: Notified event "console.command" to listener "SymfonyComponentHttpKernelEventListenerDebugHandlersListener::configure". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleEntityExtendBundleEventListenerConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleMessageQueueBundleLogHandlerConsoleHandler::onCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleSecurityBundleEventListenerConsoleContextListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleApiBundleEventListenerDumpApiDocConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleCacheBundleEventListenerCacheWarmerListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundlePlatformBundleEventListenerConsoleOptionalListenersListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleMigrationBundleEventListenerConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleFeatureToggleBundleEventListenerConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleNavigationBundleEventJsRoutingDumpListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleLocaleBundleEventListenerLocaleListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleLoggerBundleEventSubscriberConsoleCommandSubscriber::onConsoleCommand". [] []
doctrine.DEBUG: SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' [] []
event.DEBUG: Notified event "console.terminate" to listener "OroBundlePlatformBundleEventListenerConsoleDriverLockCommandListener::afterExecute". [] []
event.DEBUG: Notified event "console.terminate" to listener "SymfonyBundleSwiftmailerBundleEventListenerEmailSenderListener::onTerminate". [] []
event.DEBUG: Notified event "console.terminate" to listener "OroBundleMessageQueueBundleLogHandlerConsoleHandler::onTerminate". [] []
console.INFO: Launched command "oro:entity-config:cache:warmup" {"arguments":{"command":"oro:entity-config:cache:warmup"}} []
event.DEBUG: Notified event "console.command" to listener "SymfonyComponentHttpKernelEventListenerDebugHandlersListener::configure". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleEntityExtendBundleEventListenerConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleMessageQueueBundleLogHandlerConsoleHandler::onCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleSecurityBundleEventListenerConsoleContextListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleApiBundleEventListenerDumpApiDocConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleCacheBundleEventListenerCacheWarmerListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundlePlatformBundleEventListenerConsoleOptionalListenersListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleMigrationBundleEventListenerConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleFeatureToggleBundleEventListenerConsoleCommandListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleNavigationBundleEventJsRoutingDumpListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleLocaleBundleEventListenerLocaleListener::onConsoleCommand". [] []
event.DEBUG: Notified event "console.command" to listener "OroBundleLoggerBundleEventSubscriberConsoleCommandSubscriber::onConsoleCommand". [] []
doctrine.DEBUG: SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' [] []
event.DEBUG: Notified event "console.terminate" to listener "OroBundlePlatformBundleEventListenerConsoleDriverLockCommandListener::afterExecute". [] []
event.DEBUG: Notified event "console.terminate" to listener "SymfonyBundleSwiftmailerBundleEventListenerEmailSenderListener::onTerminate". [] []
event.DEBUG: Notified event "console.terminate" to listener "OroBundleMessageQueueBundleLogHandlerConsoleHandler::onTerminate". [] []
答案

确保正确重新生成实体配置缓存。删除所有缓存文件并尝试以下命令:

oro:entity-config:cache:clear Clears the entity config cache. oro:entity-config:cache:warmup Warms up the entity config cache.

如果没有成功,请告诉我们您要安装的CRM版本并包含完整安装日志。

另一答案

我在Windows和unix系统上遇到过这个问题。它的数据库性能较慢,而且orocrm内部的硬编码时间限制。

您的安装尚未完成。正如你所看到的,它的停止没有错误:Oro Bundle NotificationBundle Migrations Schema OroNotificationBundleInstaller它不是安装的最后一部分。我对这个问题抱怨不好;)应用程序日志,系统日志,什么都没有。

原因是您达到了数据库迁移的时间限制。调查安装脚本后,它运行:

oro:migration:load

默认参数:

$commandExecutor
    ->runCommand(
        'oro:migration:load',
        [
            '--force'             => true,
            '--process-isolation' => true,
            '--timeout'           => $commandExecutor->getDefaultOption('process-timeout'),
        ]
    )

process-timeout的默认值在:Oro Bundle InstallerBundle CommandExecutor,值为300.如果你在hdd驱动器上使用数据库,那就没那么多了。我不知道你是否可以使用--timeout选项为安装程序传递额外的参数(你可以尝试),但你可以在Windows上更改安装时刻的核心值。但是使用硬盘驱动器在Windows上使用orocrm非常困难。

所以,只需编辑CommandExecutor片刻,更改:

const DEFAULT_TIMEOUT = 300;

一些更高的价值,你会没事的。祝你好运(你需要它;))

以上是关于在Windows上安装OroCRM的主要内容,如果未能解决你的问题,请参考以下文章

OroCRM 如何禁用客户端验证?

Oro CRM 在安装期间不忽略数据库的 parameters.yml

从 Magento 到 OroCRM 的网站跟踪不起作用

如何通过 API 向 OroCRM 添加新用户

Symfony / Orocrm:没有设置yml文件?

安装php7.2-mcrypt的问题