Skip to content

Instantly share code, notes, and snippets.

@TimHeckel
Created December 16, 2013 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TimHeckel/7993071 to your computer and use it in GitHub Desktop.
Save TimHeckel/7993071 to your computer and use it in GitHub Desktop.
unique indexing with Meteor accounts-password and accounts-base exception
W20131216-13:36:08.778(-6)? (STDERR) MongoError: can't use unique indexes with sharding ns:edspringload.users key: { username: 1 }
W20131216-13:36:08.778(-6)? (STDERR) at Object.Future.wait (/Users/heckel/.meteor/tools/ec9f953f89/lib/node_modules/fibers/future.js:326:15)
W20131216-13:36:08.779(-6)? (STDERR) at MongoConnection._ensureIndex (packages/mongo-livedata/mongo_driver.js:616)
W20131216-13:36:08.779(-6)? (STDERR) at Meteor.Collection._ensureIndex (packages/mongo-livedata/collection.js:484)
W20131216-13:36:08.779(-6)? (STDERR) at Accounts.urls (packages/accounts-base/accounts_server.js:688)
W20131216-13:36:08.779(-6)? (STDERR) at packages/accounts-base.js:938:4
W20131216-13:36:08.780(-6)? (STDERR) at packages/accounts-base.js:980:3
W20131216-13:36:08.780(-6)? (STDERR) at /Users/heckel/Documents/TIES/edSpring/.meteor/local/build/programs/server/boot.js:155:10
W20131216-13:36:08.780(-6)? (STDERR) at Array.forEach (native)
W20131216-13:36:08.780(-6)? (STDERR) at Function._.each._.forEach (/Users/heckel/.meteor/tools/ec9f953f89/lib/node_modules/underscore/underscore.js:79:11)
W20131216-13:36:08.780(-6)? (STDERR) at /Users/heckel/Documents/TIES/edSpring/.meteor/local/build/programs/server/boot.js:82:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment