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.
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?
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
This reply was modified 2 years, 8 months ago by Sven Oesterling.
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.
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: