Hi all
I’m getting errors trying to get elasticsearch up and running on my brand new zammad system. I did the installation as described in the manual on zammad.org -> ubuntu
- Used Zammad version: 2.5.x
- Used Zammad installation source: (source, package, …) actual pk source
- Operating system: ubuntu 16.04
Expected behavior:
I expect a functional rebuild of the search index
Actual behavior:
drop indexes…done
delete pipeline (pipeline)… done
create indexes…done
create pipeline (pipeline)… rake aborted!
Unable to process PUT request to elasticsearch URL ‘http://localhost:9200/_ingest/pipeline/zammad240790980339’. Check the response and payload for detailed information:
Response:
#<UserAgent::Result:0x00005566f7a941c0 @success=false, @body=nil, @data=nil, @code=“400”, @content_type=nil, @error=“Client Error: #<Net::HTTPBadRequest 400 Bad Request readbody=true>!”>
Payload:
{:description=>“Extract zammad-attachment information from arrays”, :processors=>[{:foreach=>{:field=>“article”, :ignore_failure=>true, :processor=>{:foreach=>{:field=>"_ingest._value.attachment", :ignore_failure=>true, :processor=>{:attachment=>{:target_field=>"_ingest._value", :field=>"_ingest._value._content", :ignore_failure=>true}}}}}}]}
Payload size: 0M
/opt/zammad/lib/search_index_backend.rb:113:in block (2 levels) in processors' /opt/zammad/lib/search_index_backend.rb:73:in
each’
/opt/zammad/lib/search_index_backend.rb:73:in block in processors' /opt/zammad/lib/search_index_backend.rb:70:in
each’
/opt/zammad/lib/search_index_backend.rb:70:in processors' /opt/zammad/lib/tasks/search_index_es.rake:90:in
block (2 levels) in <top (required)>’
/opt/zammad/lib/tasks/search_index_es.rake:70:in block (2 levels) in <top (required)>' /opt/zammad/lib/tasks/search_index_es.rake:166:in
block (2 levels) in <top (required)>’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in <top (required)>' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in
load’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in kernel_load' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in
run’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in exec' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
run’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in invoke_command' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in
dispatch’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in dispatch' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in
start’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in start' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:30:in
block in <top (required)>’
/opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in with_friendly_errors' /opt/zammad/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:22:in
<top (required)>’
/opt/zammad/bin/bundle:3:in load' /opt/zammad/bin/bundle:3:in
’
Steps to reproduce the behavior:
sudo zammad run rake searchindex:rebuild