claroline / Claroline

Learning management system
https://www.claroline.com
Other
315 stars 188 forks source link

Installation failure #625

Closed Ahriman1 closed 8 years ago

Ahriman1 commented 10 years ago

Hello,

I have a problem with my installation. I don't know what to do.

Here is the log :

Executing migrations... Loading required fixtures... [ERROR] An exception has been thrown during installation Message: An exception occurred while executing 'INSERT INTO claro_workspace_template (hash, name) VALUES (?, ?)' with params ["default.zip", "default"]:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'default.zip' for key 'UNIQ_94D0CBDBD1B862B8' Trace: #0 /home/staumontltclg/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(167): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'INSERT INTO cla...', Array)

1 /home/staumontltclg/www/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(279): Doctrine\DBAL\Statement->execute()

2 /home/staumontltclg/www/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(952): Doctrine\ORM\Persisters\BasicEntityPersister->executeInserts()

3 /home/staumontltclg/www/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(335): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata))

4 /home/staumontltclg/www/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(389): Doctrine\ORM\UnitOfWork->commit(NULL)

5 /home/staumontltclg/www/app/cache/prod/jms_diextra/doctrine/EntityManager_54048fc6e8586.php(402): Doctrine\ORM\EntityManager->flush(NULL)

6 /home/staumontltclg/www/vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php(98): EntityManager54048fc6e8586_546a8d27f194334ee012bfe64f629947b07e4919CG\Doctrine\ORM\EntityManager->flush()

7 /home/staumontltclg/www/vendor/claroline/core-bundle/Claroline/CoreBundle/Persistence/ObjectManager.php(83): Doctrine\Common\Persistence\ObjectManagerDecorator->flush()

8 /home/staumontltclg/www/vendor/claroline/core-bundle/Claroline/CoreBundle/Persistence/ObjectManager.php(110): Claroline\CoreBundle\Persistence\ObjectManager->flush()

9 /home/staumontltclg/www/vendor/claroline/core-bundle/Claroline/CoreBundle/DataFixtures/Required/LoadRequiredFixturesData.php(70): Claroline\CoreBundle\Persistence\ObjectManager->endFlushSuite()

10 /home/staumontltclg/www/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/AbstractExecutor.php(121): Claroline\CoreBundle\DataFixtures\Required\LoadRequiredFixturesData->load(Object(Doctrine\ORM\EntityManager))

11 /home/staumontltclg/www/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/ORMExecutor.php(83): Doctrine\Common\DataFixtures\Executor\AbstractExecutor->load(Object(Doctrine\ORM\EntityManager), Object(Claroline\CoreBundle\DataFixtures\Required\LoadRequiredFixturesData))

12 [internal function]: Doctrine\Common\DataFixtures\Executor\ORMExecutor->Doctrine\Common\DataFixtures\Executor{closure}(Object(Doctrine\ORM\EntityManager))

13 /home/staumontltclg/www/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(243): call_user_func(Object(Closure), Object(Doctrine\ORM\EntityManager))

14 /home/staumontltclg/www/app/cache/prod/jms_diextra/doctrine/EntityManager_54048fc6e8586.php(32): Doctrine\ORM\EntityManager->transactional(Object(Closure))

15 /home/staumontltclg/www/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/ORMExecutor.php(85): EntityManager54048fc6e8586_546a8d27f194334ee012bfe64f629947b07e4919CG\Doctrine\ORM\EntityManager->transactional(Object(Closure))

16 /home/staumontltclg/www/vendor/claroline/installation-bundle/Claroline/InstallationBundle/Fixtures/FixtureLoader.php(57): Doctrine\Common\DataFixtures\Executor\ORMExecutor->execute(Array, true)

17 /home/staumontltclg/www/vendor/claroline/installation-bundle/Claroline/InstallationBundle/Manager/InstallationManager.php(66): Claroline\InstallationBundle\Fixtures\FixtureLoader->load(Object(Claroline\CoreBundle\ClarolineCoreBundle), 'DataFixtures/Re...')

18 /home/staumontltclg/www/vendor/claroline/core-bundle/Claroline/CoreBundle/Library/Installation/PlatformInstaller.php(103): Claroline\InstallationBundle\Manager\InstallationManager->install(Object(Claroline\CoreBundle\ClarolineCoreBundle), true)

19 /home/staumontltclg/www/vendor/claroline/web-installer/lib/Claroline/WebInstaller/Installer.php(111): Claroline\CoreBundle\Library\Installation\PlatformInstaller->installFromKernel(false)

20 /home/staumontltclg/www/vendor/claroline/web-installer/lib/Claroline/WebInstaller/Installer.php(65): Claroline\WebInstaller\Installer->launchInstaller(Object(appProdProjectContainer), Object(Symfony\Component\Console\Output\StreamOutput))

21 /home/staumontltclg/www/vendor/claroline/web-installer/lib/Claroline/WebInstaller/Controller.php(237): Claroline\WebInstaller\Installer->install()

22 /home/staumontltclg/www/vendor/claroline/web-installer/lib/Claroline/WebInstaller/Kernel.php(64): Claroline\WebInstaller\Controller->installSubmitStep()

23 /home/staumontltclg/www/web/install.php(13): Claroline\WebInstaller\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))

24 {main}

T.S.

FabriceC01 commented 10 years ago

Hello, I had approximatively the same problem (issue 619) with no solution. I gave up for now... hope someone will have an idea.

Fabrice