File trash (Orphaned file locator)

Reports ::: report_filetrash
Maintained by Barry Oosthuizen
Utility for listing, downloading and deleting orphaned files (file no longer referenced in the files db table but still present in the Moodle data and/or backup directory

File trash (Orphaned file locator) 0.9 (Build 2013081400)

Moodle 2.5
Released: Thursday, 28 May 2015, 4:35 AM

Introduction

The filetrash utility is an admin report which lists all orhphaned files (files which are not referenced in the Moodle database) from both the Moodle data folder and the backup folder (if a separate backup folder has been defined).

Required version of Moodle

This version works with Moodle version 2013050100 release 2.5

Please ensure that your hardware and software complies with 'Requirements' in 'Installing Moodle' on 'docs.moodle.org/25/en/Installing_Moodle'.

Installation

  1. Ensure you have the version of Moodle as stated above in 'Required version of Moodle'. This is essential as the format relies on underlying core code that is out of my control.
  2. Put Moodle in 'Maintenance Mode' (docs.moodle.org/en/admin/setting/maintenancemode) so that there are no users using it bar you as the administrator - if you have not already done so.
  3. Copy 'filetrash' to '/report/' if you have not already done so.
  4. Login as an administrator and follow standard the 'plugin' update notification. If needed, go to 'Site administration' -> 'Notifications' if this does not happen.
  5. Put Moodle out of Maintenance Mode.

Uninstallation

  1. Put Moodle in 'Maintenance Mode' so that there are no users using it bar you as the administrator.
  2. Go to Site administration > Reports > Manage reports and delete the filetrash report
  3. In '/report/' remove the folder 'filetrash'.
  4. Put Moodle out of Maintenance Mode.

Reporting Issues

Before reporting an issue, please ensure that you are running the latest version for your release of Moodle. The primary release area is located on https://moodle.org/plugins/view.php?plugin=report_filetrash. It is also essential that you are operating the required version of Moodle as stated at the top - this is because the format relies on core functionality that is out of its control.

When reporting an issue you can post in https://github.com/elearningstudio/moodle-report_filetrash/issues

It is essential that you provide as much information as possible, the critical information being the contents of the report's version.php file. Other version information such as specific Moodle version, theme name and version also helps. A screen shot can be really useful in visualising the issue along with any files you consider to be relevant.

Version Information

2013081400 - Version 0.9 - Betaa - Do not install on production sites. Once I have received enough positive feedback I will change this to Stable after fixing any issues. 1. First version.

Version information

Version build number
2013081400
Version release name
0.9 (Build 2013081400)
Maturity
Beta
MD5 Sum
0b303953309d55946085c601757a5714
Supported software
Moodle 2.5
  • Latest release for Moodle 2.5

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
MDL25

Default installation instructions for plugins of the type Reports

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myreport") in the "report" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation