You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this traceback when attempting to delete a person through the admin panel:
Possibly I'm doing sth. wrong but the message is not very informative.
A RSolr::Error::ConnectionRefused occurred in people#destroy:
The problem is caused because the solr engine isn't running, and search is set to be enabled. It is caused by an automatic trigger that needs to delete the record from the search index. Wheres for indexing during changes and creation, we can defer the indexing to a background queue and cope with solr not running, it is not so straight forward for deletion - but is something we need to look into more closely.
I get this traceback when attempting to delete a person through the admin panel:
Possibly I'm doing sth. wrong but the message is not very informative.
A RSolr::Error::ConnectionRefused occurred in people#destroy:
Connection refused - {:data=>"{"delete":["Person 5"]}", :headers=>{"Content-Type"=>"application/json"}, :method=>:post, :params=>{:wt=>:json}, :query=>"wt=json", :path=>"update", :uri=>#<URI::HTTP http://localhost:8983/solr/default/update?wt=json>}
(eval):2:in `post'
Request:
Session:
Environment:
Backtrace:
(eval):2:in
post' app/controllers/people_controller.rb:206:in
destroy'app/controllers/application_controller.rb:43:in
block in with_current_user' app/models/user.rb:252:in
with_current_user'app/controllers/application_controller.rb:42:in `with_current_user'
Data:
{:id=>1,
:login=>"seek2admin",
:created_at=>Fri, 29 Nov 2019 07:33:39 UTC +00:00},
:person=>
{:id=>1,
:name=>"admin seek2",
:email=>"seek2@evolbio.mpg.de",
:created_at=>Fri, 29 Nov 2019 07:34:37 UTC +00:00},
:site_host=>"https://seek2.evolbio.mpg.de"}
The text was updated successfully, but these errors were encountered: