I am installing magento2 with sample-data. all requirement is completed and the Magento installation process starts but stops after some process.
I have to wait for the complete installation process but nothing happens. so I need to restart my magento2 set-up.
how it can be done? any have an idea for reinstall the Magento set-up without deleting the current code.
Thanks.
Use the new Magento CLI -
From the Magento Root Directory ./bin/magento setup:uninstall
Note: this will delete your database contents if you had one already set up.
Magento 2 specific tip found here: Delete contents of var/cache
and var/generation
and try again. And it is probably also good to remove the app/etc/config.php
and app/etc/env.php
to do a fresh install according to comment made here.
PS Always good to backup all before doing anything radical.
It was solved removing the var/generation
folder. It is also important to remove the app/etc/config.php
and app/etc/env.php
to do a fresh install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With