Hi, I setup the workflow that all office documents are automatically converted into PDF on my nextcloud instance, and it was working since several years. After upgrading to NC 33.0 PDF files are no longer created.
The logfile says:
{“reqId”:“lhv1tKctruLInCANHEGW”,“level”:0,“time”:“2026-03-06T16:15:02+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/cron.php”,“message”:“CLI cron call has selected job OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert (id: 58140247422566401, arguments: {"path":"\\/benjamin\\/files\\/work\\/Evernote1.odt","originalFileMode":"keep","targetPdfMode":"overwrite"})”,“userAgent”:“–”,“version”:“33.0.0.16”,“occ_command”:\[“/var/www/nextcloud/cron.php”\],“data”:{“app”:“cron”}}
{“reqId”:“lhv1tKctruLInCANHEGW”,“level”:0,“time”:“2026-03-06T16:15:02+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/cron.php”,“message”:“Starting job OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert (id: 58140247422566401, arguments: {"path":"\\/benjamin\\/files\\/work\\/Evernote1.odt","originalFileMode":"keep","targetPdfMode":"overwrite"})”,“userAgent”:“–”,“version”:“33.0.0.16”,“occ_command”:\[“/var/www/nextcloud/cron.php”\],“data”:{“app”:“cron”}}
{“reqId”:“lhv1tKctruLInCANHEGW”,“level”:3,“time”:“2026-03-06T16:15:02+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“core”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/cron.php”,“message”:“Error while running background job OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert (id: 58140247422566401, arguments: {"path":"\\/benjamin\\/files\\/work\\/Evernote1.odt","originalFileMode":"keep","targetPdfMode":"overwrite"})”,“userAgent”:“–”,“version”:“33.0.0.16”,“occ_command”:\[“/var/www/nextcloud/cron.php”\],“exception”:{“Exception”:“TypeError”,“Message”:“OC\\Files\\View::\__construct(): Argument #1 ($root) must be of type string, null given, called in /var/www/nextcloud/apps/workflow_pdf_converter/lib/BackgroundJobs/Convert.php on line 76”,“Code”:0,“Trace”:\[{“file”:“/var/www/nextcloud/apps/workflow_pdf_converter/lib/BackgroundJobs/Convert.php”,“line”:76,“function”:“\__construct”,“class”:“OC\\Files\\View”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/Job.php”,“line”:47,“function”:“run”,“class”:“OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php”,“line”:30,“function”:“start”,“class”:“OCP\\BackgroundJob\\Job”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Service/CronService.php”,“line”:176,“function”:“start”,“class”:“OCP\\BackgroundJob\\QueuedJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Service/CronService.php”,“line”:98,“function”:“runCli”,“class”:“OC\\Core\\Service\\CronService”,“type”:“->”},{“file”:“/var/www/nextcloud/cron.php”,“line”:52,“function”:“run”,“class”:“OC\\Core\\Service\\CronService”,“type”:“->”}\],“File”:“/var/www/nextcloud/lib/private/Files/View.php”,“Line”:75,“message”:“Error while running background job OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert (id: 58140247422566401, arguments: {"path":"\\/benjamin\\/files\\/work\\/Evernote1.odt","originalFileMode":"keep","targetPdfMode":"overwrite"})”,“exception”:“{"class":"TypeError","message":"OC\\Files\\View::\__construct(): Argument #1 ($root) must be of type string, null given, called in /var/www/nextcloud/apps/workflow_pdf_converter/lib/BackgroundJobs/Convert.php on line 76","code":0,"file":"/var/www/nextcloud/lib/private/Files/View.php:75","trace":"#0 /var/www/nextcloud/apps/workflow_pdf_converter/lib/BackgroundJobs/Convert.php(76): OC\\Files\\View->\__construct()\\n#1 /var/www/nextcloud/lib/public/BackgroundJob/Job.php(47): OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert->run()\\n#2 /var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php(30): OCP\\BackgroundJob\\Job->start()\\n#3 /var/www/nextcloud/core/Service/CronService.php(176): OCP\\BackgroundJob\\QueuedJob->start()\\n#4 /var/www/nextcloud/core/Service/CronService.php(98): OC\\Core\\Service\\CronService->runCli()\\n#5 /var/www/nextcloud/cron.php(52): OC\\Core\\Service\\CronService->run()\\n#6 {main}"}”,“CustomMessage”:“Error while running background job OCA\\WorkflowPDFConverter\\BackgroundJobs\\Convert (id: 58140247422566401, arguments: {"path":"\\/benjamin\\/files\\/work\\/Evernote1.odt","originalFileMode":"keep","targetPdfMode":"overwrite"})”}}
{“reqId”:“lhv1tKctruLInCANHEGW”,“level”:0,“time”:“2026-03-06T16:15:02+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/cron.php”,“message”:“CLI cron call has selected job OC\\Command\\CommandJob (id: 58140247888134145, arguments: "O:33:\\"OCA\\\\Files_Versions\\\\Command\\\\Expire\\":2:{s:39:\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000user\\";s:8:\\"benjamin\\";s:43:\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000fileName\\";s:28:\\"work\\/Evernote1.odt\\";}")”,“userAgent”:“–”,“version”:“33.0.0.16”,“occ_command”:\[“/var/www/nextcloud/cron.php”\],“data”:{“app”:“cron”}}
{“reqId”:“lhv1tKctruLInCANHEGW”,“level”:0,“time”:“2026-03-06T16:15:02+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/cron.php”,“message”:“Starting job OC\\Command\\CommandJob (id: 58140247888134145, arguments: "O:33:\\"OCA\\\\Files_Versions\\\\Command\\\\Expire\\":2:{s:39:\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000user\\";s:8:\\"benjamin\\";s:43:\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000fileName\\";s:28:\\"work\\/Evernote1.odt\\";}")”,“userAgent”:“–”,“version”:“33.0.0.16”,“occ_command”:\[“/var/www/nextcloud/cron.php”\],“data”:{“app”:“cron”}}
{“reqId”:“lhv1tKctruLInCANHEGW”,“level”:0,“time”:“2026-03-06T16:15:03+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“cron”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/cron.php”,“message”:“Finished job OC\\Command\\CommandJob (id: 58140247888134145, arguments: "O:33:\\"OCA\\\\Files_Versions\\\\Command\\\\Expire\\":2:{s:39:\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000user\\";s:8:\\"benjamin\\";s:43:\\"\\u0000OCA\\\\Files_Versions\\\\Command\\\\Expire\\u0000fileName\\";s:28:\\"work\\/Evernote1.odt\\";}") in 1 seconds”,“userAgent”:“–”,“version”:“33.0.0.16”,“occ_command”:\[“/var/www/nextcloud/cron.php”\],“data”:{“app”:“cron”}}
I have no idea what is going wrong here after the update.