error when install fresh 8.3.2
Permalink
An exception occurred while executing 'INSERT INTO SiteTreeTrees (siteTreeID, siteLocaleID) VALUES (?, ?)' with params [1, 0]: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`c5_demo`.`SiteTreeTrees`, CONSTRAINT `FK_A4B9696EACD624CD` FOREIGN KEY (`siteLocaleID`) REFERENCES `SiteLocales` (`siteLocaleID`)).
Trace:
#0 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException)) #1 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(178): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Concrete\Core\Database\Driver\PDOMySqlConcrete5\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'INSERT INTO Sit...', Array) #2 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/JoinedSubclassPersister.php(216): Doctrine\DBAL\Statement->execute() #3 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1014): Doctrine\ORM\Persisters\Entity\JoinedSubclassPersister->executeInserts() #4 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #5 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(NULL) #6 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Site/Service.php(321): Doctrine\ORM\EntityManager->flush() #7 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Support/Facade/Facade.php(118): Concrete\Core\Site\Service->installDefault('zh_CN') #8 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Package/StartingPointPackage.php(519): Concrete\Core\Support\Facade\Facade::__callStatic('installDefault', Array) #9 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Package/StartingPointPackage.php(519): Concrete\Core\Support\Facade\Site::installDefault('zh_CN') #10 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Package/StartingPointPackage.php(181): Concrete\Core\Package\StartingPointPackage->install_site() #11 /data/hookweb/c5/concrete5-8.3.2/concrete/controllers/install.php(304): Concrete\Core\Package\StartingPointPackage->executeInstallRoutine('install_site') #12 [internal function]: Concrete\Controller\Install->run_routine('elemental_blank', 'install_site') #13 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Controller/AbstractController.php(294): call_user_func_array(Array, Array) #14 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Routing/ControllerRouteCallback.php(27): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #15 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Routing/Router.php(149): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #16 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Http/DefaultDispatcher.php(114): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #17 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Http/DefaultDispatcher.php(54): Concrete\Core\Http\DefaultDispatcher-
Trace:
#0 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException)) #1 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(178): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Concrete\Core\Database\Driver\PDOMySqlConcrete5\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'INSERT INTO Sit...', Array) #2 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/JoinedSubclassPersister.php(216): Doctrine\DBAL\Statement->execute() #3 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1014): Doctrine\ORM\Persisters\Entity\JoinedSubclassPersister->executeInserts() #4 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #5 /data/hookweb/c5/concrete5-8.3.2/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(NULL) #6 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Site/Service.php(321): Doctrine\ORM\EntityManager->flush() #7 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Support/Facade/Facade.php(118): Concrete\Core\Site\Service->installDefault('zh_CN') #8 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Package/StartingPointPackage.php(519): Concrete\Core\Support\Facade\Facade::__callStatic('installDefault', Array) #9 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Package/StartingPointPackage.php(519): Concrete\Core\Support\Facade\Site::installDefault('zh_CN') #10 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Package/StartingPointPackage.php(181): Concrete\Core\Package\StartingPointPackage->install_site() #11 /data/hookweb/c5/concrete5-8.3.2/concrete/controllers/install.php(304): Concrete\Core\Package\StartingPointPackage->executeInstallRoutine('install_site') #12 [internal function]: Concrete\Controller\Install->run_routine('elemental_blank', 'install_site') #13 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Controller/AbstractController.php(294): call_user_func_array(Array, Array) #14 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Routing/ControllerRouteCallback.php(27): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #15 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Routing/Router.php(149): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #16 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Http/DefaultDispatcher.php(114): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #17 /data/hookweb/c5/concrete5-8.3.2/concrete/src/Http/DefaultDispatcher.php(54): Concrete\Core\Http\DefaultDispatcher-