Skip to content

Bug - Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 There was an error executing FormIDCleanUp() in Kernel::System::Web::UploadCache -- Error deserializing data #639

Open
@fkffm

Description

@fkffm

Environment

  • Server OS: Linux (Debian GNU/Linux 12 (bookworm))
  • Znuny version: znuny-6.5.11
  • Database: PostgreSQL

Expected behavior

No error message.

Actual behavior

Every hour we get the following error message:

Feb 12 09:46:12 lxtts7 OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10[3357344]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:53]: There was an error executing FormIDCleanUp() in Kernel::System::Web::UploadCache: ERROR: OTRS-otrs.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 Perl: 5.36.0 OS: linux Time: Wed Feb 12 09:46:12 2025#012#012 Message: Error deserializing data: #012#012 Traceback (3357344): #012 Module: Kernel::System::Storable::Deserialize Line: 122#012 Module: Kernel::System::FormDraft::FormDraftGet Line: 199#012 Module: Kernel::System::Web::UploadCache::FS::FormIDCleanUp Line: 445#012 Module: Kernel::System::Web::UploadCache::FormIDCleanUp Line: 182#012 Module: (eval) Line: 143#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 122#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 236#012 Module: (eval) Line: 332#012 Module: main::Start Line: 332#012 Module: /opt/otrs/bin/otrs.Daemon.pl Line: 153#012

How to reproduce

It's a cronjob

$Self->{'Daemon::SchedulerCronTaskManager::Task'}->{'WebUploadCacheCleanup'} =  {
  'Function' => 'FormIDCleanUp',
  'MaximumParallelInstances' => '1',
  'Module' => 'Kernel::System::Web::UploadCache',
  'Params' => [],
  'Schedule' => '46 * * * *',
  'TaskName' => 'WebUploadCacheCleanup'
};

Additional information

We migrated from MySQL to a PostgreSQL cluster, and since then, this error message has appeared. Changing the WebUploadCacheModule does not resolve the issue either.

$Self->{'WebUploadCacheModule'} =  'Kernel::System::Web::UploadCache::DB';
$Self->{'WebUploadCacheModule'} =  'Kernel::System::Web::UploadCache::FS';

Metadata

Metadata

Assignees

Labels

2 - clarificationThe issue or pull requests needs more information.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions