cloud-py-api / mediadc

Nextcloud Media Duplicate Collector application
https://apps.nextcloud.com/apps/mediadc
GNU Affero General Public License v3.0
95 stars 7 forks source link

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

Open mtarris opened 2 months ago

mtarris commented 2 months ago

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):

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