Veniqa icon indicating copy to clipboard operation
Veniqa copied to clipboard

BUG <Config docker> Docker compose up error E11000 duplicate key error collection

Open rikai-v-thai opened this issue 2 years ago • 1 comments

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:

rikai-v-thai avatar Sep 15 '22 04:09 rikai-v-thai

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.

berhauz avatar Feb 12 '23 11:02 berhauz