-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reindex all documents error "Can't create index" #26
Comments
I rebooted the machine and restarted elasticsearch and now I get a different error message: |
I am also receiving the error noted in the opening comments: # bundle exec rake redmine_elasticsearch:reindex_all RAILS_ENV=production Loading Rails environment for Resque Recreate index for all available search types rake aborted! Can't create index: {"error":"IndexCreationException[[redmineapp_production] failed to create index]; nested: IllegalArgumentException[Custom Analyzer [search_analyzer] failed to find filter under name [russian_morphology]]; ","status":400} /redmine/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:74:in `create_index' /redmine/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:12:in `recreate_index' /redmine/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:17:in `reindex_all' /redmine/plugins/redmine_elasticsearch/lib/tasks/index.rake:18:in `block (2 levels) in ' Tasks: TOP => redmine_elasticsearch:reindex_all (See full trace by running task with --trace) |
Still the same problem, I started yesterday from scratch to try again installing elasticsearch for Redmine. Everything works well until point 6. in the installation instruction. The problem is still the indexing. In the following the command with --trace C:\Bitnami\redmine-3.0.2-0\apps\redmine\htdocs>bundle exec rake redmine_elastics Tasks: TOP => redmine_elasticsearch:reindex_all Please any help!?!? Or is everything working because the plugin is already in the plugin list of Redmine? How can I know if it is working or not? |
I checked with other pages and from their side it was stated that this is a specific problem from the plugin. ANY HELP? |
Dear all,
I just tried to install the elasticsearch plugin on my local machine for testing.
I do not have much experience, so please be patient.
The command of point 6. is failing
bundle exec rake redmine_elasticsearch:reindex_all RAILS_ENV=production
I get the following error message
C:\Bitnami\redmine-3.0.2-0\apps\redmine\htdocs>bundle exec rake redmine_elastics
earch:reindex_all RAILS_ENV=production
DL is deprecated, please use Fiddle
ansi: 'gem install win32console' to use color on Windows
Loading Rails environment for Resque
Recreate index for all available search types
rake aborted! 100% |||||||||||||||||||||||||||||||||||||||||||| ETA: --:--:--
RedmineElasticsearch::IndexerError: Can't create index:
{"error":"IndexCreationException[[redmineapp_production] failed to create index]
; nested: IllegalArgumentException[Custom Analyzer [search_analyzer] failed to f
ind filter under name [russian_morphology]]; ","status":400}
C:/Bitnami/redmine-3.0.2-0/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib
/redmine_elasticsearch/indexer_service.rb:74:in
create_index' C:/Bitnami/redmine-3.0.2-0/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib /redmine_elasticsearch/indexer_service.rb:12:in
recreate_index'C:/Bitnami/redmine-3.0.2-0/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib
/redmine_elasticsearch/indexer_service.rb:17:in
reindex_all' C:/Bitnami/redmine-3.0.2-0/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib /tasks/index.rake:18:in
block (2 levels) in <top (required)>'Tasks: TOP => redmine_elasticsearch:reindex_all
(See full trace by running task with --trace)
Any idea what went wrong?
Thank you for your help!
The text was updated successfully, but these errors were encountered: