cancel
Showing results for 
Search instead for 
Did you mean: 

2.3.0 beta 32 Schema Errors During Install

Highlighted

2.3.0 beta 32 Schema Errors During Install

I just pulled down a fresh copy of 2.3.0beta32, and it won't setup properly.  I keep getting constraint errors in the console window when running the setup.  Anyone else come across this with the older betas?  It seems to be generating some bad or missing constraints on the inventory source tables that MySQL is choking on.  Here's the console output:

Starting Magento installation:
File permissions check...

Required extensions check...

Enabling Maintenance Mode...

Installing deployment configuration...

Installing database schema:
Schema creation/updates:
[ERROR] Magento\Framework\Setup\Exception:
Auto Increment column do not have index. Column - "link_id", table - "inventory_source_carrier_link"
Auto Increment column do not have index. Column - "source_item_id", table - "inventory_source_item"
Auto Increment column do not have index. Column - "link_id", table - "inventory_source_stock_link" in /var/mage-source/2.3.0beta32/vendor/magento/framework/Setup/Declaration/Schema/Declaration/SchemaBuilder.php:132
Stack trace:
#0 /var/mage-source/2.3.0beta32/vendor/magento/framework/Setup/Declaration/Schema/Declaration/SchemaBuilder.php(153): Magento\Framework\Setup\Declaration\Schema\Declaration\SchemaBuilder->validate(Object(Magento\Framework\Setup\Declaration\Schema\Dto\Schema))
#1 /var/mage-source/2.3.0beta32/vendor/magento/framework/Setup/Declaration/Schema/SchemaConfig.php(78): Magento\Framework\Setup\Declaration\Schema\Declaration\SchemaBuilder->build(Object(Magento\Framework\Setup\Declaration\Schema\Dto\Schema))
#2 /var/mage-source/2.3.0beta32/setup/src/Magento/Setup/Model/DeclarationInstaller.php(57): Magento\Framework\Setup\Declaration\Schema\SchemaConfig->getDeclarationConfig()
#3 /var/mage-source/2.3.0beta32/setup/src/Magento/Setup/Model/Installer.php(808): Magento\Setup\Model\DeclarationInstaller->installSchema(Array)
#4 /var/mage-source/2.3.0beta32/setup/src/Magento/Setup/Model/Installer.php(830): Magento\Setup\Model\Installer->declarativeInstallSchema(Array)
#5 [internal function]: Magento\Setup\Model\Installer->installSchema(Array)
#6 /var/mage-source/2.3.0beta32/setup/src/Magento/Setup/Model/Installer.php(367): call_user_func_array(Array, Array)
#7 /var/mage-source/2.3.0beta32/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array)
#8 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): Magento\Setup\Controller\Install->startAction()
#9 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#13 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#14 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#15 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#16 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#17 /var/mage-source/2.3.0beta32/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#18 /var/mage-source/2.3.0beta32/setup/index.php(39): Zend\Mvc\Application->run()
#19 {main}

 

PHP 7.2.9

MySQL 5.7.23

 

 

 

2 REPLIES 2
Highlighted

Re: 2.3.0 beta 32 Schema Errors During Install

Same problem

  • PHP-versie: 7.2.11
  • 10.1.36-MariaDB
Highlighted

Re: 2.3.0 beta 32 Schema Errors During Install

were you able to resolve the problem?