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

Fix problems reported in Apache logs before 4.5 release

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • 6
    • Team Hedgehog 2024 Sprint 3.3

      Preparations

      This is about inspecting the Apache logs for complete behat runs and fixing as many notices/problems as possible, aggregating information from all supported themes.

      Used this regexp against Non-JS and Chrome webserver logs, for reference:

      ag -v 'POST|GET|OPTIONS|\] (checking plan|(saving|calculating|loading|setting) controller|(applying|loading|instantiating) (backup|restore|plan)|(activity|section) skipped|setting file inclusion|processing file aliases|Unknown setting: (questionbank|overwrite_conf|course_shortname|course_fullname|course_startdate))|Failed Login: ' aggregated.txt > results.txt
      

      (where aggregated.txt is the union of Non-JS and Chrome web server logs of all core themes)

      Trick: When it's difficult to find which exact behat test is causing the problem, it's useful to run the tests with the "--pretty" command, getting the date prepended. That way, we can match them later with the dates in the Apache error logs. To do so, add the following to your behat run command:

      vendor/bin/behat ......  --format pretty --no-colors | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }'
      

      You can see the actual results @ [^results.txt]

      Trick: Check the issue from the previous release that this issue was cloned from and see if the error was already detected there and considered okay.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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