3.3 BETA-5 some Kernel/Modules/ missing

Moderator: crythias

Post Reply
catweazle
Znuny advanced
Posts: 121
Joined: 15 Feb 2012, 12:22
Znuny Version: 3.1

3.3 BETA-5 some Kernel/Modules/ missing

Post by catweazle »

Upgrading my Test-Machine (rpm -Uvh...) worked well without any errors.

Admin -> Responses (/otrs/index.pl?Action=AdminResponse) gives me an error:

Code: Select all

Module Kernel/Modules/AdminResponse.pm not found/could not be loaded!
...because there is no /opt/otrs/Kernel/Modules/AdminResponse.pm

so i checked https://github.com/OTRS/otrs/tree/rel-3 ... el/Modules

and AdminResponse.pm isn t a part of Kernel/Modules/ in OTRS 3.3 BETA-5

So why my otrs is still linking to?

OS: CentOS 6.4 / MySQL / upgraded from OTRS 3.2 via rpm

Full-Error_Message

Code: Select all

Backend ERROR: OTRS-CGI-992013 Perl: 5.10.1 OS: linux Time: Thu Oct 24 14:58:50 2013 Message: Module Kernel/Modules/AdminResponse.pm not found/could not be loaded! RemoteAddress: 193.196.65.171 RequestURI: /otrs/index.pl?Action=AdminResponse Traceback (41986): Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.0.beta5) Line: 186 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41 Module: (eval) (v1.99) Line: 204 Module: ModPerl::RegistryCooker::run (v1.99) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31 
1: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
2: Test: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
3: Test-2: OTRS 3.3.x + Support + MasterSlave @ CentOS 6.5 , MySQL (iphone, idoit-trash)
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: 3.3 BETA-5 some Kernel/Modules/ missing

Post by reneeb »

The Upgrade isn't clean. The configuration doesn't mention AdminResponse either, so an "old" config is used. Search for "AdminResponse" in your Configs (Kernel/Config.pm and Kernel/Config/Files/ZZZ*.pm) and replace it with "AdminTemplate".
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: 3.3 BETA-5 some Kernel/Modules/ missing

Post by crythias »

or rebuildconfig...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
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
catweazle
Znuny advanced
Posts: 121
Joined: 15 Feb 2012, 12:22
Znuny Version: 3.1

Re: 3.3 BETA-5 some Kernel/Modules/ missing

Post by catweazle »

reneeb wrote:The Upgrade isn't clean. The configuration doesn't mention AdminResponse either, so an "old" config is used. Search for "AdminResponse" in your Configs (Kernel/Config.pm and Kernel/Config/Files/ZZZ*.pm) and replace it with "AdminTemplate".
ah here we go :)

for all people who do not want to read much more ;)

Code: Select all

AdminTemplate
fixed it for AdminResponse like reneeb told me (see his quote above)

just did

Code: Select all

grep -r "AdminResponse" /opt/otrs/Kernel/*
and got

Code: Select all

/opt/otrs/Kernel/Config/Files/ZZZAuto.pm:$Self->{'Frontend::Module'}->{'AdminResponseAttachment'} =  {
/opt/otrs/Kernel/Config/Files/ZZZAuto.pm:$Self->{'Frontend::Module'}->{'AdminResponse'} =  {
meanwhile i discoverd more errors, all related to "Response-stuff"
crythias wrote:or rebuildconfig...
rpm-upgrade should have done, but I did it too.

maybe there is a permission problem because

Code: Select all

-rw-rw---- 1 apache apache 29783 24. Okt 11:47 /opt/otrs/Kernel/Config/Files/ZZZAuto.pm
I wonder if it shouldn t be "otrs apache" instead of "apache apache" ?!

on the other hand I did
/opt/otrs/bin/otrs.RebuildConfig.pl
as root, so should it matter?

I ll play further more an let you know
Thanks to reneeb and crythias
1: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
2: Test: OTRS 3.1.21 + Support + MasterSlave @ CentOS 6.5 , MySQL
3: Test-2: OTRS 3.3.x + Support + MasterSlave @ CentOS 6.5 , MySQL (iphone, idoit-trash)
Post Reply