Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi Team, Can anyone please help me out with this issue. I am receiving this error when i am deployi

Options
U03BC5A43CL
U03BC5A43CL Posts: 15 🧑🏻‍🚀 - Cadet

Hi Team,

Can anyone please help me out with this issue.
I am receiving this error when i am deploying code from my project branch to UAT.

Overall Import status: Failed
{"@timestamp":"2022-06-30T15:20:18.689284+00:00","@source":"ip-10-110-5-230.ec2.internal","@fields":{"channel":"Zed","level":500,"environment":{"application":"ZED","environment":"docker","store":"US","codeBucket":"US","locale":"en_US"},"server":{"url":"http://:/","is_https":false,"hostname":"","user_agent":null,"user_ip":null,"request_method":"cli","referer":null},"request":{"requestId":"c36fcff5","type":"CLI","request_params":[]},"ctxt_exception":{"class":"Spryker\Zed\DataImport\Business\Exception\DataSetBrokerTransactionFailedException","message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Extranet Sirva Request For Information Form Block' for key 'spy_cms_block-name-uq'\n\nExecuted query: \nINSERT INTO spy_cms_block (id_cms_block, fk_template, is_active, key, name) VALUES (:p0, :p1, :p2, :p3, :p4)","code":0,"file":"/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php:59","trace":["/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:231","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:190","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:155","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:129","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporterCollection.php:202","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporterCollection.php:245","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporterCollection.php:163","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/DataImportFacade.php:33","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Communication/Console/Executor/DataImportExecutor.php:55","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Communication/Console/DataImportConsole.php:177","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Communication/Console/DataImportConsole.php:138","/data/vendor/symfony/console/Command/Command.php:255","/data/vendor/symfony/console/Application.php:1018","/data/vendor/symfony/console/Application.php:271","/data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/ConsoleBootstrap.php:198","/data/vendor/symfony/console/Application.php:147","/data/vendor/spryker/console/bin/console:21"],"previous":{"class":"Propel\Runtime\Exception\PropelException","message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Extranet Sirva Request For Information Form Block' for key 'spy_cms_block-name-uq'\n\nExecuted query: \nINSERT INTO spy_cms_block (id_cms_block, fk_template, is_active, key, name) VALUES (:p0, :p1, :p2, :p3, :p4)","code":0,"file":"/data/src/Orm/Zed/CmsBlock/Persistence/Base/SpyCmsBlock.php:1201","trace":["/data/src/Orm/Zed/CmsBlock/Persistence/Base/SpyCmsBlock.php:1020","/data/src/Orm/Zed/CmsBlock/Persistence/Base/SpyCmsBlock.php:966","/data/vendor/propel/propel/src/Propel/Runtime/Connection/TransactionTrait.php:35","/data/src/Orm/Zed/CmsBlock/Persistence/Base/SpyCmsBlock.php:985","/data/src/Pyz/Zed/DataImport/Business/Model/CmsBlock/CmsBlockWriterStep.php:111","/data/src/Pyz/Zed/DataImport/Business/Model/CmsBlock/CmsBlockWriterStep.php:68","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBroker.php:46","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php:54","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:231","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:190","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:155","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporter.php:129","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporterCollection.php:202","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporterCollection.php:245","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataImporterCollection.php:163","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/DataImportFacade.php:33","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Communication/Console/Executor/DataImportExecutor.php:55","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Communication/Console/DataImportConsole.php:177","/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Communication/Console/DataImportConsole.php:138","/data/vendor/symfony/console/Command/Command.php:255","/data/vendor/symfony/console/Application.php:1018","/data/vendor/symfony/console/Application.php:271","/data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/ConsoleBootstrap.php:198","/data/vendor/symfony/console/Application.php:147","/data/vendor/spryker/console/bin/console:21"]}}},"@message":"Spryker\Zed\DataImport\Business\Exception\DataSetBrokerTransactionFailedException - SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Extranet Sirva Request For Information Form Block' for key 'spy_cms_block-name-uq'\n\nExecuted query: \nINSERT INTO spy_cms_block (id_cms_block, fk_template, is_active, key, name) VALUES (:p0, :p1, :p2, :p3, :p4) in \"/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php::59\"","@tags":["Zed"],"@type":"ZED","@source_host":{"url":"http://:/","is_https":false,"hostname":"","user_agent":null,"user_ip":null,"request_method":"cli","referer":null}}

In CommandLineExecutable.php line 105:

[Spryker\Install\Exception\InstallException]
Aborted install...

Exception trace:
at /data/vendor/spryker/install/src/Spryker/Install/Executable/CommandLine/CommandLineExecutable.php:105
Spryker\Install\Executable\CommandLine\CommandLineExecutable->abortInstallIfNotAllowedToContinue() at /data/vendor/spryker/install/src/Spryker/Install/Executable/CommandLine/CommandLineExecutable.php:57
Spryker\Install\Executable\CommandLine\CommandLineExecutable->execute() at /data/vendor/spryker/install/src/Spryker/Install/Runner/Section/Command/CommandRunner.php:214
Spryker\Install\Runner\Section\Command\CommandRunner->executeExecutable() at /data/vendor/spryker/install/src/Spryker/Install/Runner/Section/Command/CommandRunner.php:103
Spryker\Install\Runner\Section\Command\CommandRunner->runCommand() at /data/vendor/spryker/install/src/Spryker/Install/Runner/Section/Command/CommandRunner.php:61
Spryker\Install\Runner\Section\Command\CommandRunner->run() at /data/vendor/spryker/install/src/Spryker/Install/Runner/Section/SectionRunner.php:45
Spryker\Install\Runner\Section\SectionRunner->run() at /data/vendor/spryker/install/src/Spryker/Install/Runner/InstallRunner.php:91
Spryker\Install\Runner\InstallRunner->executeStage() at /data/vendor/spryker/install/src/Spryker/Install/Runner/InstallRunner.php:71
Spryker\Install\Runner\InstallRunner->run() at /data/vendor/spryker/install/src/Spryker/Install/InstallFacade.php:25
Spryker\Install\InstallFacade->runInstall() at /data/vendor/spryker/install/src/Spryker/Console/InstallConsoleCommand.php:118
Spryker\Console\InstallConsoleCommand->execute() at /data/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /data/vendor/symfony/console/Application.php:1000
Symfony\Component\Console\Application->doRunCommand() at /data/vendor/symfony/console/Application.php:271
Symfony\Component\Console\Application->doRun() at /data/vendor/symfony/console/Application.php:147
Symfony\Component\Console\Application->run() at /data/vendor/spryker/install/bin/install:31

Comments

  • U03GN1A1NGZ
    U03GN1A1NGZ Posts: 2 🧑🏻‍🚀 - Cadet
    Options
    SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Extranet Sirva Request For Information Form Block' for key 'spy_cms_block-name-uq'