Skip to content
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

Can't delete failed Tasks, undefined method BatchJob::setDeletedAt() #3184

Open
AquileaSFX opened this issue Sep 10, 2015 · 4 comments
Open
Assignees
Labels

Comments

@AquileaSFX
Copy link
Contributor

when trying to delete a failed Task in the admin console I got a API -1,

apache errors log:

File does not exist: /opt/kaltura/app/alpha/web/opt, referer: http://my.server.com/admin_console/index.php/batch/failed-tasks

PHP Fatal error: Call to undefined method BatchJob::setDeletedAt() in /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kJobsManager.php on line 74

@kaltura-hooks
Copy link

Hi @AquileaSFX,

Thank for you reporting an issue and helping improve Kaltura!

To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):

  • Is the issue you're experiencing consistent and across platforms? or does it only happens on certain conditions?
    please provide as much details as possible.
  • Which Kaltura deployment you're using: Kaltura SaaS, or self-hosted?
    If self hosted, are you using the RPM or deb install?
  • Packages installed.
    When using RPM, paste the output for:
    # rpm -qa "kaltura*"
For deb based systems:
    # dpkg -l "kaltura-*"
  • If running a self hosted ENV - provide the MySQL server version used
  • If running a self hosted ENV - is this a single all in 1 server or a cluster?
  • If running a self hosted ENV, while making the problematic request, run:
    # tail -f /opt/kaltura/log/*.log /opt/kaltura/log/batch/*.log | grep -A 1 -B 1 --color "ERR:\|PHP\|trace\|CRIT\|\[error\]"

and paste the output.

  • When relevant, provide any screenshots or screen recordings showing the issue you're experiencing.

For general troubleshooting see:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help

If you only have a general question rather than a bug report, please close this issue and post at:
http://forum.kaltura.org

Thank you in advance,

@AquileaSFX
Copy link
Contributor Author

Hello,

  • I can't test in other instances right now,
  • self hosted, rpm based
  • kaltura-base-10.14.0-7.noarch
  • mysql-server-5.1.73-3.el6_5.x86_64
  • 1 server

output log while doing the request is as following:

==> /opt/kaltura/log/kaltura_apache_errors.log <==
[Thu Sep 10 15:21:22 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined method BatchJob::setDeletedAt() in /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kJobsManager.php on line 74

    ==> /opt/kaltura/log/kaltura_admin.log <==
    2015-09-10 15:21:22 [1401942680] [ErrorController->errorAction] ERR: exception 'Kaltura_Client_ClientException' with message '. RC : 500' in /opt/kaltura/app/admin_console/lib/Kaltura/Client/ClientBase.php:249
    Stack trace: #0 /opt/kaltura/app/admin_console/lib/Kaltura/Client/ClientBase.php(619): Kaltura_Client_ClientBase->doQueue()
    ==> /opt/kaltura/log/kaltura_apache_errors.log <==
    [Thu Sep 10 15:21:22 2015] [error] [client 200.94.130.147] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: http://my.server.com/admin_console/index.php/batch/failed-tasks

@tan-tan-kanarek
Copy link

+@MosheMaorKaltura

The delete-at field removed years ago, the reason no one noticed this issue is because there is no good reason to delete a job.
We will fix it, but we don't consider it as important issue.

@jessp01
Copy link

jessp01 commented Oct 16, 2017

See related and un-merged https://github.com/kaltura/server/pull/4709/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants