When setting up an Omnibus Gitlab 12.7.5 Enterprise Edition, on the step where ElasticSearch is integrated, the indexer setup fails with “Could not locate Gemfile or .bundle/ directory” when issuing the command:
sudo -u git -H bundle exec rake gitlab:indexer:install[/home/git/gitlab-elasticsearch-indexer] RAILS_ENV=production
At first it complained of git not owning some subdirectories of /var/opt/gitlab. That warning disappeared when I chowned them to git
Then it started complaining about “Could not locate Gemfile or .bundle/ directory”
The whole story is on this Stack Overflow thread
Thing is, it seems from the product features page that Advanced Global Search and Advanced Syntax Search - the two features that you attain when integrating ElasticSearch- are “BRONZE” features but my server is still “CORE” -no license purchased yet-
Questions are:
-
Is the setting up of the indexer effectively disabled because of being “CORE”?
-
Will it “magically” succeed if a license is purchased and set-up?
Please bear with me if I forgot some important info, it is my first post, and thank you for taking the time to clarify the issue