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

Exception: Call to undefined method OCA\MediaDC\Service\CollectorService::getTask() #254

Open
mtarris opened this issue Sep 18, 2024 · 0 comments

Comments

@mtarris
Copy link

mtarris commented Sep 18, 2024

Describe the bug
When upgrading Nextcloud from 29.0.5 to 29.0.6 (running under docker) MediaDC is now reporting an exception error in the Nextcloud logs which it didn't have before.

Exception Call to undefined method OCA\MediaDC\Service\CollectorService::getTask() in file '/var/www/html/custom_apps/mediadc/lib/Controller/CollectorController.php' line 199

To Reproduce
Steps to reproduce the behavior:

  1. Uninstall Cloud Python API
  2. Uninstall MediaDC
  3. Clear browser cache
  4. Install Cloud Python API (v0.1.9) from Nextcloud appstore
  5. Install MediaDC (v0.3.9) from Nextcloud appstore
  6. Initiate a new task from MediaDC
  7. See that the task remains in pending state.
  8. Check the Nextcloud logs and identify the exception error.

Exception
Call to undefined method OCA\MediaDC\Service\CollectorService::getTask() in file '/var/www/html/custom_apps/mediadc/lib/Controller/CollectorController.php' line 199

Expected behavior
Prior to Nextcloud 29.0.6 the task would initiate and move out of pending state.
The job would complete and the MediaDC U.I. would update accordingly.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS [Docker based on nextcloud:29.0.6-apache
  • CPU [architecture x86, ARM]
  • Nextcloud version [e.g. 25]
  • Database configuration [e.g. mysql 8.0.27, without sensitive information]
  • Python version [e.g. 3.9.1] (if used Python sources instead of binaries)
  • MediaDC version [e.g. 0.3.0]
  • cloud_py_api version [e.g. 0.1.0]

Here is the output of
php occ support:report

Server configuration detail

Operating system: Linux 5.10.60-qnap #1 SMP Sat Aug 17 01:50:53 CST 2024 x86_64
Webserver: Unknown (cli)
Database: mysql 11.5.2
PHP version: 8.2.23
Nextcloud version: 29.0.6 - 29.0.6.1

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, random, readline, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apcu, bcmath, exif, ftp, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, sysvsem, zip, Zend OPcache

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

No branches or pull requests

1 participant