OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Moderator: crythias

Post Reply
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

Greetings,

I upgraded from 6.0.34 to 6.1.2 and now I am constantly receiving the following error: (What should I do?)

-----------------------------------------------------------------

Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/System/CloudService/Backend/Run.pm line 63.
ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-35 Perl: 5.16.3 OS: linux Time: Mon Oct 25 15:30:13 2021

Message: Can't perform POST on https://: 500 No Host option provided

Traceback (59480):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::CloudService::Backend::Run::Request Line: 342
Module: Kernel::System::Registration::RegistrationUpdateSend Line: 688
Module: Kernel::System::Console::Command::Maint::Registration::UpdateSend::Run Line: 95
Module: (eval) Line: 461
Module: Kernel::System::Console::BaseCommand::Execute Line: 455
Module: (eval) Line: 145
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 124
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 233
Module: (eval) Line: 331
Module: main::Start Line: 331
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152

ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-35 Perl: 5.16.3 OS: linux Time: Mon Oct 25 15:30:13 2021

Message: Can't perform POST on https://: 500 No Host option provided

Traceback (59480):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::CloudService::Backend::Run::Request Line: 342
Module: Kernel::System::Registration::RegistrationUpdateSend Line: 688
Module: Kernel::System::Console::Command::Maint::Registration::UpdateSend::Run Line: 95
Module: (eval) Line: 461
Module: Kernel::System::Console::BaseCommand::Execute Line: 455
Module: (eval) Line: 145
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 124
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 233
Module: (eval) Line: 331
Module: main::Start Line: 331
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152

ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-35 Perl: 5.16.3 OS: linux Time: Mon Oct 25 15:30:13 2021

Message: Can't perform POST on https://: 500 No Host option provided

Traceback (59480):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::CloudService::Backend::Run::Request Line: 342
Module: Kernel::System::Registration::RegistrationUpdateSend Line: 688
Module: Kernel::System::Console::Command::Maint::Registration::UpdateSend::Run Line: 95
Module: (eval) Line: 461
Module: Kernel::System::Console::BaseCommand::Execute Line: 455
Module: (eval) Line: 145
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 124
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 233
Module: (eval) Line: 331
Module: main::Start Line: 331
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152

Error: System registration update was not sent successfully.
Error: RegistrationUpdate - Can't contact registration server
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by skullz »

Run

Code: Select all

bin/otrs.Console.pl Dev::Code::CPANUpdate --mode stable
viewtopic.php?p=173136#p173136
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

I ran the following:

su - otrs -s /bin/bash

bin/otrs.Console.pl Dev::Code::CPANUpdate --mode stable

It performed two tasks - a CA task and another successfully. I restarted the appliance and I still receive the notification every 5hrs.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by skullz »

Opps..i may be wrong but no harm running earlier script..
Perhaps waiting for another 6.1.x users
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

no worries, its not a huge deal - but clearly there is something that was added or removed in this release that is looking to do something it can't. lol
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by reneeb »

Schau mal, ob die SysConfig-Option CloudServiceProxyURL aktiv und gefüllt ist...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

reneeb wrote: 27 Oct 2021, 08:32 Schau mal, ob die SysConfig-Option CloudServiceProxyURL aktiv und gefüllt ist...
I have no idea what you just said?
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

When I go into Admin --> SysConfig --> Searching up CloudServices brings me to these sections:

Image

When I search for CloudServiceProxyURL, nothing within the search returns

Image


So I am not sure why CloudServices is attempting to reach a particular host...
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

... bump

Is there no solution to this issue? No one else update to 6.1.2 on CentOS?

Edit: I see a 6.2.1-02 has been dropped on 10/28. I'll try updating to that and test.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by root »

Hi,

You can try this but I was not able to reproduce your error. Let me know how it works with 6.2.1, there already another solution possible to fix this.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

root wrote: 01 Nov 2021, 16:01 Hi,

You can try this but I was not able to reproduce your error. Let me know how it works with 6.2.1, there already another solution possible to fix this.

- Roy
Updating didnt help. I still receive this every 5 minutes:

It is attempting to talk to some registration server ??



Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/System/CloudService/Backend/Run.pm line 63.
ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-35 Perl: 5.16.3 OS: linux Time: Mon Nov 1 10:30:10 2021

Message: Can't perform POST on https://: 500 No Host option provided

Traceback (29505):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::CloudService::Backend::Run::Request Line: 342
Module: Kernel::System::Registration::RegistrationUpdateSend Line: 688
Module: Kernel::System::Console::Command::Maint::Registration::UpdateSend::Run Line: 95
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: (eval) Line: 143
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 122
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 233
Module: (eval) Line: 331
Module: main::Start Line: 331
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152

ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-35 Perl: 5.16.3 OS: linux Time: Mon Nov 1 10:30:10 2021

Message: Can't perform POST on https://: 500 No Host option provided

Traceback (29505):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::CloudService::Backend::Run::Request Line: 342
Module: Kernel::System::Registration::RegistrationUpdateSend Line: 688
Module: Kernel::System::Console::Command::Maint::Registration::UpdateSend::Run Line: 95
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: (eval) Line: 143
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 122
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 233
Module: (eval) Line: 331
Module: main::Start Line: 331
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152

ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-35 Perl: 5.16.3 OS: linux Time: Mon Nov 1 10:30:10 2021

Message: Can't perform POST on https://: 500 No Host option provided

Traceback (29505):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::CloudService::Backend::Run::Request Line: 342
Module: Kernel::System::Registration::RegistrationUpdateSend Line: 688
Module: Kernel::System::Console::Command::Maint::Registration::UpdateSend::Run Line: 95
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: (eval) Line: 143
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 122
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 233
Module: (eval) Line: 331
Module: main::Start Line: 331
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152

Error: System registration update was not sent successfully.
Error: RegistrationUpdate - Can't contact registration server
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by root »

Hi,

Add this line to your Kernel/Config.pm

Code: Select all

delete $Self->{'Daemon::SchedulerCronTaskManager::Task'}->{'RegistrationUpdateSend'};
This job should be activated and you're gonna remove it with the line above.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

root wrote: 01 Nov 2021, 17:26 Hi,

Add this line to your Kernel/Config.pm

Code: Select all

delete $Self->{'Daemon::SchedulerCronTaskManager::Task'}->{'RegistrationUpdateSend'};
This job should be activated and you're gonna remove it with the line above.

- Roy
I added the line, do I need to bounce the appliance for it to take affect? And what is this job doing - seems to be new, as I never received this error before?
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by zzz »

Hey,

There should be no more information needed.

It's a cloud service from OTRS Group times. It used to call 'https://cloud.otrs.com/otrs/public.pl' and is now calling 'https://addons.znuny.com/api/otrs_cloud_service/'.

Your last images are not online anymore, but it seems like your configuration is incomplete. Did you execute the migration script?

You should also execute "bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" as the otrs user.

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

zzz wrote: 01 Nov 2021, 20:47 Hey,

There should be no more information needed.

It's a cloud service from OTRS Group times. It used to call 'https://cloud.otrs.com/otrs/public.pl' and is now calling 'https://addons.znuny.com/api/otrs_cloud_service/'.

Your last images are not online anymore, but it seems like your configuration is incomplete. Did you execute the migration script?

You should also execute "bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" as the otrs user.

— Emin
I added the script to my Config.pm (and restarted the appliance) --> I then ran the maintenance script you mentioned above (and restarted the appliance). I will let you know if I continue to receive the message.

I never backed up my images to the cloud (if that is what the service did). So I do not believe I am missing any configuration(s) here.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS Scheduler Daemon Cron: RegistrationUpdateSend??

Post by tupson »

zzz wrote: 01 Nov 2021, 20:47 Hey,

There should be no more information needed.

It's a cloud service from OTRS Group times. It used to call 'https://cloud.otrs.com/otrs/public.pl' and is now calling 'https://addons.znuny.com/api/otrs_cloud_service/'.

Your last images are not online anymore, but it seems like your configuration is incomplete. Did you execute the migration script?

You should also execute "bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" as the otrs user.

— Emin
This step appears to have resolved my issue. Thank you.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
Post Reply