Project

General

Profile

elasticsearch

Added by Pete McDonnell about 10 years ago

Hi all! Recently upgraded from 2.1.2 to the latest 2.6.0 Redmine on a new CentOS 7 system. Everything seems to be working well with the base system and a few plugins we've used for a couple of years now.

One of the reasons we wanted to upgrade was to try out elasticsearch for better searching. I took a serious crack at getting it to work but ran into a problem with the redmine_resque plugin:

[root@hostname redmine]# bundle exec rake resque:work RAILS_ENV=production QUEUE=*
rake aborted!
MultiJson::AdapterError: Did not recognize your adapter specification (cannot load such file -- json/ext/parser).
/var/www/html/redmine-2.6.0/config/application.rb:7:in <top (required)>' /var/www/html/redmine-2.6.0/Rakefile:5:inrequire'
/var/www/html/redmine-2.6.0/Rakefile:5:in <top (required)>' LoadError: cannot load such file -- json/ext/parser /var/www/html/redmine-2.6.0/config/application.rb:7:in'
/var/www/html/redmine-2.6.0/Rakefile:5:in require' /var/www/html/redmine-2.6.0/Rakefile:5:in'
(See full trace by running task with --trace)

I did do some searching without luck. I've also posted to the github issues page for redmine_resque but I'm no further.

Does anyone currently use this plugin and/or have any ideas as to what I need to do to proceed?

Any info is appreciated! Sorry if I've missed something simple!

:-D


Replies (2)

RE: elasticsearch - Added by Pete McDonnell about 10 years ago

Bump... anyone? How is everyone else doing searching, specifically such things as including custom fields in search results, etc.

Thanks!

RE: elasticsearch - Added by Pete McDonnell about 10 years ago

In case it helps anyone, the problem was not with redmine_resque or multi_json, but due to a conflict with json packages. CentOS provides a json package which I don't think can be 'found' by the multi_json system. At one point I ran a 'bundle install' and it indicated that json 1.8.1 needed to be installed and did so. This error went away after that.

Next up - looking into how to customize the search results page (if possible?)

    (1-2/2)