Topic Resolution: Resolved
Ansicht von 2 Antwort-Themen
  • Autor
    Beiträge
    • #11074
      Christopher Brand
      Teilnehmer

      Hi All,

      I’ve just installed OTOBO and everything so far seems to be working, but I’m seeing this error when the nightly OTOBO Scheduler Daemon Cron: TicketPendingCheck runs:

      $ sudo cat SchedulerTaskWorkerERR.log
      Use of uninitialized value in lc at /opt/otobo/Kernel/Output/HTML/Layout/Template.pm line 112.
      ERROR: OTOBO-otobo.Console.pl-Maint::Ticket::PendingCheck-69 Perl: 5.30.0 OS: linux Time: Tue Mar 16 15:00:05 2021

      Message: There was an error executing Execute() in Kernel::System::Console::Command::Maint::Ticket::PendingCheck: Use of uninitialized value in lc at /opt/otobo/Kernel/Output/HTML/Layout/Template.pm line 112.

      Traceback (3824):
      Module: Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError Line: 60
      Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 186
      Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 243
      Module: (eval) Line: 383
      Module: main::Start Line: 383
      Module: /opt/otobo/bin/otobo.Daemon.pl Line: 162

      Line 112 of the Template.pm file is referring to https:
      # otobo.psgi seemingly does not set REQUEST_SCHEME
      112 $Self->{EnvRef}{REQUEST_SCHEME} ||= lc( $Self->{EnvRef}{HTTPS} ) eq ‚on‘ ? ‚https‘ : ‚http‘;

      I am running this on apache with a redirect from http to https.  I’ve tried setting the HttpType in the system config Framework|base from http to https but I still see this error when this task runs.

      Anyone have any ideas on how to fix or what could be causing it?

      Thanks

    • #11075
      Sven Oesterling
      Verwalter

      Hi Christopher,

      this is a regression, of a too quickly made fix to a psgi specific problem we had. It will be fixed in OTOBO 10.0.10, if you need the fix sooner (and since you are having a look at the files already anyways), please find the necessary changes here: https://github.com/RotherOSS/otobo/commit/6d0bd4ab04dd0e078c2bda3b4162944bc7d48fd3

      Best regards, Sven

    • #11077
      Christopher Brand
      Teilnehmer

      Hi Sven,

      Thanks, I’ve been combing thru all the various OTRS/OTOBO forums for a solution.  I’ve edited the Template.pm file with your changes.

      Is there a way to manually run the TicketPendingCheck task without having to wait until the cron job runs it in the morning?  If I can run it sooner, I can mark this resolved.

      Thank you for your help.  I was looking at setting up OTRS 6 originally, but saw the post from them that they were discontinuing the free version of it and switched over to OTOBO instead.  I’ve set it up for me and 4 other IT guys here to keep track of tickets and such.  I’m also going to be using the ITMS feature as well.  A couple of integrations I’m looking at is to integrate it with Zabbix5 and Mattermost for notifications.

Ansicht von 2 Antwort-Themen
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.