Failed upgrade up to version 3.1.1 from version 3.0.12
dskibarko opened this issue · comments
Obviously ruby-xapian gem cannot be built in your Bitnami environment. Investigate the gem_make.out file mentioned in the build output. Probably a library is missing in your system.
Could you please help to investigate gem_make.out content below?
**current directory: c:/Bitnami/redmine-5.0.3-0/ruby/lib/ruby/gems/2.6.0/gems/xapian-ruby-1.4.22
c:/Bitnami/redmine-5.0.3-0/ruby/bin/ruby.exe -rrubygems c:/Bitnami/redmine-5.0.3-0/ruby/lib/ruby/gems/2.6.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR=c:/Bitnami/redmine-5.0.3-0/ruby/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0/xapian-ruby-1.4.22 RUBYLIBDIR=c:/Bitnami/redmine-5.0.3-0/ruby/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0/xapian-ruby-1.4.22
rake aborted!
Tasks: TOP => default
(See full trace by running task with --trace)
tar -xJf xapian_source/xapian-core-1.4.22.tar.xz
tar -xJf xapian_source/xapian-bindings-1.4.22.tar.xz
mkdir -p lib
sed -i".bak" -e "s/darwin[91]/darwin[912]/g" configure
./configure --prefix=c:/Bitnami/redmine-5.0.3-0/ruby/lib/ruby/gems/2.6.0/gems/xapian-ruby-1.4.22 --exec-prefix=c:/Bitnami/redmine-5.0.3-0/ruby/lib/ruby/gems/2.6.0/gems/xapian-ruby-1.4.22
rake failed, exit code 1**
Hm, there are no useful information. I'd suggest installing a normal Linux server. You will save a lot of time.
yes, Xapian doesn't support Windows at all, but DMS still does work without it, right?
this way it won't be installed on Windows
gem 'xapian-ruby', platforms: [:mri]
but search features will be limited. If you need them, use WSL / VM. These are better options than Bitnami.
I've added an option to call bundle install without Xapian and updated README accordingly. Would you be able to test the devel branch on Windows?
bundle config set --local without 'xapian'
bundle install
And system is down...
rake redmine:plugins:migrate RAJLS_ENV=production aborted
NameError: uninitialized constant redmine::plugin::setting
I think that you should keep your original setting too, so:
bundle config set --local without 'xapian test development zip-zip sqlite'
Resolved OK.
Confirmed by update from 3.0.12 to 3.1.3