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
Show nice error message if rake searchindex:rebuild is used and no Elasticsearch is configured.
Actual behavior:
Software error is shown in rake searchindex:rebuild
rake searchindex:rebuild
rake aborted!
NoMethodError: undefined method `split' for nil:NilClass
/home/me/src/zammad/lib/tasks/search_index_es.rake:338:in `es_version_supported?'
/home/me/src/zammad/lib/tasks/search_index_es.rake:183:in `block (2 levels) in <main>'
Tasks: TOP => searchindex:rebuild => searchindex:version_supported
(See full trace by running task with --trace)
Steps to reproduce the behavior:
zammad run rails r "Setting.set('es_url', '')"
zammad run rake searchindex:rebuild
The text was updated successfully, but these errors were encountered:
Infos:
Expected behavior:
rake searchindex:rebuild
is used and no Elasticsearch is configured.Actual behavior:
rake searchindex:rebuild
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: