After Update to 5.0.1 (Module FAQ.pm not in @INC)

Moderator: crythias

Locked
Simon74
Znuny newbie
Posts: 20
Joined: 11 Mar 2015, 10:29
Znuny Version: OTRS5

After Update to 5.0.1 (Module FAQ.pm not in @INC)

Post by Simon74 »

After Update to 5.0.1
say my Browser:

Code: Select all

Internal Server Error
the Log say:

Code: Select all

Oct 28 12:35:13 tsys OTRS-CGI-74[32762]: [Error][Kernel::Modules::AgentDashboardCommon::_Element][Line:756]: Module Kernel/Output/HTML/Dashboard/FAQ.pm not in @INC (/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)

Code: Select all

locate FAQ.pm
/opt/otrs/Kernel/Language/da_FAQ.pm
/opt/otrs/Kernel/Language/de_FAQ.pm
/opt/otrs/Kernel/Language/es_FAQ.pm
/opt/otrs/Kernel/Language/es_MX_FAQ.pm
/opt/otrs/Kernel/Language/fa_FAQ.pm
/opt/otrs/Kernel/Language/fi_FAQ.pm
/opt/otrs/Kernel/Language/fr_FAQ.pm
/opt/otrs/Kernel/Language/hu_FAQ.pm
/opt/otrs/Kernel/Language/it_FAQ.pm
/opt/otrs/Kernel/Language/ja_FAQ.pm
/opt/otrs/Kernel/Language/ms_FAQ.pm
/opt/otrs/Kernel/Language/nb_NO_FAQ.pm
/opt/otrs/Kernel/Language/nl_FAQ.pm
/opt/otrs/Kernel/Language/pl_FAQ.pm
/opt/otrs/Kernel/Language/pt_BR_FAQ.pm
/opt/otrs/Kernel/Language/pt_PT_FAQ.pm
/opt/otrs/Kernel/Language/ru_FAQ.pm
/opt/otrs/Kernel/Language/sr_Cyrl_FAQ.pm
/opt/otrs/Kernel/Language/sv_FAQ.pm
/opt/otrs/Kernel/Language/sw_FAQ.pm
/opt/otrs/Kernel/Language/uk_FAQ.pm
/opt/otrs/Kernel/Language/zh_CN_FAQ.pm
/opt/otrs/Kernel/Modules/PublicFAQ.pm
/opt/otrs/Kernel/Output/HTML/DashboardFAQ.pm
/opt/otrs/Kernel/Output/HTML/LayoutFAQ.pm
/opt/otrs/Kernel/Output/HTML/LinkObjectFAQ.pm
/opt/otrs/Kernel/Output/HTML/OutputFilterFAQ.pm
/opt/otrs/Kernel/System/FAQ.pm
/opt/otrs/Kernel/System/DynamicField/ObjectType/FAQ.pm
/opt/otrs/Kernel/System/LinkObject/FAQ.pm
/opt/otrs/var/packagesetup/FAQ.pm
/usr/lib/perl5/DBI/FAQ.pm
/usr/share/perl5/HTML/Template/FAQ.pm
What is to do ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: After Update to 5.0.1 (Module FAQ.pm not in @INC)

Post by jojo »

Update FAQ to the needed package of OTRS 5
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Simon74
Znuny newbie
Posts: 20
Joined: 11 Mar 2015, 10:29
Znuny Version: OTRS5

Re: After Update to 5.0.1 (Module FAQ.pm not in @INC)

Post by Simon74 »

Hello,

thank for reply.

Code: Select all

root@tsys /opt/otrs > su otrs -c "bin/otrs.Console.pl Admin::Package::Upgrade /opt/FAQ-5.0.1.opm"
Upgrading package...
+----------------------------------------------------------------------------+
| FAQ-5.0.1
| Upgrade Information

|  WELCOME

|  You are about to upgrade the OTRS package FAQ.

|  ((enjoy))

 +----------------------------------------------------------------------------+
ERROR: OTRS-otrs.Console.pl-Admin::Package::Upgrade-74 Perl: 5.14.2 OS: linux Time: Wed Oct 28 15:11:00 2015

 Message: [b]Can't upgrade, package 'FAQ-5.0.1' already installed![/b]

 Traceback (3713):
   Module: Kernel::System::Package::PackageUpgrade Line: 802
   Module: Kernel::System::Console::Command::Admin::Package::Upgrade::Run Line: 71
   Module: (eval) Line: 441
   Module: Kernel::System::Console::BaseCommand::Execute Line: 435
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 86
   Module: bin/otrs.Console.pl Line: 38

Error: Package upgrade failed.
log:

Code: Select all

Oct 28 15:11:00 tsys OTRS-otrs.Console.pl-Admin::Package::Upgrade-74[3713]: [Error][Kernel::System::Package::PackageUpgrade][Line:802]: Can't upgrade, package 'FAQ-5.0.1' already installed!
Oct 28 15:11:01 tsys /USR/SBIN/CRON[3715]: (otrs) CMD ($HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null)
Oct 28 15:11:42 tsys OTRS-CGI-74[2346]: [Error][Kernel::Modules::AgentDashboardCommon::_Element][Line:756]: Module Kernel/Output/HTML/Dashboard/FAQ.pm not in @INC (/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)
Oct 28 15:11:42 tsys OTRS-CGI-74[2346]: [Error][Kernel::Modules::AgentDashboardCommon::_Element][Line:756]: Module Kernel/Output/HTML/Dashboard/FAQ.pm not in @INC (/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)
Oct 28 15:11:42 tsys OTRS-CGI-74[2346]: [Error][Kernel::Output::HTML::Layout::Header][Line:1310]: Module Kernel/Output/HTML/HeaderMeta/AgentFAQSearch.pm not in @INC (/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)
Oct 28 15:12:01 tsys /USR/SBIN/CRON[3769]: (otrs) CMD ($HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null)
Simon74
Znuny newbie
Posts: 20
Joined: 11 Mar 2015, 10:29
Znuny Version: OTRS5

Re: After Update to 5.0.1 (Module FAQ.pm not in @INC)

Post by Simon74 »

ok, retour to backup.
new update to 5.0.1, all ok.
Locked