Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Moderator: crythias

Post Reply
dasDing
OTRS expert
Posts: 54
Joined: 12 Nov 2013, 19:27
OTRS Version?: 4.0.x Linux

Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by dasDing » 12 Nov 2015, 16:37

Hi all,

I have this error message in my log and can not open by example http://abc/otrs/index.pl?Action=AgentPreferences

Module Kernel/Output/HTML/PreferencesGeneric.pm not in @INC (/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/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2)

I do not get any "Error details" when I am open http://abc/otrs/index.pl?Action=AgentPreferences

I think that the path of the pm-file is wrong: Kernel/Output/HTML/PreferencesGeneric.pm There is missing a "/" between Preferences and Gneric
How do I get it in there?

Thanks

User avatar
crythias
Moderator
Posts: 9984
Joined: 04 May 2010, 18:38
OTRS Version?: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by crythias » 12 Nov 2015, 17:42

it means what it says:
otrs/Kernel/Output/HTML/PreferencesGeneric.pm doesn't exist.
OTRS 5.0.x (private/testing/public) on Linux with MySQL database. Also on github.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask

RStraub
OTRS guru
Posts: 2052
Joined: 13 Mar 2014, 09:16
OTRS Version?: 5.0.14
Real Name: Rolf Straub

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by RStraub » 12 Nov 2015, 17:50

I guess you migrated to 5.x ?

Seems quite a vew people have this problem. It seems to happen if some sysconfig entries got customized and not properly migrated. Try looking in your ~home/Kernel/Config/ZZZ* Files if you find the entry searching for "PreferencesGeneric.pm" and change that setting in the sysconfig.
Currently using: OTRS 5.0.14 -- MariaDB -- Ubuntu 16 LTS

dasDing
OTRS expert
Posts: 54
Joined: 12 Nov 2013, 19:27
OTRS Version?: 4.0.x Linux

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by dasDing » 12 Nov 2015, 18:44

Thank you both. I think that is a good hint.
I did not find this entry.

I have upgrade to 5.0.1

Julian0o
OTRS expert
Posts: 55
Joined: 14 May 2014, 13:28
OTRS Version?: 5.0.7

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by Julian0o » 27 Mar 2016, 16:44

I had the same problems after upgrading from 3.3.15 to 5.0.7 (because of kix).

You have to search the ZZZAuto File for the .pm file and reset this configuration in sysconfig. Seems that the rebuild Config does not work for everything ;)
OTRS 5.x & KIX4OTRS

pyperdown
OTRS newbie
Posts: 6
Joined: 31 Aug 2016, 01:31
OTRS Version?: 5.0.14
Real Name: Jefferson Davis
Company: Standard School District

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by pyperdown » 17 Nov 2016, 20:11

Where is this set in sysconfig? I'm late to the 5.0.x party.

pyperdown
OTRS newbie
Posts: 6
Joined: 31 Aug 2016, 01:31
OTRS Version?: 5.0.14
Real Name: Jefferson Davis
Company: Standard School District

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by pyperdown » 17 Nov 2016, 20:41

SOLVED

Module path was wrong in ZZZAuto.pm

Changed

Code: Select all

 'Module' => 'Kernel::Output::HTML::PreferencesGeneric',

to

Code: Select all

'Module' => 'Kernel::Output::HTML::Preferences::Generic',
I have a feeling I'm not quite done finding some of this type of issue.

FWIW I found nothing of this nature in sysconfig, which is not to discount my own impatience.

Post Reply