OTRS 5 Upgrade - Missing Ticket Notifications

Moderator: crythias

Post Reply
esaunders
Znuny newbie
Posts: 26
Joined: 29 Jan 2015, 01:28
Znuny Version: 6.0.x
Real Name: Eric Saunders

OTRS 5 Upgrade - Missing Ticket Notifications

Post by esaunders »

I'm testing an upgrade from 4.0.24 to 5.0.1. Per Step 14 in the admin manual update instructions, it's my understanding that Agent Notifications and Event Notifications have now been consolidated into Ticket Notifications. Following the upgrade, none of the new default Ticket Notifications appear, the old Agent Notifications are also not listed. The several Event Notifications that I created are there but the content of the Notification Text is now blank.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 5 Upgrade - Missing Ticket Notifications

Post by jojo »

please use the latest version as target (5.0.22.)

So migrate 4.0.24. -> 5.0.22
"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
esaunders
Znuny newbie
Posts: 26
Joined: 29 Jan 2015, 01:28
Znuny Version: 6.0.x
Real Name: Eric Saunders

Re: OTRS 5 Upgrade - Missing Ticket Notifications

Post by esaunders »

Done. Unfortunately, the issue persists.
esaunders
Znuny newbie
Posts: 26
Joined: 29 Jan 2015, 01:28
Znuny Version: 6.0.x
Real Name: Eric Saunders

Re: OTRS 5 Upgrade - Missing Ticket Notifications

Post by esaunders »

I have determined that the initial issues were due to an incomplete database schema update during the upgrade process. The Ticket Notifications section now works as expected. However, having re-done the upgrade and not receiving any errors, I have a new problem: The Agent Notifications menu still appears in the Agent Dashboard.
Capture.JPG
It throws this error when I attempt to open it:

Code: Select all

Module Kernel/Modules/AdminNotification.pm not in @INC (/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)
You do not have the required permissions to view the files attached to this post.
esaunders
Znuny newbie
Posts: 26
Joined: 29 Jan 2015, 01:28
Znuny Version: 6.0.x
Real Name: Eric Saunders

Re: OTRS 5 Upgrade - Missing Ticket Notifications

Post by esaunders »

Any help? Obviously I misspoke and the broken menu is in the Admin tab, not the Dashboard. Apologies. The error suggests OTRS is looking for AdminNotification.pm but can't find it in any of the subsequently listed folders, which makes sense given it's removed in OTRS 5 and I didn't customize it. I had hoped this was as simple as commenting out a reference somewhere in the code but a grep of/opt/otrs for "AdminNotification.pm" returned 0 results. Can anyone point me in the right direction?
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: OTRS 5 Upgrade - Missing Ticket Notifications

Post by reneeb »

Check your Kernel/Config.pm and Kernel/COnfig/Files/ZZZAuto.pm for any AdminNotification entries.
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
esaunders
Znuny newbie
Posts: 26
Joined: 29 Jan 2015, 01:28
Znuny Version: 6.0.x
Real Name: Eric Saunders

Re: OTRS 5 Upgrade - Missing Ticket Notifications

Post by esaunders »

Confirmed! I found the following block in ZZZAuto.pm

Code: Select all

$Self->{'Frontend::Module'}->{'AdminNotification'} = {
  'Description' => 'Admin',
  'Group' => [
    'admin'
  ],
  'NavBarModule' => {
    'Block' => 'Ticket',
    'Description' => 'Manage notifications that are sent to agents.',
    'Module' => 'Kernel::Output::HTML::NavBar::ModuleAdmin',
    'Name' => 'Agent Notifications',
    'Prio' => '400'
  },
  'NavBarName' => 'Admin',
  'Title' => 'Agent Notifications'
};
I traced the setting to Frontend::Admin::ModuleRegistration in SysConfig and disabled the Frontend::Module###AdminNotification registration. Thanks very much, reneeb, for the point in the right direction.
Post Reply