- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Any Help?
All dependencies are installed already. memory limit set to 2GB already.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.