Topic Resolution: Resolved
Viewing 2 reply threads
  • Author
    • #11074
      Christopher Brand

      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/ line 112.
      ERROR: 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/ 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/ Line: 162

      Line 112 of the 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?


    • #11075
      Sven Oesterling

      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:

      Best regards, Sven

    • #11077
      Christopher Brand

      Hi Sven,

      Thanks, I’ve been combing thru all the various OTRS/OTOBO forums for a solution.  I’ve edited the 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.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.