Perl Module iCal::Parser Not found By user otrs

Moderator: crythias

Post Reply
sikalil
Znuny newbie
Posts: 5
Joined: 24 May 2023, 15:09
Znuny Version: Znuny 6.4.5
Real Name: Ibrahim Kalil SYLLA

Perl Module iCal::Parser Not found By user otrs

Post by sikalil »

Hello,

We start upgrading znuny 6.4.5 to znuny LTS 6.5.1.

We ran Migration script " MigrateToZnuny6_5.pl " and received error :

Migration started ...

Checking requirements ...

Requirement check for: Check required Perl version ...
Requirement check for: Check required database version ...
Requirement check for: Check database charset ...
Requirement check for: Check required Perl modules ...

Error: not all required Perl modules are installed. Please follow the recommendations to install them, and then run the upgrade script again.

Not possible to complete migration. Check previous messages for more information.



we checked the module and found that it is " iCal::Parser " as we can see below output:
o iCal::Parser.....................Not installed! To install, you can use: 'yum install "perl(iCal::Parser)"'. (required - Required for calendar events.)



Using "yum nstall" command return :
No package perl(iCal::Parser) available.
Error: Nothing to do


We installed the module through cpan and worked but Migration script returns same outup as previously

running script " otrs.CheckModules.pl -all" as 'otrs' user the module is still missing but as 'root' user we noticed that the module is OK :
o iCal::Parser.....................ok (v1.21) o iCal::Parser.....................ok (v1.21)


I need your Help

Thank you in advance

BR
____
Kalil
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Perl Module iCal::Parser Not found By user otrs

Post by root »

Hi,

Looks like you have the module not correctly installed. Check if any environment variables are set that start with PERL5 in the name. I guess there's a directory /root/perl5 which indicates you have the module just installed for the user root.

- 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 ?
subascha
Znuny newbie
Posts: 14
Joined: 21 Apr 2015, 11:24
Znuny Version: 6.4.5
Real Name: Sascha Anders

Re: Perl Module iCal::Parser Not found By user otrs

Post by subascha »

Did you install it via cpan in the otrs user context? If you installed it via root it's not present for the otrs user in default cpan configuration.
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Perl Module iCal::Parser Not found By user otrs

Post by root »

sjoswig wrote: 25 May 2023, 08:00 Did you install it via cpan in the otrs user context? If you installed it via root it's not present for the otrs user in default cpan configuration.
HI,

Sorry, but this is wrong. Installing for the otrs user won't work either because the web server should use it's user. He has probably the variables PERL_MB_OPT, PERL_MM_OPT, and others.

- 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 ?
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Perl Module iCal::Parser Not found By user otrs

Post by skullz »

sikalil
Znuny newbie
Posts: 5
Joined: 24 May 2023, 15:09
Znuny Version: Znuny 6.4.5
Real Name: Ibrahim Kalil SYLLA

Re: Perl Module iCal::Parser Not found By user otrs

Post by sikalil »

root wrote: 24 May 2023, 18:53 Hi,

Looks like you have the module not correctly installed. Check if any environment variables are set that start with PERL5 in the name. I guess there's a directory /root/perl5 which indicates you have the module just installed for the user root.

- Roy
Hi,
Thank for your return,
how can I do that ?
I checked with "echo $PERL5" and found nothing.

__
Kalil
sikalil
Znuny newbie
Posts: 5
Joined: 24 May 2023, 15:09
Znuny Version: Znuny 6.4.5
Real Name: Ibrahim Kalil SYLLA

Re: Perl Module iCal::Parser Not found By user otrs

Post by sikalil »

skullz wrote: 25 May 2023, 08:57 viewtopic.php?p=172324#p172324
Hi,

Thank you for sharing

I executed command and returns "No documentation found for "iCal::Parser"."

on "/root" there only ".capan" and ".cpanm" folder.
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Perl Module iCal::Parser Not found By user otrs

Post by root »

Hi,

Then please show the complete output including the command when installing iCal::Parser.

- 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 ?
Post Reply