cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4 setup:install Stuck with no progress

Magento 2.4 setup:install Stuck with no progress

Magento 2.4 setup:install Stuck with no progress, i have even left it for few hours but nothing shows up, no error in apache logs as well. It is just stuck here.

magento-Issue.png

 

Any Help?

All dependencies are installed already. memory limit set to 2GB already.

2 REPLIES 2

Re: Magento 2.4 setup:install Stuck with no progress

Did you check file permission ?

if missing please run command in magento 2 root directory

find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + && chown -R :www-data . && chmod u+x bin/magento

also check PHP dependency by run command in root directory

$ composer update

i recommend to use Magento 2.3.4 instead of Magento 2.4

Re: Magento 2.4 setup:install Stuck with no progress

Faced the same issue, after debugging found that php wasn`t able to connect to database due to root user not allowed to have connection from external sources. you can search how to fix that or what more recommended: 
- Create new database user for Magento that identified with password like: 
CREATE USER '<username>' IDENTIFIED BY '<password>';
- Grant the new user permission to manage the database 
GRANT PRIVILEGE ON '<dbname>' TO '<username>';
- finally, reconfigure your install command to new username and password.