We recently migrated a database and Moodledata filesystem from another system and I found out that with the automated backup a lot of Moodledata files were missing on the filesystem. So I wrote a bash script to check all the files in the database table mdl_files that were missing on the filesystem. I checked the unique contenthash entries in the table mdl_files against the files on the system (Moodledata filedir subsystem).
Who has also experienced this problem and how did you search for the missing files? And also, how did you solve this problem (update the database or restore the missing files)?
The bash script delivers an output file with all the missing files on the Moodle filesystem.
Who is interested can send me a message for more info about the script.
Alain Raap
Beiträge von Alain Raap
Benoît Lathière we had the same problem with performance of the NFS share and changed some of the settings of the share. Just try to increase some of these values, rsize=65536,wsize=65536. We use nfs4 btw
We had the same issue with long wait time/timeouts on our server (3.1.5+) in a lab environment without routing to the internet.
We found out that the problem was that we hadn't used the proxyserver in Moodle (in Server -> HTTP). After configuring this the problem was solved! The Ajax call via XML-RPC in the service.php was the bottleneck in this case.
We have the same issue, in a short time a lot of data (hundreds of GB) was written in the same folder.
It seems it has something to do with the automated backup schedule, when I analyze the time of the
new files and folders in that directory. Is it possible to prevent Moodle from writing this amount of
data in the Moodle data store? We use Moodle 3.1.5+