Open tgurr opened 1 year ago
Hi,
two questions:
1.) Which Linux distribution you use and how was the Perl updated installed (packages or source)? 2.) Have you also checked if any module build with cpan/cpanm needs to be updated?
1.) Which Linux distribution you use and how was the Perl updated installed (packages or source)?
Gentoo Linux in this case which is a source-based distribution, perl and deps were solely updated via the offical package manager using "packages" they provide.
2.) Have you also checked if any module build with cpan/cpanm needs to be updated?
Dependencies have been updated as well as in I did a full system upgrade perl + deps the distribution offers which also means rebuilding any perl package against the newly installed perl version.
Edit: As I've reverted back to Perl 5.36.1 for now here's a list of how the update from Perl 5.36.1 -> 5.38.0 looks like packaging/versions wise on Gentoo Linux: perl-update-packages.txt
@tgurr One more question: have you restarted the web server and daemon after updating Perl and the modules?
@tgurr One more question: have you restarted the web server and daemon after updating Perl and the modules?
@rkaldung Yes, multiple times and even the whole machine.
Proof also included in the apache error_log
attached to the initial report, see snippet:
[...]
[Thu Jul 27 19:57:19.919883 2023] [mpm_event:notice] [pid 1789:tid 140085662100928] AH00489: Apache/2.4.57 (Unix) OpenSSL/1.1.1u mod_perl/2.0.12 Perl/v5.36.1 configured -- resuming normal operations
[Thu Jul 27 19:57:19.920137 2023] [core:notice] [pid 1789:tid 140085662100928] AH00094: Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D LANGUAGE -D HTTP2 -D PERL -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf'
[Thu Jul 27 19:59:33 2023] -e: Use of uninitialized value $AuthenticatedUser in string eq at /opt/otrs/Kernel/System/SupportDataCollector/Plugin/OTRS/DefaultUser.pm line 60.
[Thu Jul 27 20:06:13.072037 2023] [mpm_event:notice] [pid 1789:tid 140085662100928] AH00491: caught SIGTERM, shutting down
[Thu Jul 27 21:13:30.045440 2023] [mpm_event:notice] [pid 1790:tid 140098379288000] AH00489: Apache/2.4.57 (Unix) OpenSSL/3.1.1 mod_perl/2.0.12 Perl/v5.38.0 configured -- resuming normal operations
[Thu Jul 27 21:13:30.046220 2023] [core:notice] [pid 1790:tid 140098379288000] AH00094: Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D LANGUAGE -D HTTP2 -D PERL -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf'
[...]
Hi @tgurr
question: does the issue still occur? I'm asking because your stack trace shows:
Traceback (1806):
Module: Kernel::System::DateTime::ToTimeZone Line: 1056
Module: Kernel::Output::HTML::ResponseDefaultStateOutputFilter::AgentTicketComposeFilter::Run Line: 132
Module: Kernel::Output::HTML::Layout::Template::Output Line: 287
Module: Kernel::Modules::AgentTicketCompose::_Mask Line: 2389
Shows a custom module (ResponseDefaultStateOutputFilter) as one error source. If the error is still there, I would like to have a look on your instance, if possible.
Regards Johannes
@hanneshal sorry my late response, I first had to setup a new test machine. After upgrading a clone of our current production machine to perl 5.38.0 I currently do not seem to be able to reproduce the issue anymore. I'll upgrade our production machine later today and report back if we can still observe the issue or if it's solved for us and the issue can be closed.
So far I couldn't observe the visual error with "Internal Server Error" anymore yet, however I at least still see what I reported in my initial message for "Additional observation":
Additional observation
[Thu Jul 27 21:20:38 2023] QuotedPrint.pm: Argument "3.16_01" isn't numeric in numeric ge (>=) at /opt/otrs/Kernel/cpan-lib/MIME/Decoder/QuotedPrint.pm line 76.
is also triggered by
OTRS Scheduler Daemon Cron: TicketPendingCheck
Probably introduced by https://github.com/Perl/perl5/commit/4dc2cf45feb548059d2b42b85df91b054a459425 which is included in / part of perl 5.38.0.
I have the same problem. Since perl 5.38 PDF Generation by printing is no longer possible. Znuny version is 6.5.4. We're getting many errors like this one in our error_log Argument "40,054" isn't numeric in numeric gt (>) at /opt/otrs/Kernel/System/PDF.pm line 2004. Seems, that the comma is the problem. I suspect, that a decimal point is expected.
Environment
Expected behaviour
No (visible) errors in either the user/agent interface nor the logs.
Actual behaviour
Errors, with the user/agent visible one is when clicking through the articles a single ticket has an "Internal Server Error" is randomly appearing instead of showing the actual content of the article:
How to reproduce
Steps to reproduce the behavior:
Additional information
Apache error log: error_log.txt otrs.CheckModules.pl: modules.txt
Looks like we got the
Message: Missing parameter TimeZone.
error also before the upgrade so that might be irrelevant but the other one appears to be new:There are also various other problems visible in the attached log not sure if they're related and/or severe as well.
Screenshots
Attached above.
Additional observation
[Thu Jul 27 21:20:38 2023] QuotedPrint.pm: Argument "3.16_01" isn't numeric in numeric ge (>=) at /opt/otrs/Kernel/cpan-lib/MIME/Decoder/QuotedPrint.pm line 76.
is also triggered by
OTRS Scheduler Daemon Cron: TicketPendingCheck