Projet

Général

Profil

Anomalie #13212

[ANALYSE] anomalie de recherche plein texte

Ajouté par Ludovic ARAUJO il y a environ 4 ans. Mis à jour il y a presque 3 ans.

Statut:
Clôturé
Priorité:
2-Sérieux
Assigné à:
-
Version cible:
Début:
12/02/2020
Echéance:
Version applicable MC:
Tags Courrier:

Description

Sur le serveur d'intégration, la recherche plein texte tombe en erreur (disponible sur le serveur d'intégration : http://217.70.190.26/MaarchCourrier/cs_ines/).

voici l'erreur :

 PHP Stack trace:, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   1. {main}() /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/index.php:0, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   2. core_tools->insert_page() /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/index.php:216, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   3. require() /var/www/html/MaarchCourrier1904/core/class/class_core_tools.php:1648, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   4. Zend_Search_Lucene::open() /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/indexing_searching/search_adv_result.php:376, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   5. Zend_Search_Lucene->__construct() /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene.php:225, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   6. Zend_Search_Lucene::getActualGeneration() /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene.php:529, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP   7. Zend_Search_Lucene_Storage_Directory_Filesystem->getFileObject() /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene.php:285, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching
 PHP Fatal error:  Uncaught Zend_Search_Lucene_Exception: Index doesn't exists in the specified directory. in /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene.php:566Stack 
 trace:
     #0 /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene.php(225): Zend_Search_Lucene->__construct('/opt/maarch/doc...', false)
     #1 /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/indexing_searching/search_adv_result.php(376): Zend_Search_Lucene::open('/opt/maarch/doc...')
     #2 /var/www/html/MaarchCourrier1904/core/class/class_core_tools.php(1648): require('/var/www/html/M...')
     #3 /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/index.php(216): core_tools->insert_page()
     #4 {main}  thrown in /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene.php on line 566, referer: http://localhost/MaarchCourrier1904/cs_cd45/apps/maarch_entreprise/index.php?page=search_adv&dir=indexing_searching

dossier /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/ :

/var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene$ ls -la
total 64
drwxr-xr-x 3 ludo ludo  4096 avril 16  2019 .
drwxr-xr-x 4 ludo ludo  4096 avril 16  2019 ..
-rwxr-xr-x 1 ludo ludo  1049 avril 16  2019 Exception.php
drwxr-xr-x 8 ludo ludo  4096 avril 16  2019 Lucene
-rwxr-xr-x 1 ludo ludo 47468 avril 16  2019 Lucene.php

dossier /var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/ :

/var/www/html/MaarchCourrier1904/apps/maarch_entreprise/tools/Zend/Search/Lucene$ ls -la
total 152
drwxr-xr-x 8 ludo ludo  4096 avril 16  2019 .
drwxr-xr-x 3 ludo ludo  4096 avril 16  2019 ..
drwxr-xr-x 4 ludo ludo  4096 avril 16  2019 Analysis
drwxr-xr-x 2 ludo ludo  4096 avril 16  2019 Document
-rwxr-xr-x 1 ludo ludo  3354 avril 16  2019 Document.php
-rwxr-xr-x 1 ludo ludo  1084 avril 16  2019 Exception.php
-rwxr-xr-x 1 ludo ludo  6016 avril 16  2019 Field.php
-rwxr-xr-x 1 ludo ludo  1556 avril 16  2019 FSMAction.php
-rwxr-xr-x 1 ludo ludo 13812 avril 16  2019 FSM.php
drwxr-xr-x 4 ludo ludo  4096 avril 16  2019 Index
drwxr-xr-x 2 ludo ludo  4096 avril 16  2019 Interface
-rwxr-xr-x 1 ludo ludo 12060 avril 16  2019 Interface.php
-rwxr-xr-x 1 ludo ludo  8716 avril 16  2019 LockManager.php
-rwxr-xr-x 1 ludo ludo 28462 avril 16  2019 MultiSearcher.php
-rwxr-xr-x 1 ludo ludo  4335 avril 16  2019 PriorityQueue.php
-rwxr-xr-x 1 ludo ludo 16173 avril 16  2019 Proxy.php
drwxr-xr-x 7 ludo ludo  4096 avril 16  2019 Search
drwxr-xr-x 4 ludo ludo  4096 avril 16  2019 Storage
-rwxr-xr-x 1 ludo ludo  4896 avril 16  2019 TermStreamsPriorityQueue.php

Les fichiers sont bien présents, quels pourrais êtres les cause de ces retours d'erreurs ?

Historique

#2 Mis à jour par Support Maarch il y a environ 4 ans

  • Statut changé de A qualifier à A traiter

#3 Mis à jour par Emmanuel DILLARD il y a environ 4 ans

  • Sujet changé de Demande d’analyse sur l'anomalie de recherche plein texte à [ANALYSE] anomalie de recherche plein texte
  • Statut changé de A traiter à R&D - A planifier

#4 Mis à jour par Emmanuel DILLARD il y a environ 4 ans

  • Priorité changé de 2-Sérieux à 3-Mineur

#5 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

  • Priorité changé de 3-Mineur à 2-Sérieux

#6 Mis à jour par Florian AZIZIAN il y a plus de 3 ans

  • Statut changé de R&D - A planifier à Complément d'Informations
  • Assigné à mis à Ludovic ARAUJO

Piste pour corriger le problème :
- Vérifier que les chemins path_to_lucene_index soient correctement paramétrés dans le config.xml
- Vérifier que les droits soient correctement positionnés sur les dossiers contenant les index lucene (chemin défini dans la balise path_to_lucene_index)
- Vérifier que le user qui lance les batchs d'indexation full text soit le même que le user qui lance apache

#7 Mis à jour par Ludovic ARAUJO il y a environ 3 ans

  • Statut changé de Complément d'Informations à A traiter
  • Assigné à Ludovic ARAUJO supprimé

a cloturer

#8 Mis à jour par Emmanuel DILLARD il y a environ 3 ans

  • Statut changé de A traiter à Clôturé

#9 Mis à jour par Emmanuel DILLARD il y a presque 3 ans

  • Projet changé de Backlog à Backlog Courrier
  • Version cible changé de 19.04 (Fin de vie) à 19.04 (Sécurité)

Formats disponibles : Atom PDF