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

message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : #5

Open
cryptozeny opened this issue Apr 30, 2019 · 1 comment

Comments

@cryptozeny
Copy link
Member

code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "e3dcd39b9e731e5e687eb0dc61e8b7bf495768eacd7566bc51f63d11eae9db46" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "913908f95d5f0ba2d72352ca676bfdcd2516fe879d345433356e3bcf4df6aa44" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "913908f95d5f0ba2d72352ca676bfdcd2516fe879d345433356e3bcf4df6aa44" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "913908f95d5f0ba2d72352ca676bfdcd2516fe879d345433356e3bcf4df6aa44" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
974: ccc060de5d50de909cad625c87008f33c28ccad7717dce596894914c2363d9f5
975: 7cc924d669df78602a34236ed43957f00f4f9d2a4833de344ad6bc4a3f6a83e9
977: f3174e12414b41bd3a52bc2b40b8bdc90e9e54882bd16db2083235c71755c75b
978: d40902ad00b5f4948c05bfaa99fe9483db7a3e6a9c41a1a10053b26f47fc03cd
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c84ead669a92894d3bc14e6233165e8e071fc1457b4fd30c30b7aa27eec820be" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c84ead669a92894d3bc14e6233165e8e071fc1457b4fd30c30b7aa27eec820be" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c84ead669a92894d3bc14e6233165e8e071fc1457b4fd30c30b7aa27eec820be" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
980: 2e72c06721b2ef4fb78cdf5364a51598a46d3c9b9356485b5b3dbfc91079f28c
981: 94bf58d176c52f558638ed3a373a5907cac69815796ec7f67c5e5097637118c1
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "946d41fae56cc3f3f3529dca7a002fdac75eabad9f3f489aecdbae6980d493db" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "946d41fae56cc3f3f3529dca7a002fdac75eabad9f3f489aecdbae6980d493db" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "946d41fae56cc3f3f3529dca7a002fdac75eabad9f3f489aecdbae6980d493db" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }

@mooleshacat
Copy link

mooleshacat commented Jun 1, 2020

try deleting the data and reindex

On mongo server:

  • mongo --eval "db.dropDatabase({})" explorerdb press enter

On explorer server (if not same):

  • cd /path/to/sugarchane/explorer replace with location of explorer, press enter
  • nodejs scripts/sync.js index update press enter and wait for reindex
    • Repeat if necessary until syncronized

Afterwards please close ticket if successful thanks :)

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