2

我正在安装 orocrm,所以在安装过程中出现错误这是我的命令 php app/console oro:install error is [Symfony\Component\Process\Exception\RuntimeException]
进程超时。我检查了 oro_install.log 文件没有任何错误这里是我遵循的指令页面http://www.orocrm.com/documentation/index/current/book/installation 谢谢

这是我的控制台 root@efttt-Intron-5t59:/home/eures/tance/crm-application/orocrm# php app/console oro:install

安装 Oro 应用程序。

Oro 要求检查:+---------+--------------------------------- -------------------------------------------------- -----+ | 支票 | 强制性要求
| +---------+-------------------------------------- -------------------------------------------------- -+ | 好的 | 必须安装供应商库
| | 好的 | app/cache/ 目录必须是可写的
| | 好的 | app/logs/ 目录必须是可写的
| | 好的 | 您安装的 PHP | 必须支持配置的默认时区“亚洲/科伦坡” | 好的 | json_encode() 必须可用
| | 好的 | session_start() 必须可用
| | 好的 | ctype_alpha() 必须可用
| | 好的 | token_get_all() 必须可用
| | 好的 | simplexml_import_dom() 必须可用
| | 好的 | PCRE 扩展必须可用
| | 好的 | 缓存文件夹不应位于加密目录中
| +---------+-------------------------------------- -------------------------------------------------- -+ +---------+-------------------------- --------+ | 支票 | PHP 设置 | +---------+-------------------------------------- -----+ | 好的 | 必须设置 date.timezone 设置 | | 好的 | php.ini 中必须禁用detect_unicode | | 好的 | memory_limit 应至少为 512M | +---------+-------------------------------------- -----+ +---------+--------------------------------- ---------------------------------+ | 支票 | 奥罗的具体要求
| +---------+-------------------------------------- ---------------------------------------+ | 好的 | PHP版本必须至少为5.4.9(安装5.6.11-1ubuntu3.1)| | 好的 | GD 扩展必须至少为 2.0
| | 好的 | cURL 扩展名必须至少为 7.0
| | 好的 | mcrypt_encrypt() 应该可用
| | 好的 | 国际扩展应该可用
| | 好的 | icu 库必须至少为 3.8
| | 好的 | web/uploads/ 目录必须是可写的
| | 好的 | web/media/ 目录必须是可写的
| | 好的 | web/bundles/ 目录必须是可写的
| | 好的 | app/attachment/ 目录必须是可写的
| | 好的 | web/js 目录必须是可写的
| | 好的 | web/css 目录必须是可写的
| | 好的 | app/config/parameters.yml 文件必须是可写的
| +---------+-------------------------------------- ---------------+ +---------+------------ -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- ------------------------------------+ | 支票 | 可选建议
| +---------+-------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- ----------------------------------------------+ | 好的 | 需求文件应该是最新的
| | 好的 | 当使用 Symfony 安全组件的注销处理程序时,由于 PHP 错误 #63379,您应该至少有 PHP 5.4.11(作为一种解决方法,您还可以在安全注销处理程序配置中将 invalidate_session 设置为 false)| | 好的 | PCRE 扩展应至少为 8.0 版(已安装 8.35)
| | 好的 | 应安装 PHP-XML 模块
| | 好的 | mb_strlen() 应该可用
| | 好的 | iconv() 应该可用
| | 好的 | utf8_decode() 应该可用
| | 好的 | posix_isatty() 应该可用
| | 好的 | 国际扩展应该可用
| | 好的 | 应正确配置 intl 扩展
| | 好的 | intl ICU 版本至少应为 4+
| | 好的 | 应该安装一个 PHP 加速器
| | 好的 | short_open_tag 应该在 php.ini 中被禁用
| | 好的 | php.ini 中应该禁用magic_quotes_gpc
| | 好的 | 应该在 php.ini 中禁用 register_globals
| | 好的 | session.auto_start 应该在 php.ini 中被禁用
| | 好的 | 应该安装 PDO
| | 好的 | PDO 应该安装一些驱动程序(当前可用:dblib、mysql、odbc)
| | 好的 | 应安装 SOAP 扩展(API 调用)
| | 好的 | 安装了 JS 引擎(节点)
| +---------+-------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- --------------------------------------------------------------+

删除数据库模式... 成功删除数据库模式!清除实体配置缓存清除扩展实体缓存设置数据库。进程迁移...

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\UserBundle\Migrations\Schema\OroUserBundleInstaller Oro\Bundle\SSOBundle\Migrations\Schema\OroUserBundleInstaller Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroEntityConfigBundleInstaller Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_3\ OroEntityConfigBundle Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_4\FixOptionSetObjects Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_5\DropFieldConfigOro\Bundle\EntityExtendBundle\Migrations\Schema\OroEntityExtendBundleInstaller Oro\Bundle\EntityExtendBundle\Migrations\Schema\v1_3\OroEntityExtendBundle Oro\Bundle\IntegrationBundle\Migrations\Schema\OroIntegrationBundleInstaller Oro\Bundle\ActivityBundle\Migrations\Schema\OroActivityBundleInstaller Oro\Bundle\ ActivityListBundle\Migrations\Schema\OroActivityListBundleInstaller Oro\Bundle\AddressBundle\Migrations\Schema\OroAddressBundleInstaller Oro\Bundle\BatchBundle\Migrations\Schema\OroBatchBundleInstaller Oro\Bundle\CalendarBundle\Migrations\Schema\OroCalendarBundleInstaller Oro\Bundle\CalendarBundle\Migrations\Schema\ v1_9\OroCalendarBundle Oro\Bundle\ConfigBundle\Migrations\Schema\OroConfigBundleInstaller Oro\Bundle\CronBundle\Migrations\Schema\v1_0\OroCronBundleOro\Bundle\CronBundle\Migrations\Schema\v1_0\JmsJob Oro\Bundle\CronBundle\Migrations\Schema\v1_1\JmsJob Oro\Bundle\DataAuditBundle\Migrations\Schema\OroDataAuditBundleInstaller Oro\Bundle\DataGridBundle\Migrations\Schema\OroDataGridBundleInstaller Oro\ Bundle\EmbeddedFormBundle\Migrations\Schema\OroEmbeddedFormBundleInstaller 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\OroNoteBundleOro\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\CommentBundle\Migrations\Schema\v1_0\OroCommentBundleOro\Bundle\DashboardBundle\Migrations\Schema\OroDashboardBundleInstaller 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 --------------- -------------------------------------------------- --- >“Symfony\Component\Process\Exception\RuntimeException 进程超时。”

4

1 回答 1

1

可能是由于开发日志消息,请尝试使用 prod symfony env:

php app/console oro:install --env=prod

github 项目页面的安装说明中也提到了这个注释:

注意:如果安装过程超时,请在命令中添加 --timeout=0 参数。

希望这有帮助

于 2016-03-02T19:45:45.613 回答