ERROR | File d’attente des tâches ad hoc (tool_task_adhocqueue)
| La plus ancienne tâche non traitée a 6 jours 4 heures, ce
| qui dépasse 4 heures
The oldest unprocessed task is 6 days 4 hours old, which is
| more than 4 hours old
I'd say you could truncate mdl_adhoc_task due to above. That table is a 'tracker' ... anything that couldn't be done via cron job is put into that table to execute or try to execute later. Obviously, those aren't working.
All may not be lost ... depends.
Make a query of you DB thusly:
select contenthash,filename,filesize,timecreated,timemodified from mdl_files where filename like '%.mbz';
Those are course backups.
Filename should have shortname of the course and course id and a date/time stamp in them.
If you see a troubled course in that listing, the backup might be old, but the quiz banks might be ok.
Now the trick would be to extract a copy of that file ... which is the contenthash value seen in the query, out to an area by the filename seen in the query where you could use that file
to restore - and the only way to do that is to have a filesystem repository (fsr) created just for these restores. At the beginning of a restore process one could choose the fsr as the source of the backup file.
And if you step through each screen of the restore, there is a screen that would allow exclusion of users.
I'd pick only one course with above and try it out first before doing others.
Fingers crossed!
'SoS', Ken