-
-
Notifications
You must be signed in to change notification settings - Fork 9
Exception: Call to undefined method OCA\MediaDC\Service\CollectorService::getTask() Β #254
Description
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:
- Uninstall Cloud Python API
- Uninstall MediaDC
- Clear browser cache
- Install Cloud Python API (v0.1.9) from Nextcloud appstore
- Install MediaDC (v0.3.9) from Nextcloud appstore
- Initiate a new task from MediaDC
- See that the task remains in pending state.
- 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_apiversion [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