Hi all
When I do > Site administration > Development > Make a test course and select the course size L (1GB), I get:
Creating course L (~1GB; in ~30 min) - done (6.5s) 100%
Creating assignments (500) - done (758.4s) 100%
Creating pages (1000) - done (29.8s) 100%
Creating small files (1024) - done (25.3s) 100%
Creating big files (10) - done (21s) 100%
Notice: fwrite(): Write of 65536 bytes failed with errno=28 No space left on device in /var/www/moodle/admin/tool/generator/classes/course_backend.php on line 510
[tons of repetitions!]
Checking user accounts (10000) - done (0s) 100%
Creating user accounts (10000) - done (355.3s) 100%
Enrolling users into course (10000) - done (230.6s) 100%
Creating forum (5000 posts) - done (47.2s) 100%
Course completed (1474.2s) - done (0s) 100%
Checking the logs, error.log contains:
2025/07/27 17:13:05 [error] 970#970: *368 FastCGI sent in stderr: "; PHP message: PHP Notice: fwrite(): Write of 65536 bytes failed with errno=28 No space left on device in /var/www/moodle/admin/tool/generator/classes/course_backend.php on line 510" while reading upstream, client: 10.0.0.136, server: moodlebox, request: "POST /admin/tool/generator/maketestcourse.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "moodlebox.home", referrer: "http://moodlebox.home/admin/tool/generator/maketestcourse.php"
There is no reason the micro-SD card is a 64 GB one and 'df -h' brings:
/dev/mmcblk0p2 59G 18G 38G 33% /
There is also plenty of resources, this is a Pi 4 8G.
Interestingly though course size M (100MB) runs through (even after this size L failed).
MoodleBox 4.9.0 with Moodle 4.5.5 LTS.