Moodle
  1. Moodle
  2. MDL-29096

Backup Execution Log - "No logs have been found"

    Details

    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      18620

      Description

      I think this is related to this issue: http://tracker.moodle.org/browse/MDL-22274

      I'm testing on a fresh 2.0.3 site. A course exists and is backed up successfully via automated backup. The backup execution log (Site administration > Reports > Backups) reports the backup was successful (status "OK") and the next backup is scheduled for the correct time. The backup was successful since I can see and download the backup file on the Restore page. Clicking the course name on the backup report to see the detailed log produces the message "No logs have been found."

      No logs are found because the backup_log table is empty. What I gather from MDL-22274 is that this table is no longer used. Going through the code, I cannot find any place where it is attempting to write to backup_log while creating the backup. That's fine but the detailed log (admin/reports/backup/index.php) should not be looking for logs in a table that isn't being used. Either it should look in the new, proper place or if no new, proper place exists then the user shouldn't have an option to click for a detailed log. Clicking and seeing "No logs have been found" makes users question whether the backups are actually running.

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          Thanks for reporting this.

          I've put it on our backlog and we'll try to get to it as soon as we can.

          In the meantime feel free to help us work on this issue.

          Show
          Michael de Raadt added a comment - Thanks for reporting this. I've put it on our backlog and we'll try to get to it as soon as we can. In the meantime feel free to help us work on this issue.
          Hide
          Ray Lawrence added a comment -

          Any news on a resolution to this issue Michael?

          Show
          Ray Lawrence added a comment - Any news on a resolution to this issue Michael?
          Hide
          Ankit Agarwal added a comment -

          Hi Chris,
          This issue seems to be fixed by cleanup that Eloy did a while ago. Please advise if you are still facing this issue. I was not able to replicate this on master or 22.

          Thanks

          Show
          Ankit Agarwal added a comment - Hi Chris, This issue seems to be fixed by cleanup that Eloy did a while ago. Please advise if you are still facing this issue. I was not able to replicate this on master or 22. Thanks
          Hide
          Chris Follin added a comment -

          Hi Ankit,

          There is no longer an option to click the course name for a detailed log in 2.2 so I would say this is resolved.

          Show
          Chris Follin added a comment - Hi Ankit, There is no longer an option to click the course name for a detailed log in 2.2 so I would say this is resolved.
          Hide
          Ankit Agarwal added a comment -

          Thanks for the confirmation Chris.
          Closing

          Show
          Ankit Agarwal added a comment - Thanks for the confirmation Chris. Closing

            People

            • Votes:
              14 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: