Branching Scenario uses all available disk space
- Detailed steps to reproduce the bug (exactly how and when did it happen) See Below
- Platform and version number. E.g. Drupal, Wordpress, Moodle. Moodle 3.8.3
- Mobile or Desktop Desktop
- Browser: Chrome, Firefox, Safari etc Safari
- H5P plugin version 1.21 - 2020080800
- H5P content type and version (if a content type was used), and a sample URL or attached H5P. Branching Scenario. Download throws an error that h5p file is missing.
- Any browser console errors N/A
- Any PHP errors See Below
- Screenshots if it's a visual problem (Attached)
- Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.) None
- Any recent changes to the browser you're using (new extensions, updates etc.) None
Steps to reproduce
I created a branching exercise, with approximately 32 videos, and 50 steps in total.
The 32 videos are around 900mb in total.
The server had 6gb available.
When I load the exercise, the hvp in data/temp duplicates itself several times until the disk is filled.
I created another 20gb volume and moved moodle onto that, and now the 20gb volume is full.
PHP Errors
Warning: mkdir(): No space left on device in /srv/www/exped.net/public/mod/hvp/classes/file_storage.php on line 542
Warning: mkdir(): No space left on device in /srv/www/exped.net/public/mod/hvp/classes/file_storage.php on line 557
Warning: file_put_contents(/srv/www/exped.net/data/temp/hvp-5f82bff3cc8fe/h5p.json): failed to open stream: No space left on device in /srv/www/exped.net/public/mod/hvp/library/h5p.classes.php on line 1865
Warning: ZipArchive::close(): Failure to create temporary file: No space left on device in /srv/www/exped.net/public/mod/hvp/library/h5p.classes.php on line 1888
Hundreds of these - Line 234 (for different files)
Warning: copy(/srv/www/exped.net/data/temp/hvp-5f82bff3cc8fe/H5P.AppearIn-1.0/language/nl.json): failed to open stream: No such file or directory in /srv/www/exped.net/public/lib/filestorage/file_system_filedir.php on line 234
caboes
Wed, 10/21/2020 - 19:51
Permalink
We are experiencing the same...
Curious if you have found any solution to this problem?
We are currently experiencing the same issue - it has crashed our Moodle environment a few times this week and as more and more usage is pushed to the online environment, the problem has gotten worse.
dmsanter
Wed, 11/11/2020 - 03:08
Permalink
Solution
I did find a solution - rather than using videos on the moodle server itself, I linked them from vimeo using distribution links.
BV52
Mon, 10/26/2020 - 17:28
Permalink
Hi All,I tried to reproduce
Hi All,
I tried to reproduce the issue but I am unable to do so. By design a duplicate of the content/files are created when exporting but this should only create 1 duplicate. If anyone in the community have any ideas on how to isolate the issue feel free to post your comments.
-BV
Jakew
Wed, 02/03/2021 - 00:17
Permalink
Same problem
We are also experiencing the same issue in a Drupal environment (7.x-1.46). Temp directory gets filled as soon as the node is accessed until all available space is filled (70GB). There are a few interactive videos within the branching content type