Issue after update from V3>V4>V5>V6 CustomerUserGeneric.pm

Moderator: crythias

Locked
alfl
Znuny newbie
Posts: 22
Joined: 18 Feb 2013, 23:08
Znuny Version: 3.3.14
Real Name: A. Flora
Company: Lex IT

Issue after update from V3>V4>V5>V6 CustomerUserGeneric.pm

Post by alfl »

I upgraded from version 3.3.20 to version 6.0.28

All worked but it is definitely not easy to do because of all kind of database issues, but i have one last error which i can't seem to resolve

every time i create a ticket or reply a ticket or even open a ticket i got the following error message :
OTRS detected possible network issues. You could either try reloading this page manually or wait until your browser has re-established the connection on its own.

In the apache error log i can see that the module CustomerUserGeneric.pm is trying to get loaded but can't be found at its location

Message: Can't locate Kernel/Output/HTML/CustomerUserGeneric.pm in @INC (you may need to install the Kernel::Output::HTML::CustomerUserGeneric module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl . /etc/apache2) at /opt/otrs/Kernel/System/Main.pm line 85.


I checked and the file is not there, but if i copy the original file from backup 3.3.20 to this location i get error:
Message:
[:error] [pid 23054] [Wed Jul 1 12:13:37 2020] -e: Got no ConfigObject! at /opt/otrs/Kernel/Output/HTML/CustomerUserGeneric.pm line 23.\n

which i can imagine because of the difference between the versions

How can i resolve this error ?
Mail server is exchange, otrs is running on Ubuntu 18.04LTS, OTRS version is 6.0.28
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Issue after update from V3>V4>V5>V6 CustomerUserGeneric.pm

Post by zzz »

You can't just copy files from older versions into your system.
That's a file from version 3/4 and is not needed anymore.

Check your system configuration and the Config.pm for 'CustomerUserGeneric' references and remove/fix those settings.

— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
alfl
Znuny newbie
Posts: 22
Joined: 18 Feb 2013, 23:08
Znuny Version: 3.3.14
Real Name: A. Flora
Company: Lex IT

Re: Issue after update from V3>V4>V5>V6 CustomerUserGeneric.pm

Post by alfl »

Ok, i searched for CustomerUserGeneric in the SystemConfiguration and found 2 items

Frontend::CustomerUser::Item###1-GoogleMaps
Frontend::CustomerUser::Item###15-OpenTickets

I disabled these and the error is gone, but do i need to just disable them or do i need to change kernel module which referenced to the following:
Kernel::Output::HTML::CustomerUserGeneric
Kernel::Output::HTML::CustomerUserGenericTicket
Mail server is exchange, otrs is running on Ubuntu 18.04LTS, OTRS version is 6.0.28
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Issue after update from V3>V4>V5>V6 CustomerUserGeneric.pm

Post by zzz »

You don't even need to disable them, you can just reset these settings and it will automatically fix it for you.
You most likely made some changes to these settings leading to them not getting updated correctly.

— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
alfl
Znuny newbie
Posts: 22
Joined: 18 Feb 2013, 23:08
Znuny Version: 3.3.14
Real Name: A. Flora
Company: Lex IT

Re: Issue after update from V3>V4>V5>V6 CustomerUserGeneric.pm

Post by alfl »

Ah, i didn't notice the 'reset settings' button on top of each setting to reset to the default values.

I reset the settings to the defaults and the errors are still gone as is the pop up, so thanks for the quick support and answers.
Mail server is exchange, otrs is running on Ubuntu 18.04LTS, OTRS version is 6.0.28
Locked