pimcore

pimcore-install command getting stuck at 0% in ubuntu 20.04


./vedor/bin/pimcore-install command getting stuck at 0% in ubuntu 20.04.

Sometimes it goes to 18% and stuck.

I am not able to solve it.

In the error log it show some symfony related warning.

[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 [] []

enter image description here

can anyone help. thanks in advance.


Solution

  • The solution would be - create a user new for mysql and use that user for your project. Also as @Christian said if the setup process failed once then you have to drop the database and create again. And then repeat the installation process again.