0

best solution to Magento 2 installation issue

Spread the love

installation is incomplete. check the console log for errors before trying again.,magento stuck at 67%,magento 2 installation not working,magento 2 installation user configuration,magento 2.2 installation guide,magento installation stuck at 99,magento 2 setup install,magento 2 500 internal server error

If you have successfully installed Magento 2 on the xampp server but having an issue of loading the admin page as it is giving you a 404. Also, when loading its homepage the default theme,it doesn’t apply and instead gives you the following errors:

SOLUTION 1:

first of all http://devdocs.magento.com/

The important things:

The owner of the Magento file system: Must have full control (read/write/execute) of all files and directories.

Must not be the web server user; it should be a different user.

The web server user must have write access to the following files and directories: var app/etc pub (and probably new in 2.2.1:) generated

In addition, the web server’s group must own the Magento file system so that the Magento user (who is in the group) can share access to files with the web server user. (This includes files created by the Magento Admin or other web-based utilities.)

We recommend setting the permissions as follows:

You should set as bellow recommended.

SOLUTION 2:

In some rare cases, you can’t use 770 and 660, like @MagenX says, 755 and 644 could also be the permission you need. (Some Fast-CGI users I guess)

So in that case, you run:

That seems to fix it, but if Magento generates new files or directories, those will have the permission 770 and 660 again. You can edit those default chmod values in the following files:

After these changes, run the first command again and after that, newly generated files shouldn’t be an issue anymore.

Note: Editing files like this is never a good idea, but I suspect these chmod options are going to be configurable in the future, so I took the easy way.

after making above changes please execute below command.

Please try this and let me know if you need any other help. or you can contact me on my skype : mayur.jadeja8

I hope this will help you.

Leave a Reply

Your email address will not be published. Required fields are marked *