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

Mongo failure when trying to open a err with many 'instances' #91

Closed
moretea opened this issue Sep 28, 2011 · 3 comments
Closed

Mongo failure when trying to open a err with many 'instances' #91

moretea opened this issue Sep 28, 2011 · 3 comments

Comments

@moretea
Copy link

moretea commented Sep 28, 2011

Hi,

We're getting the following exception:
Mongo::OperationFailure: too much data for sort() with no index. add an index or specify a smaller limit

The internal backtrace points to
[PROJECT_ROOT]/controllers/errs_controller.rb:34 → show

@ndbroadbent
Copy link
Member

Hi there. Firstly, please make sure your Errbit code is up to date.
Secondly, this problem might be solved by running rake db:mongoid:create_indexes

@moretea
Copy link
Author

moretea commented Sep 28, 2011

Thanks for the quick reply. We'll try that first!

@moretea moretea closed this as completed Sep 28, 2011
@ndbroadbent
Copy link
Member

No problem! Please note that you'll have to run rake db:migrate if you haven't updated for a while.

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