Closed snowfrs closed 4 years ago
OK. Thanks!
This notice means there is no repositories on my redmine instance ?
Can't open Xapian database /opt/redmine-4.1.1/file_index/repodb - #<IOError: DatabaseOpeningError: Couldn't detect type of database>
Thanks for your explain.
Yes, if you have no repositories, or the repositories don't contain index-able files, just empty repodb folder is created but without any database. Correctly created database should looks like follows.
$ ls file_index/repodb/
docdata.glass flintlock iamglass position.glass postlist.glass termlist.glass
Environment
OS: Ubuntu 20.04.1 LTS Linux redmine 5.4.0-48-generic 52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Redmine Environment: Redmine version 4.1.1.stable Ruby version 2.6.6-p146 (2020-03-31) [x86_64-linux] Rails version 5.2.4.2 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.13.0 Git 2.25.1 Filesystem
Redmine plugins: redmine_dmsf 2.4.4 redmine_xapian 2.0.2
Ruby installed by rbenv. Xapian-core-1.4.17 Xapian-bindings-1.4.17 and Xapian-omega-1.4.17 compiled from source to binding to ruby which controlled by rbenv.
redmine_xapian plugin settings: Enable xapian engine to allow searches on [checked] Enable generation of n-grams from CJK [checked]
This command seems normal and no error reported.
When I search on redmine, the $redmine/log/production.log shows
output:
Questions: