Okay, I just got through troubleshooting issues on our uploading files for doing course restores. We tried using mod_security on our site and it was killing file uploads halfway through, which cause partial uploads in our <MOODLE_DOC>/filedir structure. I need someone to explain how the file picker uploads/stores files. I think I understand some of it. A hash of the file is created, for example 3d15123456789. This seems to upload the file in the following location on the OS file system:
I think I get that, BUT as I mentioned I had this Moodle behind mod_security for some time and has 900MB of 1.6GB uploaded and stored as the file listed above. After removing mod_security I attempted toupload the same file as before, andinstead of mod_security stopping it, Moodle eventually barked about incorrect pool file content. I had plenty of disk space, max uploads was plenty high, and web server has write permissions, but this pool error kept coming up. My only recourse was to delete the 900MB file listed above and reupload, which was successful. I'm owrried about similar issues cropping up once we go live. Can someone walk me through how files are stored and why delteing was the only thing that would fix my issue? Is there another way I should have done that??