I tried to install Magento, but i get the folowing error message:
Starting Magento installation: File permissions check... Required extensions check... Enabling Maintenance Mode... Installing deployment configuration... Installing database schema: Schema creation/updates: [ERROR] PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'marocnetfdwrknet.m23_mn_admin_passwords' doesn't exist in /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /home/marocnetfd/www/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #4 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SHOW CREATE TAB...', Array) #5 /home/marocnetfd/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(541): Zend_Db_Adapter_Pdo_Abstract->query('SHOW CREATE TAB...', Array) #6 /home/marocnetfd/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(615): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SHOW CREATE TAB...', Array) #7 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php(174): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SHOW CREATE TAB...') #8 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php(158): Magento\Framework\Setup\Declaration\Schema\Db\MySQL\DbSchemaReader->getCreateTableSql('m23_mn_admin_pa...', 'default') #9 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php(144): Magento\Framework\Setup\Declaration\Schema\Db\MySQL\DbSchemaReader->readReferences('m23_mn_admin_pa...', 'default') #10 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php(127): Magento\Framework\Setup\Declaration\Schema\Db\SchemaBuilder->processReferenceKeys(Array, Object(Magento\Framework\Setup\Declaration\Schema\Dto\Schema)) #11 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/SchemaConfig.php(66): Magento\Framework\Setup\Declaration\Schema\Db\SchemaBuilder->build(Object(Magento\Framework\Setup\Declaration\Schema\Dto\Schema)) #12 /home/marocnetfd/www/setup/src/Magento/Setup/Model/DeclarationInstaller.php(58): Magento\Framework\Setup\Declaration\Schema\SchemaConfig->getDbConfig() #13 /home/marocnetfd/www/setup/src/Magento/Setup/Model/Installer.php(808): Magento\Setup\Model\DeclarationInstaller->installSchema(Array) #14 /home/marocnetfd/www/setup/src/Magento/Setup/Model/Installer.php(830): Magento\Setup\Model\Installer->declarativeInstallSchema(Array) #15 [internal function]: Magento\Setup\Model\Installer->installSchema(Array) #16 /home/marocnetfd/www/setup/src/Magento/Setup/Model/Installer.php(367): call_user_func_array(Array, Array) #17 /home/marocnetfd/www/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array) #18 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): Magento\Setup\Controller\Install->startAction() #19 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #20 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #21 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #22 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent)) #23 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #24 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #25 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #26 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #27 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent)) #28 /home/marocnetfd/www/setup/index.php(39): Zend\Mvc\Application->run() #29 {main} Next Zend_Db_Statement_Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'marocnetfdwrknet.m23_mn_admin_passwords' doesn't exist, query was: SHOW CREATE TABLE m23_mn_admin_passwords in /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:235 Stack trace: #0 /home/marocnetfd/www/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #2 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #3 /home/marocnetfd/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SHOW CREATE TAB...', Array) #4 /home/marocnetfd/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(541): Zend_Db_Adapter_Pdo_Abstract->query('SHOW CREATE TAB...', Array) #5 /home/marocnetfd/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(615): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SHOW CREATE TAB...', Array) #6 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php(174): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SHOW CREATE TAB...') #7 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php(158): Magento\Framework\Setup\Declaration\Schema\Db\MySQL\DbSchemaReader->getCreateTableSql('m23_mn_admin_pa...', 'default') #8 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php(144): Magento\Framework\Setup\Declaration\Schema\Db\MySQL\DbSchemaReader->readReferences('m23_mn_admin_pa...', 'default') #9 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php(127): Magento\Framework\Setup\Declaration\Schema\Db\SchemaBuilder->processReferenceKeys(Array, Object(Magento\Framework\Setup\Declaration\Schema\Dto\Schema)) #10 /home/marocnetfd/www/vendor/magento/framework/Setup/Declaration/Schema/SchemaConfig.php(66): Magento\Framework\Setup\Declaration\Schema\Db\SchemaBuilder->build(Object(Magento\Framework\Setup\Declaration\Schema\Dto\Schema)) #11 /home/marocnetfd/www/setup/src/Magento/Setup/Model/DeclarationInstaller.php(58): Magento\Framework\Setup\Declaration\Schema\SchemaConfig->getDbConfig() #12 /home/marocnetfd/www/setup/src/Magento/Setup/Model/Installer.php(808): Magento\Setup\Model\DeclarationInstaller->installSchema(Array) #13 /home/marocnetfd/www/setup/src/Magento/Setup/Model/Installer.php(830): Magento\Setup\Model\Installer->declarativeInstallSchema(Array) #14 [internal function]: Magento\Setup\Model\Installer->installSchema(Array) #15 /home/marocnetfd/www/setup/src/Magento/Setup/Model/Installer.php(367): call_user_func_array(Array, Array) #16 /home/marocnetfd/www/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array) #17 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): Magento\Setup\Controller\Install->startAction() #18 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #19 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #20 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #21 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent)) #22 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #23 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #24 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #25 /home/marocnetfd/www/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #26 /home/marocnetfd/www/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent)) #27 /home/marocnetfd/www/setup/index.php(39): Zend\Mvc\Application->run() #28 {main}
How to fix this issue please ?
thanks
Please can you confirm what versions of server software you are running?
Apache or NginX version
PHP version + installed modules
MySQL version
This will help understand where your problem might be
Hi Macfarlane,
Many thanks for your answer.
Here is my server's setting:
Apache server
PHP Version 7.1.24
MYSQL Version 5.6.4
And find blow the installed modules
Hey @hicham_ait zidane ,
As I see you are installing Magento 2.3.0 with your system but your server configuration is not compatible with that.
Here is the minimum requirement
Apache: 2.2 or 2.4
Php: 7.1.3+ version
Mysql: 5.6,5.7
Ref.: https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
and after installing If you are facing some validator issue than there is a module path issue.
You may contact me if still not able to install Magento.
Please do Kudos if got the solution.
many thanks cnviradiya91, I will check and will update you !
Hi, Hicham_ait Zidane
Seems like your server configuration including PHP version is not compatible with your current Magento version 2.3.0.
Refer to the link to know the technology stack requirements for your current Magento version.
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
The main modifications required are:
After updating these versions as mentioned. you should be able to install Magento.