Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Task failed: Purge Old Coderunner Cache Entries #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
abkoch opened this issue Jun 10, 2025 · 1 comment
Open

Task failed: Purge Old Coderunner Cache Entries #258

abkoch opened this issue Jun 10, 2025 · 1 comment

Comments

@abkoch
Copy link

abkoch commented Jun 10, 2025

Dear developer,

since updating to moodle 4.5 the following notification about a failed task is sent periodically:

Execute scheduled task: Purge Old Coderunner Cache Entries - task (qtype_coderunner\task\cache_cleaner)
... started 12:54:51. Current memory use 23.0 MB.
Debugging increased temporarily due to faildelay of 86400
... used 1 dbqueries
... used 0.011843919754028 seconds
Scheduled task failed: Purge Old Coderunner Cache Entries - task (qtype_coderunner\task\cache_cleaner),Seltsam... der Coderunner Cachespeicher für Bewertungen kann nicht gefunden werden.
Backtrace:
* line 93 of /question/type/coderunner/classes/cache_purger.php: call to qtype_coderunner\cache_purger::get_first_file_store()
* line 66 of /question/type/coderunner/classes/task/cache_cleaner.php: call to qtype_coderunner\cache_purger->__construct()
* line 410 of /lib/classes/cron.php: call to qtype_coderunner\task\cache_cleaner->execute()
* line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task()
* line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks()
* line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()

It would be great if you could fix this issue.

Best regards
Andreas

@mckeownp
Copy link
Collaborator

Hi,

We are working on this. In the meantime please check for solutions in this thread #246.
Basically you should disable the scheduled task for now, or change to using a file store for th Coderunner cache.

Cheers,
Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants