Hello,
we work with a source Zammad 3.2.0 update from 3.1.0 , Debian 9.9 and elasticsearch 7.5.1
now we get the following error with “rake searchindex:rebuild”
drop indexes…done
delete pipeline (pipeline)… done
create indexes…done
create pipeline (pipeline)… done
reload data…
reload Cti::Log
- started at 2020-01-06 13:01:23 UTC
rake aborted!
Unable to send Cti::Log.find(9482).search_index_update_backend backend: #<RuntimeError: Unable to process post request to elasticsearch URL ‘http://localhost:9200/zammad_production_cti_log/_doc/9482?pipeline=zammad917267032243’. Check the response and payload for detailed information:
Response:
#<UserAgent::Result:0x000056482ba7d040 @success=false, @body="{“error”:{“root_cause”:[{“type”:“illegal_argument_exception”,“reason”:“field [article] not present as part of path [article]”}],“type”:“illegal_argument_exception”,“reason”:“field [article] not present as part of path [article]”},“status”:400}", @data=nil, @code=“400”, @content_type=nil, @error=“Client Error: #<Net::HTTPBadRequest 400 Bad Request readbody=true>!”>
Payload:
{“id”=>9482, “direction”=>“in”, “state”=>“hangup”, “from”=>“022266835”, “from_comment”=>nil, “to”=>“queue-660”, “to_comment”=>“Local/241@only-dialextension-q660”, “queue”=>“queue-660”, “call_id”=>“1578305487.1133”, “comment”=>“normalClearing”, “initialized_at”=>Mon, 06 Jan 2020 10:12:20 UTC +00:00, “start_at”=>Mon, 06 Jan 2020 10:17:39 UTC +00:00, “end_at”=>Mon, 06 Jan 2020 10:19:37 UTC +00:00, “duration_waiting_time”=>319, “duration_talking_time”=>118, “done”=>true, “preferences”=>{}, “created_at”=>Mon, 06 Jan 2020 10:12:20 UTC +00:00, “updated_at”=>Mon, 06 Jan 2020 10:19:37 UTC +00:00, “from_pretty”=>“022266835”, “to_pretty”=>“660”}
Payload size: 0M>
/opt/zammad/app/models/concerns/has_search_index_backend.rb:145:in rescue in block in search_index_reload' /opt/zammad/app/models/concerns/has_search_index_backend.rb:139:in
block in search_index_reload’
/opt/zammad/app/models/concerns/has_search_index_backend.rb:134:in each' /opt/zammad/app/models/concerns/has_search_index_backend.rb:134:in
search_index_reload’
/opt/zammad/lib/tasks/search_index_es.rake:143:in block (3 levels) in <main>' /opt/zammad/lib/tasks/search_index_es.rake:139:in
each’
/opt/zammad/lib/tasks/search_index_es.rake:139:in block (2 levels) in <main>' /opt/zammad/lib/tasks/search_index_es.rake:159:in
block (2 levels) in ’
/opt/zammad/.rvm/gems/ruby-2.5.5/gems/rake-12.3.2/exe/rake:27:in <top (required)>' /opt/zammad/.rvm/gems/ruby-2.5.5/bin/ruby_executable_hooks:24:in
eval’
/opt/zammad/.rvm/gems/ruby-2.5.5/bin/ruby_executable_hooks:24:in `’