Error: Missing Kernel::System::Calendar::Plugin::Ticket

Moderator: crythias

Post Reply
uffIT
Znuny newbie
Posts: 9
Joined: 22 Mar 2022, 09:20
Znuny Version: 6.3.1
Real Name: Alessio Minacapelli

Error: Missing Kernel::System::Calendar::Plugin::Ticket

Post by uffIT »

Hello,
After upgrading to 6.3.1 I keep on receiveing errors like this on the system log section:

Code: Select all

function: OTRS-otrs.Console.pl-Maint::Calendar::Ticket::Generate-42
Message: Can't load plugin module Kernel::System::Calendar::Plugin::Ticket! 

function: OTRS-otrs.Console.pl-Maint::Calendar::Ticket::Generate-42

Message: Can't locate Kernel/System/Calendar/Plugin/Ticket.pm in @INC (you may need to install the Kernel::System::Calendar::Plugin::Ticket module) 
(@INC contains: /opt/znuny-6.3.1/Custom /opt/znuny-6.3.1/Kernel/cpan-lib /opt/znuny-6.3.1 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 
/usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) 
at /opt/znuny-6.3.1/Kernel/System/Main.pm line 86.
As a matter of fact the file is missing from the folder /opt/otrs/Kernel/System/Calendar/Plugin
The file is present in my old folder of the 6.2.2 version.
Is it a bug? Do I need to change something on my installation to get rid of those errors?
I don't have any Calendar set so we don't use any calendar related functions.

Thank you.

Alessio
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Error: Missing Kernel::System::Calendar::Plugin::Ticket

Post by root »

Hi,

Have you executed the migration script? Please execute the command:

bin/otrs.Console.pl Maint::Config::Rebuild --cleanup

and check if the problem still exist.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
uffIT
Znuny newbie
Posts: 9
Joined: 22 Mar 2022, 09:20
Znuny Version: 6.3.1
Real Name: Alessio Minacapelli

Re: Error: Missing Kernel::System::Calendar::Plugin::Ticket

Post by uffIT »

Thank you Roy!
That command fixed the problem!

Many thanks!
KaiHerlemann
Znuny Employee
Posts: 10
Joined: 15 Apr 2022, 20:34
Znuny Version: 6.4
Real Name: Kai Herlemann
Company: Znuny

Re: Error: Missing Kernel::System::Calendar::Plugin::Ticket

Post by KaiHerlemann »

In our case, the problem still exists (with Znuny 6.3.3).
The settings in the sysconfig "Core::AppointmentCalendar::Plugin" navigation path looks like you can see in the attachment.
Looks for me like this change in one of the .xml files wasn't properly adopted by the migration script.
The "bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" command doesn't help.

If I change the setting

Code: Select all

AppointmentCalendar::Plugin###0100-Ticket
from

Code: Select all

Kernel::System::Calendar::Plugin::Ticket
to

Code: Select all

Kernel::System::Calendar::Plugin::Ticket::Link
, it works. (Also the

Code: Select all

AgentAppointmentCalendarOverview
view works then, as well as

Code: Select all

AgentAppointmentCalendarOverview;Subaction=AppointmentCreate;PluginKey=0100-Ticket;ObjectID=xxxxx
, before I change it manually the browser wants to downloads a empty index.pl file.)
So, I think the reason is clear, but I don't know why the migrations script doesn't properly adopt the changes in the .xml file.
You do not have the required permissions to view the files attached to this post.
KaiHerlemann
Znuny Employee
Posts: 10
Joined: 15 Apr 2022, 20:34
Znuny Version: 6.4
Real Name: Kai Herlemann
Company: Znuny

Re: Error: Missing Kernel::System::Calendar::Plugin::Ticket

Post by KaiHerlemann »

Problem is solved.
There was still a file /root/opt/otrs/Kernel/Config/Files/XML/OTRSAppointmentCalendar.xml, which caused the problem.

Thanks to Roy!
Post Reply