pimcore-install 命令在 ubuntu 20.04 中卡在 0%
pimcore-install command getting stuck at 0% in ubuntu 20.04
./vedor/bin/pimcore-install
命令在 ubuntu 20.04 中卡在 0%。
有时会达到 18% 并卡住。
我无法解决。
在错误日志中它显示了一些与 symfony 相关的警告。
[2021-08-12T10:44:18.202806+05:30] php.INFO: User Deprecated: The "Scheb\TwoFactorBundle\Security\Authentication\Provider\AuthenticationProviderDecorator" class implements "Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface" that is deprecated since Symfony 5.3, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Scheb\TwoFactorBundle\Security\Authentication\Provider\AuthenticationProviderDecorator\" class implements \"Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface\" that is deprecated since Symfony 5.3, use the new authenticator system instead. at /var/www/pimcore/project1/vendor/symfony/error-handler/DebugClassLoader.php:390)"} []
[2021-08-12T10:44:18.202828+05:30] php.INFO: User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. at /var/www/pimcore/project1/vendor/symfony/event-dispatcher/LegacyEventDispatcherProxy.php:16)"} []
[2021-08-12T10:44:18.416854+05:30] php.INFO: User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. at /var/www/pimcore/project1/vendor/symfony/event-dispatcher/LegacyEventDispatcherProxy.php:16)"} []
[2021-08-12T10:44:18.486394+05:30] doctrine.DEBUG: SELECT id FROM assets LIMIT 1 [] []
谁能帮忙。提前致谢。
解决方案是 - 为 mysql 创建一个新用户并将该用户用于您的项目。也正如@Christian 所说,如果设置过程失败一次,那么您必须删除数据库并重新创建。然后再次重复安装过程。
./vedor/bin/pimcore-install
命令在 ubuntu 20.04 中卡在 0%。
有时会达到 18% 并卡住。
我无法解决。
在错误日志中它显示了一些与 symfony 相关的警告。
[2021-08-12T10:44:18.202806+05:30] php.INFO: User Deprecated: The "Scheb\TwoFactorBundle\Security\Authentication\Provider\AuthenticationProviderDecorator" class implements "Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface" that is deprecated since Symfony 5.3, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Scheb\TwoFactorBundle\Security\Authentication\Provider\AuthenticationProviderDecorator\" class implements \"Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface\" that is deprecated since Symfony 5.3, use the new authenticator system instead. at /var/www/pimcore/project1/vendor/symfony/error-handler/DebugClassLoader.php:390)"} []
[2021-08-12T10:44:18.202828+05:30] php.INFO: User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. at /var/www/pimcore/project1/vendor/symfony/event-dispatcher/LegacyEventDispatcherProxy.php:16)"} []
[2021-08-12T10:44:18.416854+05:30] php.INFO: User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/event-dispatcher 5.1: Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy is deprecated, use the event dispatcher without the proxy. at /var/www/pimcore/project1/vendor/symfony/event-dispatcher/LegacyEventDispatcherProxy.php:16)"} []
[2021-08-12T10:44:18.486394+05:30] doctrine.DEBUG: SELECT id FROM assets LIMIT 1 [] []
谁能帮忙。提前致谢。
解决方案是 - 为 mysql 创建一个新用户并将该用户用于您的项目。也正如@Christian 所说,如果设置过程失败一次,那么您必须删除数据库并重新创建。然后再次重复安装过程。