Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69770

APCu cache has issues when storing config settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.2
    • Caching
    • 1. APCu cache store properly enabled and configured
      2. Moodle CLI code using cache definitions based on APCu cache store
    • MOODLE_39_STABLE

      This is a followup from https://moodle.org/mod/forum/discuss.php?d=409932.

      It seems that the APCu cache is not available to the cron.php script. As a result it can end up pulling stale data. This is most notable with the admin notifications page as it reports that the cron scripts haven't been run when that have.

      Steps to reproduce:
      1/ enable APCu for your moodle instance (both web and cli)
      2/ configure Moodle to store config settings (core/config in APCu) as the primary store
      3/ Let cron run for a while then visit the notifications page. You will get a report that cron is not running correctly.

            Unassigned Unassigned
            sbourget Stephen Bourget
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.