znuny / Znuny-SearchFrontend

1 stars 1 forks source link

Can't locate Kernel/System/Search/Object/EngineQueryHelper/.pm #1

Open fxlxx opened 1 year ago

fxlxx commented 1 year ago

Znuny: 6.5.1 build from source.

Znuny-Search: 6.5.1 Znuny-SearchFrontend: 6.5.2

When i click the tab Znuny search in the dashboard i get an error in the system log:

Facility: OTRS-CGI-10:

Can't locate Kernel/System/Search/Object/EngineQueryHelper/.pm in @INC 
(you may need to install the Kernel::System::Search::Object::EngineQueryHelper:: module)
(@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ 
/usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/otrs/ /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 
/usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 
/usr/share/perl/5.28 /usr/local/lib/site_perl /etc/apache2) 
at /opt/otrs/Kernel/System/Main.pm line 86.

The path Kernel/System/Search/Object/EngineQueryHelper/ does exist, but i wonder about EngineQueryHelper/.pm in the path of the error message. Shouldn't it be EngineQueryHelper/ES.pm ? That's the file i see in the folder.

Additional error, wich may be a follow-up error:

Facility: OTRS-otrs.Console.pl-Maint::Search::ES::IndexQueueDataProcess-10

There was an error executing Execute() in 
Kernel::System::Console::Command::Maint::Search::ES::IndexQueueDataProcess: 
Console command 'IndexQueueDataProcess' is failed.
hanneshal commented 1 year ago

Hi @motod is the engine configured, active and working correct? https://github.com/znuny/Znuny-Search/blob/dev/doc/documentation.md Regards

fxlxx commented 1 year ago

Oh my, thanks for the link, didn't knew about it. If i want to open /otrs/index.pl?Action=AdminSearch i get another error:

Kernel::System::Search::Admin::Reindexation could not be loaded: 
Can't locate Proc/Find.pm in @INC (you may need to install the Proc::Find module) 
(@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/otrs/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /etc/apache2) at /opt/otrs/Kernel/System/Search/Admin/Reindexation.pm line 15.

Installed it right now and checking the settings.

cpanm Proc::Find

hanneshal commented 1 year ago

I add that to the docs. We missed that

dennykorsukewitz commented 1 year ago

We should add ModuleRequired to SOPM.