znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
355 stars 85 forks source link

Bug - Errors in System Log about missing PackageManagerCheckNotVerifiedPackages #9

Closed arndkeyz closed 3 years ago

arndkeyz commented 3 years ago

Expected behavior

Packages are working as intended.

Actual behavior

Error in System Log about missing PackageManagerCheckNotVerifiedPackages module

How to reproduce

Steps to reproduce the behavior:

Screenshots

image

Environment

OS: Linux (Debian 10 (buster) x86_64)
Browser: Firefox (78.7.0esr)
Znuny 6.0.32
rkaldung commented 3 years ago

Hi @arndkeyz,

which archive did you use for the installation?

arndkeyz commented 3 years ago

https://download.znuny.org/releases/znuny-6.0.32.tar.gz

rkaldung commented 3 years ago

Hello @arndkeyz ,

I can't reproduce this. Because of this, two questions:

1) Please provide a screenshot of your package manager including version and 2) the content of your Apache error log (/var/log/apache2/error_log), the stack trace would be nice

arndkeyz commented 3 years ago

I do use a customized initial_setup.sql based on 6.0.30. That might be causing these errors.

image

ERROR: OTRS-CGI-98 Perl: 5.28.1 OS: linux Time: Thu Feb 4 10:15:36 2021

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

 RemoteAddress: redacted
 RequestURI: /otrs/index.pl?Action=AdminLog

 Traceback (12090):
   Module: Kernel::Output::HTML::Layout::NavigationBar Line: 3264
   Module: Kernel::Modules::AdminLog::Run Line: 33
   Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
   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
rkaldung commented 3 years ago

@arndkeyz That's for sure not a clean install. I suggest your dump contains System Configuration settings? If yes, they probably should be gone after executing bin/otrs.Console.pl Maint::Config::Rebuild --cleanup as the OTRS user.

Please let me know if this solves the issues.

arndkeyz commented 3 years ago

It does. I should have realized that was the cause of the issue. Thanks for your help and sorry for wasting your time