Infos:
- Used Zammad version: 5.4.0-1680612797.66e35235.focal
- Used Zammad installation type: package
- Operating system: Ubuntu 20.04
- Browser + version: MS Edge, Chrome
Expected behavior:
- Upgrade from elasticsearch 7.17.2 to 8.13.4 should work without error
Actual behavior:
- After upgrading elasticsearch from version 7.17.2 to 8.13.4 its not possible anymore to rebuild the index. After trying to rebuild the index
zammad run rake zammad:searchindex:rebuild
I got the following error message:
rake aborted!
Unable to process GET request to elasticsearch URL 'https://localhost:9200'. Check the response and payload for detailed information:
Response:
#<UserAgent::Result:0x00007f0eb2e46d18 @success=false, @body=nil, @data=nil, @code=0, @content_type=nil, @error="#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=127.0.0.1:9200 state=error: wrong version number>", @header=nil>
Payload:
null
Payload size: 0M
/opt/zammad/lib/search_index_backend.rb:36:in `info'
/opt/zammad/lib/tasks/zammad/search_index_es.rake:76:in `block (3 levels) in <main>'
/opt/zammad/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/opt/zammad/bin/bundle:121:in `load'
/opt/zammad/bin/bundle:121:in `<main>'
Tasks: TOP => zammad:searchindex:rebuild => zammad:searchindex:version_supported
(See full trace by running task with --trace)
I also tried to run the following command:
zammad run rake zammad:searchindex:version_supported
with the following result:
rake aborted!
Unable to process GET request to elasticsearch URL 'https://localhost:9200'. Check the response and payload for detailed information:
Response:
#<UserAgent::Result:0x00007fc0ead3dc10 @success=false, @body=nil, @data=nil, @code=0, @content_type=nil, @error="#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=127.0.0.1:9200 state=error: wrong version number>", @header=nil>
Payload:
null
Payload size: 0M
/opt/zammad/lib/search_index_backend.rb:36:in `info'
/opt/zammad/lib/tasks/zammad/search_index_es.rake:76:in `block (3 levels) in <main>'
/opt/zammad/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/opt/zammad/bin/bundle:121:in `load'
/opt/zammad/bin/bundle:121:in `<main>'
Tasks: TOP => zammad:searchindex:version_supported
(See full trace by running task with --trace)
Steps to reproduce the behavior:
- i updated my OS (Ubuntu)
- Update elasticsearh to the latest 7.x version
- rebuild index (works as expected)
- Upgrade elasticsearch to version 8.13.4 as described in the [official doku]( Upgrade to Elastic 8.12.2 | Elastic Installation and Upgrade Guide [8.12] | Elastic
- rebuild index (dont work - see error’s above)