OC 9.1 Error messages in Log caused by background cron job

known_bug
9.1.x
help

#1

With Owncloud 9.1 I found strange error messages in the log caused by the OC background background job:

{"reqId":"H\/geVIF6vE8S\/ooTQMRI","remoteAddr":"","app":"files","message":"Exception: {\"Exception\":\"BadMethodCallException\",\"Message\":\"Not in batch\",\"Code\":0,\"Trace\":\"#0 \\/PATH-TO-OWNCLOUD-INSTALLATION\\/lib\\/private\\/Files\\/Utils\\/Scanner.php(143): OC\\Files\\Cache\\Propagator->commitBatch()\n#1 \\/PATH-TO-OWNCLOUD-INSTALLATION\\/apps\\/files\\/lib\\/BackgroundJob\\/ScanFiles.php(87): OC\\Files\\Utils\\Scanner->backgroundScan('')\n#2 \\/PATH-TO-OWNCLOUD-INSTALLATION\\/apps\\/files\\/lib\\/BackgroundJob\\/ScanFiles.php(111): OCA\\Files\\BackgroundJob\\ScanFiles->runScanner(Object(OC\\User\\User))\n#3 \\/PATH-TO-OWNCLOUD-INSTALLATION\\/lib\\/private\\/BackgroundJob\\/Job.php(52): OCA\\Files\\BackgroundJob\\ScanFiles->run(NULL)\n#4 \\/PATH-TO-OWNCLOUD-INSTALLATION\\/lib\\/private\\/BackgroundJob\\/TimedJob.php(53): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#5 \\/PATH-TO-OWNCLOUD-INSTALLATION\\/cron.php(122): OC\\BackgroundJob\\TimedJob->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#6


#2

Seems a fix is planned for oC 9.1.1:


#3

yes, discovered #25509

solved that issue. Remains only one major isue aufter upgrading to 9.1, but I'll put i into another new topic.

thanks, can be closed


#4

Hello TDannhauer,

how did you apply the #25509. I download the two files but i got only an "internal server error"

Greetings,
Christian