Veniqa
Veniqa copied to clipboard
BUG <Config docker> Docker compose up error E11000 duplicate key error collection
Describe the bug
I. used command :
docker-compose up
Error has been display, please check your config docker.
continuing through error: E11000 duplicate key error collection: veniqa-prod-db.veniqa_product_categories index: id dup key: { _id: ObjectId('5c45e87fa8ef66002b9e073b') } veniqa-mongo-1 | 2022-09-15T04:16:14.562+0000 continuing through error: E11000 duplicate key error collection: veniqa-prod-db.veniqa_product_categories index: id dup key: { _id: ObjectId('5c45fc4fa8ef66002b9e073c') } veniqa-mongo-1 | 2022-09-15T04:16:14.562+0000 continuing through error: E11000 duplicate key error collection: veniqa-prod-db.veniqa_product_categories index:
When mongoDB starts and reloads the initial documents, and if it has already been started before, the DB volumes being persistent, they already contain all the startup docs and thus the error message from a second run onwards, that, you shall note, tells (sic) "continuing through error". It is actually a warning and you may ignore it.