Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Moderator: crythias

Post Reply
jabuzzard
Znuny newbie
Posts: 5
Joined: 15 Nov 2020, 21:45
Znuny Version: 6.0.30
Real Name: Jonathan Buzzard
Company: University of Strathclyde

Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by jabuzzard »

Went to upgrade our OTRS community 6.0.30-02 to Znuny 6.0.35-01 this morning. There where no errors when installing the RPM and I can log on just fine. However when I click on a ticket I get the following.

Any ideas what the issue is? The only quirk in my setup is that I am running on CentOS 8.4. Basically we where running on 3.3 on CentOS 6 so last November I upgraded to the OTRS 6.0.30 and decided to go with CentOS 8 as CentOS 7 is nearing the end and I didn't fancy doing an OS upgrade again anytime soon.

Fortunately for me I am running in a VM and I took a snapshot right before doing the upgrade. I have now reverted the snapshot and am back to OTRS but that's not a long term solution.

Code: Select all

An Error Occurred
Can't locate Kernel/Output/HTML/TicketMenu/TeaserAttachmentView.pm in @INC (you may need to install the Kernel::Output::HTML::TicketMenu::TeaserAttachmentView module) (@INC contains: /opt/otrs/Cust...

Error Details
Backend ERROR: OTRS-CGI-99 Perl: 5.26.3 OS: linux Time: Fri Jul 9 09:36:53 2021

 Message: Can't locate Kernel/Output/HTML/TicketMenu/TeaserAttachmentView.pm in @INC (you may need to install the Kernel::Output::HTML::TicketMenu::TeaserAttachmentView module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /etc/httpd) at /opt/otrs/Kernel/System/Main.pm line 86.


 RemoteAddress: 10.5.137.252
 RequestURI: /index.pl?Action=AgentTicketZoom;TicketID=113820

 Traceback (6136): 
   Module: Kernel::Modules::AgentTicketZoom::MaskAgentZoom Line: 1234
   Module: Kernel::Modules::AgentTicketZoom::Run Line: 820
   Module: Kernel::System::Web::InterfaceAgent::Run Line: 1136
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 39
   Module: (eval) (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
   Module: ModPerl::Registry::handler (v1.99) Line: 32
wurzel
Znuny guru
Posts: 3242
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by wurzel »

Hi,

it seems you have a third party module installed Teaser Attachement View "TeaserAttachmentView.pm"

you need to make sure the module is supported by znuny 6.x and upgradable. Otherwise remove it before the upgrade


Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
root
Administrator
Posts: 4143
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by root »

Hi,

If the add-on runs with OTRS 6.0.30 is more than likely it runs with znuny 6.0.x too. Did you reinstalled the add-on(s)?

Run as the application user (e.g. otrs) the command 'bin/otrs.Console.pl Admin::Package::ReinstallAll' and restart the apache.

- 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 ?
skullz
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: Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by skullz »

Code: Select all

Ticket::Frontend::MenuModule###999-TeaserAttachmentView

*Shows a teaser link in the menu for the ticket attachment view of OTRS Business Solution™.
From the docs, its part of business edition..@root this BE should work right when update to znuny?
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
jabuzzard
Znuny newbie
Posts: 5
Joined: 15 Nov 2020, 21:45
Znuny Version: 6.0.30
Real Name: Jonathan Buzzard
Company: University of Strathclyde

Re: Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by jabuzzard »

Thing is I am not aware of ever installing any modules on the system. In fact I am certain that I have not.

This was a clean CentOS 8 VM back in November that only ever had the otrs-6.0.30-02.noarch.rpm community edition RPM installed and the database moved from an OTRS 5 install and converted to UTF8.
root
Administrator
Posts: 4143
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by root »

Hi,

Please run 'bin/otrs.Console.pl Maint::Config::Rebuild --cleanup' and try again

- 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 ?
jabuzzard
Znuny newbie
Posts: 5
Joined: 15 Nov 2020, 21:45
Znuny Version: 6.0.30
Real Name: Jonathan Buzzard
Company: University of Strathclyde

Re: Error upgrading from otrs 6.0.30-02 to znuny 6.0.35-01

Post by jabuzzard »

I will do, but I will need to schedule a maintenance slot first. Won't be till next week now as we are busy doing final preparation for a major upgrade of our HPC system this week.
Post Reply