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

Extend Redis configuration with username and password

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Caching
    • extend_redis_configuration
    • Hide

      Create a Redis instance and with this ACL configuration:

      ```
      user default on >abc123 ~* &* +@all
      user moodle on >TestPassword +@all ~moodle*
      ```

      The following can be tested (with a test example):

      • failed login without username
      • cannot use moodle user without prefix set
      • successful access if you have filled in all the details correctly
      Show
      Create a Redis instance and with this ACL configuration: ``` user default on >abc123 ~* &* +@all user moodle on >TestPassword +@all ~moodle* ``` The following can be tested (with a test example): failed login without username cannot use moodle user without prefix set successful access if you have filled in all the details correctly
    • Hide

      Fails against automated checks.

      Checked MDL-84328 using repository: https://github.com/szvarhegyi/moodle.git

      Should these errors be fixed?

      Built on: Tue Mar 18 20:05:47 UTC 2025

      Show
      Fails against automated checks. Checked MDL-84328 using repository: https://github.com/szvarhegyi/moodle.git main [branch: extend_redis_configuration | CI Job ] Warn: The extend_redis_configuration branch at https://github.com/szvarhegyi/moodle.git has not been rebased recently (>20 days ago). Error: The extend_redis_configuration branch at https://github.com/szvarhegyi/moodle.git does not apply clean to origin/main Error: Merge conflict(s) in file(s): Error: cache/stores/redis/lib.php Should these errors be fixed? Built on: Tue Mar 18 20:05:47 UTC 2025

      If you have a Redis installed that requires a username and password, it is not currently available in Moodle. We have solved this manually for several of our clients, I am now sending you our suggestion for a fix.

            Unassigned Unassigned
            cnw CNW Co.
            Daniel Ziegenberg Daniel Ziegenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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