Index all database entities: sudo gitlab-rake gitlab:elastic:index_database
I make this command but I have a issue, why?
sudo gitlab-rake gitlab:elastic:index_database
I, [2019-01-31T09:50:17.055158 #18888] INFO -- : Indexing Issues...
I, [2019-01-31T09:50:17.055947 #18888] INFO -- : Indexing MergeRequests...
I, [2019-01-31T09:50:17.056189 #18888] INFO -- : Indexing Projects...
I, [2019-01-31T09:50:17.073943 #18888] INFO -- : Indexing Snippets...
I, [2019-01-31T09:50:17.076030 #18888] INFO -- : Indexing Notes...
I, [2019-01-31T09:50:17.077356 #18888] INFO -- : Indexing Milestones...
rake aborted!
ArgumentError: gitlab-production does not exist to be imported into. Use create_index! or the :force option to create it.
/opt/gitlab/embedded/service/gitlab-rails/ee/app/models/concerns/elastic/application_search.rb:289:in `es_import'
/opt/gitlab/embedded/service/gitlab-rails/ee/lib/tasks/gitlab/elastic.rake:80:in `block (4 levels) in <top (required)>'
Tasks: TOP => gitlab:elastic:index_database => gitlab:elastic:index_projects
(See full trace by running task with --trace)
Edited by Valery Sizov