Closed fatihky closed 10 years ago
Please, check if app/etc/local.xml
file. It could have been created when you tried to install the application first time and it was not successful. There is known issue that in this case Maintenance Tool fails, if local.xml
exists when the application is not installed. The bug should be in the public repository soon. While, it's not yet here, please, remove local.xml
and try installation once again.
If this is not the issue, could you please, provide information about custom (non-default) values that you used during installation (e.g., table prefix)?
It may not be the same problem, but as a quick workaround you could also try dropping the database and creating a fresh one then trying again. We are not trying to do good schema migrations between each weekly push, so it might be getting confused. Starting with a fresh database helps ensure things don't get confused from different runs. (Official releases we will do schema migrations - these weekly developer pushes we don't.)
Hi! I dropped and re-created database and removed app/etc/local.xml file but I'm still getting errors. I uploaded my screen to youtube http://www.youtube.com/watch?v=lTXc5e4NU4A New errors are these:
[ERROR] exception 'Exception' with message 'Table "sales_flat_quote_payment" does not exist' in /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Db/Metadata/Source/AbstractSource.php:125
Stack trace:
#0 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Db/Metadata/Metadata.php(178): Zend\Db\Metadata\Source\AbstractSource->getTable('sales_flat_quot...', NULL)
#1 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Framework/DB/Adapter/Pdo/Mysql.php(1138): Zend\Db\Metadata\Metadata->getTable('sales_flat_quot...', NULL)
#2 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Framework/DB/Adapter/Pdo/Mysql.php(467): Magento\Setup\Framework\DB\Adapter\Pdo\Mysql->describeTable('sales_flat_quot...', NULL)
#3 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Framework/DB/Adapter/Pdo/Mysql.php(652): Magento\Setup\Framework\DB\Adapter\Pdo\Mysql->tableColumnExists('sales_flat_quot...', 'cc_exp_year', NULL)
#4 /home/ubuntu/workspace/d/m2/app/code/Magento/Sales/sql/sales_setup/upgrade-1.6.0.8-1.6.0.9.php(39): Magento\Setup\Framework\DB\Adapter\Pdo\Mysql->modifyColumn('sales_flat_quot...', 'cc_exp_year', Array)
#5 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Module/Setup.php(168): include('/home/ubuntu/wo...')
#6 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Module/SetupModule.php(191): Magento\Setup\Module\Setup->includeFile('/home/ubuntu/wo...')
#7 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Module/SetupModule.php(157): Magento\Setup\Module\SetupModule->applySchemaUpdates('upgrade', '1.6.0.7', '1.6.0.12')
#8 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Model/Installer.php(296): Magento\Setup\Module\SetupModule->applyUpdates()
#9 [internal function]: Magento\Setup\Model\Installer->installSchema()
#10 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Model/Installer.php(221): call_user_func_array(Array, Array)
#11 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Controller/Install/StartController.php(102): Magento\Setup\Model\Installer->install(Array)
#12 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Magento\Setup\Controller\Install\StartController->indexAction()
#13 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#14 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#15 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#16 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#17 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#18 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#19 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#20 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#21 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(313): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#22 /home/ubuntu/workspace/d/m2/setup/index.php(61): Zend\Mvc\Application->run()
#23 {main}
Next exception 'Exception' with message 'Error in file: "/home/ubuntu/workspace/d/m2/app/code/Magento/Sales/sql/sales_setup/upgrade-1.6.0.8-1.6.0.9.php" - Table "sales_flat_quote_payment" does not exist' in /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Module/SetupModule.php:205
Stack trace:
#0 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Module/SetupModule.php(157): Magento\Setup\Module\SetupModule->applySchemaUpdates('upgrade', '1.6.0.7', '1.6.0.12')
#1 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Model/Installer.php(296): Magento\Setup\Module\SetupModule->applyUpdates()
#2 [internal function]: Magento\Setup\Model\Installer->installSchema()
#3 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Model/Installer.php(221): call_user_func_array(Array, Array)
#4 /home/ubuntu/workspace/d/m2/setup/module/Magento/Setup/src/Controller/Install/StartController.php(102): Magento\Setup\Model\Installer->install(Array)
#5 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Magento\Setup\Controller\Install\StartController->indexAction()
#6 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#8 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#9 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#11 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#12 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#13 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 /home/ubuntu/workspace/d/m2/setup/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(313): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /home/ubuntu/workspace/d/m2/setup/index.php(61): Zend\Mvc\Application->run()
#16 {main}
Hmmm. I am going to leave this with the core developers then - seems to be different to the problem I had recently. If useful, here is a Docker project I used to create my build with a working database: https://github.com/alankent/docker-magento2-demo-apache - have a look in the 'scripts' directory in particular (the Dockerfile may also be interesting, oh and the README file I guess too! ;-)
@alankent thanks, I will try it.
hi @fatihky , on video, i didn't see if you cleaned up cache. Also i see you removing local.xml after step you specified db connection. I am trying to reproduce the issues, but can you confirm: a. you cleaned up cache manually b. you don't have local.xml before you run setup wizard
UPD: I got [SUCCESS] Magento installation complete. with clean github install.
Hmmm - just a quick warning my Git push must have failed for my docker image. I will get alpha100 pushed soon.
@fatihky, we did not hear from you for a while. Please let us know what you ended up with. Did you find the cause of your issue?
I can not solve this issue so I'm ended, using magento, sorry. And I'm too busy so I was not try to re-installing. Sorry na lot. I will try again and I will write here. Have a nice day.
@fatihky, please let us know the results once you get back to attempts to install Magento. We would like to hear whether you succeeded. So far we were unable to reproduce the same issue even on Ubuntu. When doing installation, please remove the outdated code completely and pull the fresh version from the GitHub. Please review the README.md file with installation instructions and system requirements prior to performing the installation.
Wow, great! I followed all installiatation steps. It works! Thanks so much.
Every time when I trying to install, I am getting this error.