cancel
Showing results for 
Search instead for 
Did you mean: 

Corriendo magento 2.3.5 y finalizando en error

SOLVED

Corriendo magento 2.3.5 y finalizando en error

Buenas comunidad espero me puedan ayudar, he estado estos dias intentando instalar magento 2.4 pero por laguna razon no he podido finalizar bien, algo falla.

Esta vez fue lo mas que avance y al terminar el ultimo paso me salio el siguiente error.

 

Screenshot_2021-02-22 Install.png

qui el codigo de salida:

[ERROR] PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magentodemo.catalog_product_index_price_opt_idx' doesn't exist in /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:91
Stack trace:
#0 /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(91): PDOStatement->execute(Array)
#1 /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(107): Magento\Framework\DB\Statement\Pdo\Mysql->Magento\Framework\DB\Statement\Pdo\{closure}()
#2 /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(92): Magento\Framework\DB\Statement\Pdo\Mysql->tryExecute(Object(Closure))
#3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#5 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SHOW INDEXES FR...', Array)
#6 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(546): Zend_Db_Adapter_Pdo_Abstract->query('SHOW INDEXES FR...', Array)
#7 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SHOW INDEXES FR...', Array)
#8 /var/www/html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(128): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SHOW INDEXES FR...', Array)
#9 /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php(130): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query('SHOW INDEXES FR...')
#10 /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php(80): Magento\Framework\Setup\Declaration\Schema\Db\MySQL\DbSchemaReader->readIndexes('catalog_product...', 'default')
#11 /var/www/html/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 /var/www/html/setup/src/Magento/Setup/Model/DeclarationInstaller.php(58): Magento\Framework\Setup\Declaration\Schema\SchemaConfig->getDbConfig()
#13 /var/www/html/setup/src/Magento/Setup/Model/Installer.php(816): Magento\Setup\Model\DeclarationInstaller->installSchema(Array)
#14 /var/www/html/setup/src/Magento/Setup/Model/Installer.php(838): Magento\Setup\Model\Installer->declarativeInstallSchema(Array)
#15 [internal function]: Magento\Setup\Model\Installer->installSchema(Array)
#16 /var/www/html/setup/src/Magento/Setup/Model/Installer.php(371): call_user_func_array(Array, Array)
#17 /var/www/html/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array)
#18 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(83): Magento\Setup\Controller\Install->startAction()
#19 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#20 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#21 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(117): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#22 /var/www/html/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#23 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#24 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#25 /var/www/html/vendor/laminas/laminas-mvc/src/Application.php(339): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#26 /var/www/html/setup/index.php(39): Laminas\Mvc\Application->run()
#27 {main}

Next Zend_Db_Statement_Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magentodemo.catalog_product_index_price_opt_idx' doesn't exist, query was: SHOW INDEXES FROM `catalog_product_index_price_opt_idx` WHERE `Non_unique` = 1 in /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:110
Stack trace:
#0 /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(92): Magento\Framework\DB\Statement\Pdo\Mysql->tryExecute(Object(Closure))
#1 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array)
#2 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SHOW INDEXES FR...', Array)
#4 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(546): Zend_Db_Adapter_Pdo_Abstract->query('SHOW INDEXES FR...', Array)
#5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SHOW INDEXES FR...', Array)
#6 /var/www/html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(128): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SHOW INDEXES FR...', Array)
#7 /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php(130): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query('SHOW INDEXES FR...')
#8 /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php(80): Magento\Framework\Setup\Declaration\Schema\Db\MySQL\DbSchemaReader->readIndexes('catalog_product...', 'default')
#9 /var/www/html/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))
#10 /var/www/html/setup/src/Magento/Setup/Model/DeclarationInstaller.php(58): Magento\Framework\Setup\Declaration\Schema\SchemaConfig->getDbConfig()
#11 /var/www/html/setup/src/Magento/Setup/Model/Installer.php(816): Magento\Setup\Model\DeclarationInstaller->installSchema(Array)
#12 /var/www/html/setup/src/Magento/Setup/Model/Installer.php(838): Magento\Setup\Model\Installer->declarativeInstallSchema(Array)
#13 [internal function]: Magento\Setup\Model\Installer->installSchema(Array)
#14 /var/www/html/setup/src/Magento/Setup/Model/Installer.php(371): call_user_func_array(Array, Array)
#15 /var/www/html/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array)
#16 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(83): Magento\Setup\Controller\Install->startAction()
#17 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#18 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#19 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(117): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#20 /var/www/html/vendor/laminas/laminas-mvc/src/DispatchListener.php(117): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#21 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#22 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#23 /var/www/html/vendor/laminas/laminas-mvc/src/Application.php(339): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#24 /var/www/html/setup/index.php(39): Laminas\Mvc\Application->run()
#25 {main}
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Corriendo magento 2.3.5 y finalizando en error

lo abri en modo incógnito y funciono. Al parecer queda cacheado en el navegador y no deja seguir, pero no era un error como tal, si no que la cache estaba echando broma

View solution in original post

1 REPLY 1

Re: Corriendo magento 2.3.5 y finalizando en error

lo abri en modo incógnito y funciono. Al parecer queda cacheado en el navegador y no deja seguir, pero no era un error como tal, si no que la cache estaba echando broma

View solution in original post