Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Time-Piece module needed by the Sisimai is not installed #17

Open
ikedas opened this issue May 6, 2023 · 0 comments
Open

The Time-Piece module needed by the Sisimai is not installed #17

ikedas opened this issue May 6, 2023 · 0 comments

Comments

@ikedas
Copy link

ikedas commented May 6, 2023

Version

OTRS Community Edition 6.0.40 (we upgraded from OTRS 5.0.42 today).
CentOS 9 Stream.

Installation method

Manual, without RPM nor Installation script.

Problem

The system setting PostMaster::PreFilterModule contains the module Kernel::System::PostMaster::Filter::DetectBounceEmail.

In this case, OTRS fails to retrieve the message via IMAP and the following error log is shown:

May  6 11:00:02 xxxxxxx OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-1[106368]: [Error][Kernel::System::PostMaster::Run][Line:172]: Can't locate Time/Piece.pm in @INC (you may need to install the Time::Piece module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /opt/otrs/Kernel/cpan-lib/parent.pm line 16.#012BEGIN failed--compilation aborted at /opt/otrs/Kernel/cpan-lib/Sisimai/Time.pm line 2.#012Compilation failed in require at /opt/otrs/Kernel/cpan-lib/Sisimai/Data.pm line 9.#012BEGIN failed--compilation aborted at /opt/otrs/Kernel/cpan-lib/Sisimai/Data.pm line 9.#012Compilation failed in require at /opt/otrs/Kernel/System/PostMaster/Filter/DetectBounceEmail.pm line 15.#012BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/PostMaster/Filter/DetectBounceEmail.pm line 15.#012Compilation failed in require at /opt/otrs/Kernel/System/Main.pm line 86.
May  6 11:00:02 xxxxxxx OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-1[106368]: [Error][Kernel::System::MailAccount::IMAP::__ANON__][Line:330]: Error while executing 'IMAPS->get(6003)': Can't locate object method "get" via package "Mail::IMAPClient" at /opt/otrs/Kernel/System/MailAccount/IMAP.pm line 319.
May  6 11:00:02 xxxxxxx OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-1[106368]: [Error][Kernel::System::CommunicationLog::_LogError][Line:539]: CommunicationLog(ID:14,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:24)::Kernel::System::MailAccount::IMAPS => IMAPS: Failed to process message (saved as /opt/otrs/var/spool/problem-email-e720f7dbf9baa3fa32060d5efbf9a069).

After we installed the Time-Piece module, the problem went away.

Possible solution

Time-Piece module would be better to be included in the needed modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant