unoconv crashed - it is working now, but we have 100s of assignments, which were uploaded prior to the fix, that have not been converted to PDF.
I have encountered this before, but I thought this issue had been resolved by MDL-56122 Force reload/recreation of (unoconv) preview in grading interface...
I have been trawling the forums and tracker in an attempt to find a solution - but see most requesting help are unanswered. Some say the faulty PDFs are stuck in perpetuity. Some are deleting files from moodledata - but what files? Where?
Someone else said truncating the mdl_file_conversion table would force Moodle to trigger file conversion on clicking Grade...
There are 4393 records in mdl_file_conversion, 3477 of these have the status -1 - am I correct in presuming that this means a failed conversion? Does 2 mean success? (the stausmessage field is empty).
222 records have a NULL value for converter, the others contain \fileconverter_unoconv\converter
Can I safely delete these records? If so, will an annotate PDF preview be generated? Or are these blank documents stuck in Moodle with nothing to be done?
Does MDL-56122 not work with 3.5? How is it triggered? With this \core_files\task\conversion_cleanup_task ?
Please assist - I see many others in this forum need some guidance.