Skip to content
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

Issue when running plugin #42

Closed
frogec opened this issue Mar 1, 2017 · 2 comments
Closed

Issue when running plugin #42

frogec opened this issue Mar 1, 2017 · 2 comments

Comments

@frogec
Copy link

frogec commented Mar 1, 2017

Hi,

i've tried this plugin and I think it's a great idea.

I have a problem when running this plugin. I tried master and 0.2.0 version.
After step 6, bundle exec rake redmine_elasticsearch:reindex_all RAILS_ENV=production, I got this error.

screenshot_66

I'v corrected line in search_controller_patch.rb, line 204, from

def get_search_fields(titles_only:, search_attachments:)

to

def get_search_fields(titles_only, search_attachments)

I've successfully reindexed document in Elasticsearch with version 0.2.0 but not with master.

Master gives me error in, index.rake, line 68.

estimated_records = ParentProject.count

ParentProject not initialized.

Thank you,
Nejc

@nodecarter
Copy link
Contributor

Hi @frogec ,
I think you got this error because you are use old ruby.
And I can not guarantee that this plugin will work on Windows.

@frogec
Copy link
Author

frogec commented Mar 2, 2017

Yes, it was a problem with old version of ruby. I've got it to work by updating ruby/redmine by using latest Bitnami redmine-3.3.2-2. All this is working on windows and for now no problems.

I'm closing the issue.

@frogec frogec closed this as completed Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants