Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

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

@mtarris

Description

@mtarris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions