Installation for Version 5.7.0.2 fails when Adding Pages and Content
Permalink
I am installing Concrete for the first time on a Solaris server. Everything is loaded and I get green light on all of the pre-install page. The installation starts and creates the database tables and the progress bar is about 2/3 of the way to the end. It is Saying" Adding Pages and Content" and then the progress bar goes pink.
There is only a back button at that point so when I click the back button the progress bar turns blue and it looks like it is starting to install again and the progress bar says "Creating Database" than it fails with a pink page that looks like this:
#0 /www/corybant.com/htdocs/new/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE INDEX ip...', Array) #1 /www/corybant.com/htdocs/new/concrete/src/Database/Connection/Connection.php(67): Doctrine\DBAL\Connection->executeQuery('CREATE INDEX ip...', Array) #2 /www/corybant.com/htdocs/new/concrete/src/Package/StartingPointPackage.php(207): Concrete\Core\Database\Connection\Connection->Execute('CREATE INDEX ip...') #3 /www/corybant.com/htdocs/new/concrete/src/Package/StartingPointPackage.php(191): Concrete\Core\Package\StartingPointPackage->indexAdditionalDatabaseFields() #4 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #5 /www/corybant.com/htdocs/new/concrete/controllers/install.php(261): call_user_func(Array) #6 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #7 /www/corybant.com/htdocs/new/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #8 /www/corybant.com/htdocs/new/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #9 /www/corybant.com/htdocs/new/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #10 /www/corybant.com/htdocs/new/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #11 /www/corybant.com/htdocs/new/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #12 /www/corybant.com/htdocs/new/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #13 /www/corybant.com/htdocs/new/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #14 /www/corybant.com/htdocs/new/concrete/dispatcher.php(36): require('/www/corybant.c...') #15 /www/corybant.com/htdocs/new/index.php(2): require('/www/corybant.c...') #16 {main}
There is only a back button at that point so when I click the back button the progress bar turns blue and it looks like it is starting to install again and the progress bar says "Creating Database" than it fails with a pink page that looks like this:
#0 /www/corybant.com/htdocs/new/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE INDEX ip...', Array) #1 /www/corybant.com/htdocs/new/concrete/src/Database/Connection/Connection.php(67): Doctrine\DBAL\Connection->executeQuery('CREATE INDEX ip...', Array) #2 /www/corybant.com/htdocs/new/concrete/src/Package/StartingPointPackage.php(207): Concrete\Core\Database\Connection\Connection->Execute('CREATE INDEX ip...') #3 /www/corybant.com/htdocs/new/concrete/src/Package/StartingPointPackage.php(191): Concrete\Core\Package\StartingPointPackage->indexAdditionalDatabaseFields() #4 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #5 /www/corybant.com/htdocs/new/concrete/controllers/install.php(261): call_user_func(Array) #6 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #7 /www/corybant.com/htdocs/new/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #8 /www/corybant.com/htdocs/new/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #9 /www/corybant.com/htdocs/new/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #10 /www/corybant.com/htdocs/new/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #11 /www/corybant.com/htdocs/new/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #12 /www/corybant.com/htdocs/new/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #13 /www/corybant.com/htdocs/new/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #14 /www/corybant.com/htdocs/new/concrete/dispatcher.php(36): require('/www/corybant.c...') #15 /www/corybant.com/htdocs/new/index.php(2): require('/www/corybant.c...') #16 {main}
Tried to install 5.7.0.3. When 'Adding Blocktypes' the installation stops with the following error message:
#0 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(89): Doctrine\ORM\Mapping\MappingException::classIsNotAValidEntityOrMappedSuperClass('Concrete\\Core\\B...') #1 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(117): Doctrine\ORM\Mapping\Driver\AnnotationDriver->loadMetadataForClass('Concrete\\Core\\B...', Object(Doctrine\ORM\Mapping\ClassMetadata)) #2 /home/www/web228/html/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(318): Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL, false, Array) #3 /home/www/web228/html/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(211): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('Concrete\\Core\\B...') #4 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(295): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('Concrete\\Core\\B...') #5 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1596): Doctrine\ORM\EntityManager->getClassMetadata('Concrete\\Core\\B...') #6 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1569): Doctrine\ORM\UnitOfWork->doPersist(Object(Concrete\Core\Block\BlockType\BlockType), Array) #7 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(624): Doctrine\ORM\UnitOfWork->persist(Object(Concrete\Core\Block\BlockType\BlockType)) #8 /home/www/web228/html/concrete/src/Block/BlockType/BlockType.php(177): Doctrine\ORM\EntityManager->persist(Object(Concrete\Core\Block\BlockType\BlockType)) #9 /home/www/web228/html/concrete/src/Backup/ContentImporter.php(406): Concrete\Core\Block\BlockType\BlockType::installBlockType('core_area_layou...') #10 /home/www/web228/html/concrete/src/Backup/ContentImporter.php(73): Concrete\Core\Backup\ContentImporter->importBlockTypes(Object(SimpleXMLElement)) #11 /home/www/web228/html/concrete/src/Backup/ContentImporter.php(60): Concrete\Core\Backup\ContentImporter->doImport(Object(SimpleXMLElement)) #12 /home/www/web228/html/concrete/src/Package/StartingPointPackage.php(127): Concrete\Core\Backup\ContentImporter->importContentFile('/home/www/web22...') #13 [internal function]: Concrete\Core\Package\StartingPointPackage->install_blocktypes() #14 /home/www/web228/html/concrete/controllers/install.php(261): call_user_func(Array) #15 [internal function]: Concrete\Controller\Install->run_routine('elemental_blank', 'install_blockty...') #16 /home/www/web228/html/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #17 /home/www/web228/html/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #18 /home/www/web228/html/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #19 /home/www/web228/html/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #20 /home/www/web228/html/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #21 /home/www/web228/html/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #22 /home/www/web228/html/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #23 /home/www/web228/html/concrete/dispatcher.php(36): require('/home/www/web22...') #24 /home/www/web228/html/index.php(2): require('/home/www/web22...') #25 {main}
#0 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(89): Doctrine\ORM\Mapping\MappingException::classIsNotAValidEntityOrMappedSuperClass('Concrete\\Core\\B...') #1 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(117): Doctrine\ORM\Mapping\Driver\AnnotationDriver->loadMetadataForClass('Concrete\\Core\\B...', Object(Doctrine\ORM\Mapping\ClassMetadata)) #2 /home/www/web228/html/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(318): Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL, false, Array) #3 /home/www/web228/html/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(211): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('Concrete\\Core\\B...') #4 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(295): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('Concrete\\Core\\B...') #5 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1596): Doctrine\ORM\EntityManager->getClassMetadata('Concrete\\Core\\B...') #6 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1569): Doctrine\ORM\UnitOfWork->doPersist(Object(Concrete\Core\Block\BlockType\BlockType), Array) #7 /home/www/web228/html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(624): Doctrine\ORM\UnitOfWork->persist(Object(Concrete\Core\Block\BlockType\BlockType)) #8 /home/www/web228/html/concrete/src/Block/BlockType/BlockType.php(177): Doctrine\ORM\EntityManager->persist(Object(Concrete\Core\Block\BlockType\BlockType)) #9 /home/www/web228/html/concrete/src/Backup/ContentImporter.php(406): Concrete\Core\Block\BlockType\BlockType::installBlockType('core_area_layou...') #10 /home/www/web228/html/concrete/src/Backup/ContentImporter.php(73): Concrete\Core\Backup\ContentImporter->importBlockTypes(Object(SimpleXMLElement)) #11 /home/www/web228/html/concrete/src/Backup/ContentImporter.php(60): Concrete\Core\Backup\ContentImporter->doImport(Object(SimpleXMLElement)) #12 /home/www/web228/html/concrete/src/Package/StartingPointPackage.php(127): Concrete\Core\Backup\ContentImporter->importContentFile('/home/www/web22...') #13 [internal function]: Concrete\Core\Package\StartingPointPackage->install_blocktypes() #14 /home/www/web228/html/concrete/controllers/install.php(261): call_user_func(Array) #15 [internal function]: Concrete\Controller\Install->run_routine('elemental_blank', 'install_blockty...') #16 /home/www/web228/html/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #17 /home/www/web228/html/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #18 /home/www/web228/html/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #19 /home/www/web228/html/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #20 /home/www/web228/html/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #21 /home/www/web228/html/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #22 /home/www/web228/html/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #23 /home/www/web228/html/concrete/dispatcher.php(36): require('/home/www/web22...') #24 /home/www/web228/html/index.php(2): require('/home/www/web22...') #25 {main}
You should open a new issue on github describing this issue.
https://github.com/concrete5/concrete5-5.7.0/issues...
Provide your environment info such as PHP version, max execution time, PHP memory, etc.
https://github.com/concrete5/concrete5-5.7.0/issues...
Provide your environment info such as PHP version, max execution time, PHP memory, etc.
I have tried to install version 5.7.0.1, same problem. This version however, I could install before. I will check with my provider (they seem to have changed something...) and describe the solution here once we have found the reason for the problem. My phpinfo you find attached.
This has been corrected in 5.7.0.3 which is now available for download
http://www.concrete5.org/get-started...