Currently I'm having an issue on production enviroment when students and teachers upload their files to an activity (assign for example) and save the submission. For some reason moodle let then save the submission but when the user tries to download the file it says that it doesnt exists.
- Moodle 3.9.4 (This issue started after we upgraded our moodle from 3.5 to 3.9.4)
- PHP 7.4.3
- Ubuntu 20.04.2 LTS
- This moodle is deployed on a AWS cluster mode architecture using a shared EFS where is located the moodledata directory. Auto-scalling creates new instances on demand.
I've been debugging the code and also the steps that the user followed, this is what i found:
Have anyone experienced this kind of error before? Is this something that can be solved patching moodle's core code?
Thanks in advance.