We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading data... SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'allegro.api' for key 'queue.QUEUE_NAME', query was: INSERT INTO queue (name) VALUES (?)
queue
name
The text was updated successfully, but these errors were encountered:
More information:
Magento version: magento/product-community-edition": "2.3.4
# composer require macopedia/magento2-allegro Using version ^4.0 for macopedia/magento2-allegro ./composer.json has been updated ... # bin/magento setup:upgrade Cache cleared successfully File system cleanup: XXXX/generated/code/Composer XXXX/generated/code/Dotdigitalgroup XXXX/generated/code/MSP XXXX/generated/code/Magento XXXX/generated/code/Symfony XXXX/generated/code/Yotpo The directory 'XXXX/generated/metadata/' doesn't exist - skipping cleanup XXXX/pub/static/adminhtml XXXX/pub/static/deployed_version.txt XXXX/pub/static/frontend XXXX/var/view_preprocessed/pub Updating modules: .. Schema creation/updates: ... Data install/update: Module 'Macopedia_Allegro': Upgrading data... SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'allegro.api' for key 'queue.QUEUE_NAME', query was: INSERT INTO `queue` (`name`) VALUES (?)
Sorry, something went wrong.
Seems like delete those lines fixing the problem:
File: Setup/UpgradeData.php
Delete or comment lines:
62 $this->resource->getConnection() 63 ->insert($this->resource->getTableName('queue'), ['name' => 'allegro.api']);
No branches or pull requests
Upgrading data... SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'allegro.api' for key 'queue.QUEUE_NAME', query was: INSERT INTO
queue
(name
) VALUES (?)The text was updated successfully, but these errors were encountered: