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
333 stars 82 forks source link

Bug - Znuny 6.5.4 installer fails with "Use of uninitialized value $JSONPopupProfile..." internal error #515

Closed danzone closed 7 months ago

danzone commented 7 months ago

Environment

Actual behavior

During manual installation process, as documented at https://doc.znuny.org/znuny_lts/releases/installupdate/install.html, web installer https://HOSTNAME/otrs/installer.pl fails with an Internal Server Error. In error log following message appears:

-e: Use of uninitialized value $JSONPopupProfile in concatenation (.) or string at /opt/otrs/Kernel/Output/HTML/Layout/Popup.pm line 80

How to reproduce

Steps to reproduce the behavior:

  1. Follow manual installation process as documented at https://doc.znuny.org/znuny_lts/releases/installupdate/install.html
  2. Access web installer with your web browser at https://HOSTNAME/otrs/installer.pl
  3. It fails with Internal Server Error. In error_log following message appears:

-e: Use of uninitialized value $JSONPopupProfile in concatenation (.) or string at /opt/otrs/Kernel/Output/HTML/Layout/Popup.pm line 80.

Additional information

Here some more log details: `[Wed Nov 22 12:46:03 2023] -e: Use of uninitialized value $JSONPopupProfile in concatenation (.) or string at /opt/otrs/Kernel/Output/HTML/Layout/Popup.pm line 80. ERROR: OTRS-CGI-10 Perl: 5.26.3 OS: linux Time: Wed Nov 22 11:48:35 2023

Message: Need Data!

RemoteAddress: nnn.nnn.nnn.nnn RequestURI: /otrs/installer.pl

Traceback (77763): Module: Kernel::System::JSON::Encode Line: 74 Module: Kernel::Output::HTML::Layout::Popup::AddPopupProfiles Line: 76 Module: Kernel::Output::HTML::Layout::Header Line: 1300 Module: Kernel::Modules::Installer::Run Line: 169 Module: Kernel::System::Web::InterfaceInstaller::Run Line: 129 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_installer_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 `

Screenshots

danzone commented 7 months ago

Never mind, my fault: misalignment in DB config (using PostgreSQL, but still configured MySQL in /opt/otrs/Kernel/Config.pm). /etc/httpd/logs/ssl_error_log file revealed it.