Can't install 5.7.0 -- fails when "importing files"

Permalink 1 user found helpful
Just extracted the C5 zip to my server, went to the site and got redirected to index.php/install, had green checky's for all the requirements, filled out my server info, and was sitting through the progress bar...

Created database tables, copied this or that, set up this or that... Then it froze on "importing files"

After a while I was met with a red "error" box with no message in it, and a back button. Clicking the back button gave me the following error:

#0 /home/sabarn5/c5.examplesite.com/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE INDEX ip...', Array)
#1 /home/sabarn5/c5.examplesite.com/concrete/src/Database/Connection.php(51): Doctrine\DBAL\Connection->executeQuery('CREATE INDEX ip...', Array)
#2 /home/sabarn5/c5.examplesite.com/concrete/src/Package/StartingPointPackage.php(201): Concrete\Core\Database\Connection->Execute('CREATE INDEX ip...')
#3 /home/sabarn5/c5.examplesite.com/concrete/src/Package/StartingPointPackage.php(190): Concrete\Core\Package\StartingPointPackage->indexAdditionalDatabaseFields()
#4 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database()
#5 /home/sabarn5/c5.examplesite.com/concrete/controllers/install.php(238): call_user_func(Array)
#6 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...')
#7 /home/sabarn5/c5.examplesite.com/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array)
#8 /home/sabarn5/c5.examplesite.com/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array)
#9 /home/sabarn5/c5.examplesite.com/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array)
#10 /home/sabarn5/c5.examplesite.com/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array)
#11 /home/sabarn5/c5.examplesite.com/concrete/src/Application/Application.php(281): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array)
#12 /home/sabarn5/c5.examplesite.com/concrete/src/Application/Application.php(281): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array)
#13 /home/sabarn5/c5.examplesite.com/concrete/bootstrap/start.php(180): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request))
#14 /home/sabarn5/c5.examplesite.com/concrete/dispatcher.php(36): require('/home/sabarn5/c...')
#15 /home/sabarn5/c5.examplesite.com/index.php(2): require('/home/sabarn5/c...')
#16 {main}

Tried to re-install (had to drop all the tables from the database) and always got the same response. The error (a PDOException) seems to be caused by the database being in an odd state since it was messed up mid-install, so I think it's a red herring. I feel like the issue revolves around the inability for it to "import files" -- what does this step actually *do*, and why would it fail?

View Replies:
curtistucker replied on at Permalink Reply
I'm getting a very similar error. I'm very new to concrete5. I have a working installation of concrete5.6.3.1 that I installed just a few days ago. I'm currently trying to install concrete5.7.0.1. Any help you can provide is appreciated.
stevendesu replied on at Permalink Reply
Just wanted to note that as of 5.7.2 this error no longer occurs. Not sure what was wrong, but it has been fixed!
denistisserand replied on at Permalink Reply
denistisserand
Hello, I have the same problem with the 5.7.2 version

My system is able to install a nude version (without template) but not a complete version .

I applied 777 for all file

An exception occurred while executing 'CREATE INDEX ipFrom ON SignupRequests (ipFrom(32))': SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'ipFrom'.

Trace:
#0 /homepages/9/d313388113/htdocs/concrete/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE INDEX ip...', Array) #1 /homepages/9/d313388113/htdocs/concrete/concrete/src/Database/Connection/Connection.php(68): Doctrine\DBAL\Connection->executeQuery('CREATE INDEX ip...', Array) #2 /homepages/9/d313388113/htdocs/concrete/concrete/src/Package/StartingPointPackage.php(207): Concrete\Core\Database\Connection\Connection->Execute('CREATE INDEX ip...') #3 /homepages/9/d313388113/htdocs/concrete/concrete/src/Package/StartingPointPackage.php(191): Concrete\Core\Package\StartingPointPackage->indexAdditionalDatabaseFields() #4 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #5 /homepages/9/d313388113/htdocs/concrete/concrete/controllers/install.php(283): call_user_func(Array) #6 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #7 /homepages/9/d313388113/htdocs/concrete/concrete/src/Controller/AbstractController.php(156): call_user_func_array(Array, Array) #8 /homepages/9/d313388113/htdocs/concrete/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #9 /homepages/9/d313388113/htdocs/concrete/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #10 /homepages/9/d313388113/htdocs/concrete/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #11 /homepages/9/d313388113/htdocs/concrete/concrete/src/Application/Application.php(350): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #12 /homepages/9/d313388113/htdocs/concrete/concrete/src/Application/Application.php(350): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #13 /homepages/9/d313388113/htdocs/concrete/concrete/bootstrap/start.php(196): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #14 /homepages/9/d313388113/htdocs/concrete/concrete/dispatcher.php(36): require('/homepages/9/d3...') #15 /homepages/9/d313388113/htdocs/concrete/index.php(2): require('/homepages/9/d3...') #16 {main}
madeforspace replied on at Permalink Reply
madeforspace
Same for me on 5.7.2

An exception occurred while executing 'CREATE INDEX ipFrom ON SignupRequests (ipFrom(32))': SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'ipFrom'.

Trace:
#0 /home/madefor/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE INDEX ip...', Array) #1 /home/madefor/public_html/concrete/src/Database/Connection/Connection.php(68): Doctrine\DBAL\Connection->executeQuery('CREATE INDEX ip...', Array) #2 /home/madefor/public_html/concrete/src/Package/StartingPointPackage.php(207): Concrete\Core\Database\Connection\Connection->Execute('CREATE INDEX ip...') #3 /home/madefor/public_html/concrete/src/Package/StartingPointPackage.php(191): Concrete\Core\Package\StartingPointPackage->indexAdditionalDatabaseFields() #4 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #5 /home/madefor/public_html/concrete/controllers/install.php(283): call_user_func(Array) #6 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #7 /home/madefor/public_html/concrete/src/Controller/AbstractController.php(156): call_user_func_array(Array, Array) #8 /home/madefor/public_html/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #9 /home/madefor/public_html/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #10 /home/madefor/public_html/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #11 /home/madefor/public_html/concrete/src/Application/Application.php(350): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #12 /home/madefor/public_html/concrete/src/Application/Application.php(350): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #13 /home/madefor/public_html/concrete/bootstrap/start.php(196): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #14 /home/madefor/public_html/concrete/dispatcher.php(36): require('/home/madefor/p...') #15 /home/madefor/public_html/index.php(2): require('/home/madefor/p...') #16 {main}