- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento 2 installation failed
I've tried to setup Magento 2 with the file 'magento' located in /var/www/html/magento2/bin, but it keeps fail in 4th progress.
Starting Magento installation:
File permissions check...
[Progress: 1 / 589]
Required extensions check...
[Progress: 2 / 589]
Enabling Maintenance Mode...
[Progress: 3 / 589]
Installing deployment configuration...
[Progress: 4 / 589]
Installing database schema:
[Zend_Db_Statement_Exception]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.store_website' doesn't exist, query was
: SELECT `store_website`.* FROM `store_website`
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.store_website' doesn't exist
How can I fix this? Do I have to make 'store_website' table manually?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
well you have database table issue while installing magento 2
main reason behind is its might taking existing table from database because you don't require to create manually any table, its all table will generate automatically
do one thing create a new blank db and then install magento 2 - on database configuration step add this new database details and then check
it will work
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
Hi @NDelt
Just create a new database. And add this new database name, usename and password in add database step at the time of Magento 2 Installation.
If Issue Solved, Click Kudos/Accept As solutions.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
I've made a blank DB named 'magento', but same error has occurred when I run Magento 2 installation script.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
How to I access the page that you uploaded as a screenshot?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
@NDelt This is default Magento 2 installation screen. which you can access from the browser.
Folder location: var/www/html/magento2
http://127.0.0.1/magento2/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
Hello,
You can add --cleanup-database to your installation command.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
You can run the command
bin/magento setup:uninstall
This command fix config file, and env.
Enjoy.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
I did this but its not running setup wizard. Blank Setup Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 installation failed
Hi @abduhalim_bekna,
Set full permission to root folder of magento once.
sudo chmod -R 0777 folder_name