Support Data Collector vs otrs.CheckModules.pl perl module versions
Moderator: crythias
Support Data Collector vs otrs.CheckModules.pl perl module versions
Hello,
Support Data Collector module in my Znuny instillation shows different perl modules versions.
On my user "otrs" account - otrs.CheckModules.pl script shows the correct values but Support Data Collector module shows the wrong valuse.
My Znuny installation uses "otrs" user.
How can I fix it?
Could you help me?
I attached two sample screens.
Piotr.
Support Data Collector module in my Znuny instillation shows different perl modules versions.
On my user "otrs" account - otrs.CheckModules.pl script shows the correct values but Support Data Collector module shows the wrong valuse.
My Znuny installation uses "otrs" user.
How can I fix it?
Could you help me?
I attached two sample screens.
Piotr.
You do not have the required permissions to view the files attached to this post.
-
- Znuny superhero
- Posts: 914
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
Hello Piotr,
Just in case you've updated the Perl modules recently: The Support Data Collector may cache entries for up to 10 minutes. Delete the cache or wait a moment and try it again.
— Emin
Just in case you've updated the Perl modules recently: The Support Data Collector may cache entries for up to 10 minutes. Delete the cache or wait a moment and try it again.
— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
I did it a few days ago. I executed otrs.Console.pl Maint::Cache::Delete also. It didn't help.
Should I delete any temp directory?
Should I delete any temp directory?
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
When I run AdminSupportDataCollector it uses my Perl modules that come with the base Perl installation from the repository.
It ignores my Perl modules that I downloaded from CPAN for the OTRS user.
When I run the script manually it works correctly.
It ignores my Perl modules that I downloaded from CPAN for the OTRS user.
When I run the script manually it works correctly.
-
- Administrator
- Posts: 4114
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
Hi,
CPAN modules must be installed systemwide! You have two different users: the application user and the web server user. That's why you see different version.
- 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 ?
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 ?
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
Redhat system repositories do not provide all the modules and versions required by Znuny. It is almost impossible to provide such modules using system repositories/rpm packages. We have to add/update it manually.
-
- Znuny superhero
- Posts: 914
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
It's not about where you get the Perl modules from, it's about where you install them and who has the permission to access it.
Just install the modules system-wide, as Roy has mentioned. That is the default if you use the root user. Don't use the znuny-user to install the packages via CPAN.
— Emin
Just install the modules system-wide, as Roy has mentioned. That is the default if you use the root user. Don't use the znuny-user to install the packages via CPAN.
— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
The problem is that the perl-homedir RPM sets up a local::lib for all users, including root, so any modules installed as root get installed to its local::lib instead of the global sitelib as expected.
-
- Znuny superhero
- Posts: 914
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
I mean, according to the doc, that's what perl-homedir is supposed to do.
I am not sure if you're aware that this module has nothing to do with Znuny. If you don't need it, uninstall it and if you need it, there should be a way to install system-wide modules anyway.
I am not sure if you're aware that this module has nothing to do with Znuny. If you don't need it, uninstall it and if you need it, there should be a way to install system-wide modules anyway.
Professional Znuny and OTRS services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny superhero
- Posts: 649
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Support Data Collector vs otrs.CheckModules.pl perl module versions
Check this for system wide
viewtopic.php?p=172324#p172324
viewtopic.php?p=172324#p172324
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English