Plugin "redmine_xapian". Error: Can't open Xapian database

Added by Yury Muravev 11 months ago

Good afternoon. Install the plugin according to the instructions. Searching get an error:

Can't open Xapian database  - #<IOError: DatabaseOpeningError: Couldn't stat '/var/tmp/omindex/russian'>
Can't open Xapian database  - #<IOError: DatabaseOpeningError: Couldn't stat '/var/tmp/omindex/repodb'>

Files exist
root@debian:/var/tmp# ls -la | grep omindex
drwxr-xr-x  5 nobody nogroup 4096 ноя 12 15:59 omindex
root@debian:/var/tmp/omindex# ls -la
drwxrwxr-x 5 nobody nogroup 4096 ноя 12 14:04 .
drwxrwxrwt 5 root   root    4096 ноя 12 15:43 ..
drwxrwxr-x 2 nobody nogroup 4096 ноя 12 11:00 english
drwxrwxr-x 2 nobody nogroup 4096 ноя 12 14:04 repodb
drwxrwxr-x 2 nobody nogroup 4096 ноя 12 14:36 russian

In redmine plugins:
"Enable xapian engine to allow searches on attachments and repositories" - chosen
"Directory containing Xapian databases" = /var/tmp/omindex
 "Set the stemming language..." = russian

About Redmine:

root@debian:/var/www/redmine/bin# ./about
sh: 1: darcs: not found
sh: 1: hg: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
Environment:
  Redmine version                3.2.4.stable.15949
  Ruby version                   2.2.5-p319 (2016-04-26) [x86_64-linux]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            2.1.4
  Filesystem
Redmine plugins:
  a_common_libs                  2.1.10
  redmine_ldap_sync              2.0.8.devel.gf831737c23-dirty
  redmine_xapian                 1.6.6

Where did I go wrong? What should be corrected?

PS:
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
nginx & Redmine were installed according to the instruction https://www.howtoforge.com/tutorial/how-to-install-redmine-with-nginx-on-ubuntu/