Course size
Maintained by
Dan Marsden, Catalyst IT, Peter Bulmer
This plugin provides approximate disk usage by Moodle courses.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Can I get some assistance in installing this plugin for Moodle 2.4. I looked through the README and tried the following, but do not see the coursesize report appearing anywhere:
1. uploaded 20170324-github.com-moodle-report_coursesize-master.zip to admin/report and unzipped content to folder "coursesize"
2. went to Site administration->Notifications but did not see any message relating to new plugin
3. checked under Site administration->Reports and Site administration->Courses but did not see any relevant links
3. checked under Site administration->Plugins->Plugins overview but did not see Coursesize plugin mentioned
I also tried the same steps above for the latest github version (https://github.com/catalyst/moodle-report_coursesize) and moodle.org linked version (https://moodle.org/plugins/report_coursesize).
I am in same boat of needed to clean up a very large moodledata directory, and wanted to see how much space courses may be taking up.
Thanks for any help.
Peace
What is the proper setup to get this working properly? Do you think a scheduled task might be in order?
So as an experiment I went in today and deleted a bunch of backup files, around 400Meg. The amount reported by your report rose by a Gig or so.
Maybe there is someway it is being counted twice.
I'll now wait a few days until all the deletions are done by the trash collection and see what happens.
I have not solved the problem, just postponed any more thinking about it.
Thanks for the reply Peter.
Is it possible this is what you're seeing? Did you delete about 1.6GB of data before running the report?
You said "Private Files" (etc) . . .
I have less than 5 Meg in my private files.
But it says 1.6 GIG in your course size report.
Any suggestions on anything I can look at to figure this out?
-Derek
site data is calculated by the physical size used on the server inside the whole "moodledata" directory - it does a file system check to obtain this and doesn't use/look at the moodle database, so this will include all files uploaded directly to the server into the moodledata directory including things like file system repositories or custom added files.
Individual user usage contains all files linked to a user context - which I think is only really the private files area but I haven't checked to see if there are other ways of storing data at the user context other than private files.
How is the site data calculated? (I presume it is the size of the Moodledata database?)
How is the individual usage calculated? What is it made up of? - I presume backups + Private files?
-Derek
German - I've pushed a fix through for that issue, the string was already in the language pack but was hard-coded in the code. I've updated the version here in the plugins db but haven't incremented the version numbers. We have some internal issues with our own use of this plugin and if I bounce the version number and we update our internally hosted sites we'll have some problems!
Should have those sorted soon.