sunspot/sunspot — Issue #190: Error: Severe errors in solr configuration.
Author: kayluhb
Created: 2012-02-28 16:35:59+00:00
State: open

I'm suddenly getting an issue with sunspot after updating to newest ruby and I can't seem to find anyone having the same issue. Starting and stopping the server works without issues, but reindexing fails.

I created a fresh rails app with one model, User, and one field to index, name.

I'm using sunspot (1.3.0), sunspot_rails (1.3.0), sunspot_solr (1.3.0), rsolr (1.0.7), and builder 3.0

Is it possible this is an issue with the newest version of builder?

my model:

`class User < ActiveRecord::Base
searchable do
text :name
end
end`

when I try to reindex:

bundle exec rake sunspot:solr:reindex --trace
** Invoke sunspot:solr:reindex (first_time)
** Invoke sunspot:reindex (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute sunspot:reindex
Skipping progress bar: for progress reporting, add gem 'progress_bar' to your Gemfile
rake aborted!
RSolr::Error::Http - 500 Internal Server Error
Error: Severe errors in solr configuration.

Check your log files for more detailed information on what may be wrong.

If you want solr to continue after configuration errors, change:

false

in null

-------------------------------------------------------------

Request Data: "type:User"

Backtrace: /Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:230:in `adapt_response'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:167:in `execute'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:161:in `send_and_receive'
(eval):2:in `post'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:67:in `update'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:131:in `delete_by_query'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/indexer.rb:55:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session.rb:181:in `block in remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session.rb:181:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session.rb:181:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:230:in `adapt_response'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:167:in `execute'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:161:in `send_and_receive'
(eval):2:in `post'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:67:in `update'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/rsolr-1.0.7/lib/rsolr/client.rb:131:in `delete_by_query'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/indexer.rb:55:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session.rb:181:in `block in remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session.rb:181:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session.rb:181:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot.rb:464:in `remove_all'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot_rails-1.3.0/lib/sunspot/rails/searchable.rb:178:in `solr_remove_all_from_index'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot_rails-1.3.0/lib/sunspot/rails/searchable.rb:197:in `solr_reindex'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot_rails-1.3.0/lib/sunspot/rails/tasks.rb:54:in `block (3 levels) in '
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/class_set.rb:16:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot-1.3.0/lib/sunspot/class_set.rb:16:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@vilify/gems/sunspot_rails-1.3.0/lib/sunspot/rails/tasks.rb:53:in `block (2 levels) in '
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/kayluhb/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
/Users/kayluhb/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/bin/rake:33:in `'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/bin/rake:19:in `load'
/Users/kayluhb/.rvm/gems/ruby-1.9.3-p125@global/bin/rake:19:in `

'
Tasks: TOP => sunspot:solr:reindex => sunspot:reindex