-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug - Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 There was an error executing FormIDCleanUp() in Kernel::System::Web::UploadCache -- Error deserializing data #639
Comments
Hi, I think we talked about this in Discord right? Regards |
Hi, someone else must have the same problem, I haven't been on Discord so far. Best regards |
Ok, the Discord one is a bit different. My guess is that the migration for serialized data was not a 100% success. Regards |
Yes, I cleaned the table, and it's currently empty. However, I still received the error message a few minutes ago.
|
My bad ...the error message / stacktrace shows that FS is used. Note: after you changed the sysconfig you need to stop the daemon and wait for it to restart |
The permissions look fine to me.
I didn't restart the daemon this morning, when switching to FS, but I'm doing it now. I'll wait and see if the error still occurs. |
I may have found out how to reproduce the problem. If a customer starts creating a ticket through the web interface and uploads a file but does not finish creating the ticket, an error message appears at the 46th minute, when the cronjob runs. The file stays in /var/tmp/upload_cache/, even if the creation process is canceled. Shouldn't the following command clean up the folder? Tthe file is still there after running the command.
|
can you post a "id otrs" please. |
|
Quick update: It looks like an entry in the form_draft table was the problem.
Then, I deleted the draft in the web interface for Ticket 2024111110000065. So far, the error has not occurred again. But I will test again to see if it happens when I create a new draft. |
Interesting. This might be related to
I put this on hold. If nothing else comes up, we close it after a month of no activity Thanks |
Environment
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
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.
The text was updated successfully, but these errors were encountered: