Skip to content
New issue

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

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

Open
rikai-v-thai opened this issue Sep 15, 2022 · 1 comment

Comments

@rikai-v-thai
Copy link

rikai-v-thai commented Sep 15, 2022

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:

@berhauz
Copy link

berhauz commented Feb 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants