nextcloud / fulltextsearch

🔍 Core of the full-text search framework for Nextcloud
GNU Affero General Public License v3.0
212 stars 51 forks source link

occ nextant:index Killed #197

Closed sbosque closed 6 years ago

sbosque commented 7 years ago

Hi,

I get following message every time I try to run the initial nextant:index:

$ sudo -u www-data ./occ nextant:index --debugall DEBUGALL
nextant v1.0.8
* Extracting files:
Killed

I've tried many different things, all unsuccessfully. I really would like to use nextant since it seems a powerful app - I'd appreciate any hint to solve the issue I have.

Many thanks!

solr.log: solr.log.tar.gz

Nextant version: 1.0.8 Nextcloud version: 12.0.2 (same problem appeared also with 12.0.0 and 12.0.1)

I've tried optimize:

sbosquep@aleutia:/var/www/nextcloud$ sudo -u www-data ./occ nextant:optimize
Your index contains 0 segments.
Your core will not be accessible while optimize is running. Continue with this action? (y/N)  y
Operation success (00:00:00)

and check:

sbosquep@aleutia:/var/www/nextcloud$ sudo -u www-data ./occ nextant:check --fix
Pinging 127.0.0.1:8983/solr/nextant : ok

Checking Solr schema fields
 * Checking field-type 'boolean' : ok
 * Checking field-type 'booleans' : ok
 * Checking field-type 'double' : ok
 * Checking field-type 'doubles' : ok
 * Checking field-type 'tdouble' : ok
 * Checking field-type 'tdoubles' : ok
 * Checking field-type 'float' : ok
 * Checking field-type 'floats' : ok
 * Checking field-type 'tfloat' : ok
 * Checking field-type 'tfloats' : ok
 * Checking field-type 'int' : ok
 * Checking field-type 'ints' : ok
 * Checking field-type 'tint' : ok
 * Checking field-type 'tints' : ok
 * Checking field-type 'long' : ok
 * Checking field-type 'longs' : ok
 * Checking field-type 'tlong' : ok
 * Checking field-type 'tlongs' : ok
 * Checking field-type 'string' : ok
 * Checking field-type 'strings' : ok
 * Checking field-type 'tdate' : ok
 * Checking field-type 'tdates' : ok
 * Checking field-type 'ignored' : ok
 * Checking field-type 'text_general' : ok
 * Checking field-type 'text_general_edge' : ok
 * Checking field-type 'text_general_word' : ok
 * Checking field '_version_' : ok
 * Checking field 'id' : ok
 * Checking field 'text' : ok
 * Checking field 'text_edge' : ok
 * Checking field 'text_word' : ok
 * Checking field 'nextant_path' : ok
 * Checking field 'nextant_owner' : ok
 * Checking field 'nextant_mtime' : ok
 * Checking field 'nextant_share' : ok
 * Checking field 'nextant_sharegroup' : ok
 * Checking field 'nextant_deleted' : ok
 * Checking field 'nextant_source' : ok
 * Checking field 'nextant_tags' : ok
 * Checking field 'nextant_extracted' : ok
 * Checking field 'nextant_ocr' : ok
 * Checking field 'nextant_unmounted' : ok
 * Checking dynamic-field 'ignored_*' : ok
 * Checking dynamic-field 'nextant_attr_*' : ok
 * Checking copy-field 'text_edge/text' : ok
 * Checking copy-field 'text_edge/text_word' : ok

Cleaning extra fields
* Removing field '_root_' : ok
* Removing field '_text_' : ok
* Removing field-type 'ancestor_path' : ok
* Removing field-type 'currency' : ok
* Removing field-type 'date' : ok
* Removing field-type 'delimited_payloads_float' : ok
* Removing field-type 'delimited_payloads_int' : ok
* Removing field-type 'delimited_payloads_string' : ok
* Removing field-type 'descendent_path' : ok
* Removing field-type 'location' : ok
* Removing field-type 'location_rpt' : ok
* Removing field-type 'lowercase' : ok
* Removing field-type 'pdate' : ok
* Removing field-type 'pdates' : ok
* Removing field-type 'pdouble' : ok
* Removing field-type 'pdoubles' : ok
* Removing field-type 'pfloat' : ok
* Removing field-type 'pfloats' : ok
* Removing field-type 'phonetic_en' : ok
* Removing field-type 'pint' : ok
* Removing field-type 'pints' : ok
* Removing field-type 'plong' : ok
* Removing field-type 'plongs' : ok
* Removing field-type 'point' : ok
* Removing field-type 'random' : ok
* Removing field-type 'text_ar' : ok
* Removing field-type 'text_bg' : ok
* Removing field-type 'text_ca' : ok
* Removing field-type 'text_cjk' : ok
* Removing field-type 'text_cz' : ok
* Removing field-type 'text_da' : ok
* Removing field-type 'text_de' : ok
* Removing field-type 'text_el' : ok
* Removing field-type 'text_en' : ok
* Removing field-type 'text_en_splitting' : ok
* Removing field-type 'text_en_splitting_tight' : ok
* Removing field-type 'text_es' : ok
* Removing field-type 'text_eu' : ok
* Removing field-type 'text_fa' : ok
* Removing field-type 'text_fi' : ok
* Removing field-type 'text_fr' : ok
* Removing field-type 'text_ga' : ok
* Removing field-type 'text_general_rev' : ok
* Removing field-type 'text_gl' : ok
* Removing field-type 'text_hi' : ok
* Removing field-type 'text_hu' : ok
* Removing field-type 'text_hy' : ok
* Removing field-type 'text_id' : ok
* Removing field-type 'text_it' : ok
* Removing field-type 'text_ja' : ok
* Removing field-type 'text_lv' : ok
* Removing field-type 'text_nl' : ok
* Removing field-type 'text_no' : ok
* Removing field-type 'text_pt' : ok
* Removing field-type 'text_ro' : ok
* Removing field-type 'text_ru' : ok
* Removing field-type 'text_sv' : ok
* Removing field-type 'text_th' : ok
* Removing field-type 'text_tr' : ok
* Removing field-type 'text_ws' : ok
* Removing dynamic-field '*_txt_en_split_tight' : ok
* Removing dynamic-field '*_descendent_path' : ok
* Removing dynamic-field '*_ancestor_path' : ok
* Removing dynamic-field '*_txt_en_split' : ok
* Removing dynamic-field '*_txt_rev' : ok
* Removing dynamic-field '*_phon_en' : ok
* Removing dynamic-field '*_s_lower' : ok
* Removing dynamic-field '*_txt_cjk' : ok
* Removing dynamic-field 'random_*' : ok
* Removing dynamic-field '*_txt_en' : ok
* Removing dynamic-field '*_txt_ar' : ok
* Removing dynamic-field '*_txt_bg' : ok
* Removing dynamic-field '*_txt_ca' : ok
* Removing dynamic-field '*_txt_cz' : ok
* Removing dynamic-field '*_txt_da' : ok
* Removing dynamic-field '*_txt_de' : ok
* Removing dynamic-field '*_txt_el' : ok
* Removing dynamic-field '*_txt_es' : ok
* Removing dynamic-field '*_txt_eu' : ok
* Removing dynamic-field '*_txt_fa' : ok
* Removing dynamic-field '*_txt_fi' : ok
* Removing dynamic-field '*_txt_fr' : ok
* Removing dynamic-field '*_txt_ga' : ok
* Removing dynamic-field '*_txt_gl' : ok
* Removing dynamic-field '*_txt_hi' : ok
* Removing dynamic-field '*_txt_hu' : ok
* Removing dynamic-field '*_txt_hy' : ok
* Removing dynamic-field '*_txt_id' : ok
* Removing dynamic-field '*_txt_it' : ok
* Removing dynamic-field '*_txt_ja' : ok
* Removing dynamic-field '*_txt_lv' : ok
* Removing dynamic-field '*_txt_nl' : ok
* Removing dynamic-field '*_txt_no' : ok
* Removing dynamic-field '*_txt_pt' : ok
* Removing dynamic-field '*_txt_ro' : ok
* Removing dynamic-field '*_txt_ru' : ok
* Removing dynamic-field '*_txt_sv' : ok
* Removing dynamic-field '*_txt_th' : ok
* Removing dynamic-field '*_txt_tr' : ok
* Removing dynamic-field '*_point' : ok
* Removing dynamic-field '*_srpt' : ok
* Removing dynamic-field '*_pdts' : ok
* Removing dynamic-field '*_tdts' : ok
* Removing dynamic-field 'attr_*' : ok
* Removing dynamic-field '*_txt' : ok
* Removing dynamic-field '*_dts' : ok
* Removing dynamic-field '*_pis' : ok
* Removing dynamic-field '*_pls' : ok
* Removing dynamic-field '*_pfs' : ok
* Removing dynamic-field '*_pds' : ok
* Removing dynamic-field '*_pdt' : ok
* Removing dynamic-field '*_tis' : ok
* Removing dynamic-field '*_tls' : ok
* Removing dynamic-field '*_tfs' : ok
* Removing dynamic-field '*_tds' : ok
* Removing dynamic-field '*_tdt' : ok
* Removing dynamic-field '*_dpf' : ok
* Removing dynamic-field '*_dpi' : ok
* Removing dynamic-field '*_dps' : ok
* Removing dynamic-field '*_is' : ok
* Removing dynamic-field '*_ss' : ok
* Removing dynamic-field '*_ls' : ok
* Removing dynamic-field '*_bs' : ok
* Removing dynamic-field '*_fs' : ok
* Removing dynamic-field '*_ds' : ok
* Removing dynamic-field '*_dt' : ok
* Removing dynamic-field '*_pi' : ok
* Removing dynamic-field '*_pl' : ok
* Removing dynamic-field '*_pf' : ok
* Removing dynamic-field '*_pd' : ok
* Removing dynamic-field '*_ti' : ok
* Removing dynamic-field '*_tl' : ok
* Removing dynamic-field '*_tf' : ok
* Removing dynamic-field '*_td' : ok
* Removing dynamic-field '*_ws' : ok
* Removing dynamic-field '*_i' : ok
* Removing dynamic-field '*_s' : ok
* Removing dynamic-field '*_l' : ok
* Removing dynamic-field '*_t' : ok
* Removing dynamic-field '*_b' : ok
* Removing dynamic-field '*_f' : ok
* Removing dynamic-field '*_d' : ok
* Removing dynamic-field '*_p' : ok
* Removing dynamic-field '*_c' : ok

Your solr contains 0 documents :
 - 0 files
 - 0 bookmarks
 - 0 segments

Running a Nextcloud files:scan works fine:

sbosquep@aleutia:/var/www/nextcloud$ sudo -u www-data ./occ files:scan --all
Starting scan for user 1 out of 1 (sbosque)

+---------+---------+--------------+
| Folders | Files   | Elapsed time |
+---------+---------+--------------+
| 2947324 | 6158941 | 23:16:37     |
+---------+---------+--------------+

Although nextant:check seems apparently ok, every nextant:index attempt fails with a "Killed" message.

Thanks

alissongodoi commented 7 years ago

That's the same as #185 I have been checking the issue 185 however it looks like has been put aside. I can't use Nextant due to this issue as well.

ArtificialOwl commented 6 years ago

Please use Full text search instead of Nextant.