Comments (7)
Related to the size of temp
directory, limited to 64MB (see https://github.com/martignoni/make-moodlebox/blob/master/make_moodlebox.sh#L478).
from moodlebox.
For reference, here's a possible solution to the bug. Needs a separate partition :-(
https://moodle.org/mod/forum/discuss.php?d=335066#p1401738
from moodlebox.
Separate partition is not an option.
Still looking for another solution. As a (partial) workaround, one could increase the temp
directory size in fstab
.
from moodlebox.
After above fixes, it should be possible to restore course up to 120 MB.
Restoring bigger courses would need to disable RAM temp partition, with an overall bad performance of the MoodleBox.
from moodlebox.
I'd like to provide a durable fix for this.
from moodlebox.
The following solution (tested) seems to work:
- When creating the MoodleBox image, make a new
/var/www/moodledata/backup
directory (mkdir -p /var/www/moodledata/backup
) - Fix owner (
chown -R www-data:www-data /var/www/moodledata/backup
) - Fix permissions (
chmod -R ug+ws,o-w /var/www/moodledata/backup
). - Soft link it to
/var/www/moodledata/temp/backup/
(ln -s /var/www/moodledata/backup /var/www/moodledata/temp/backup
) - Add a crontab
@reboot
redoing the link at boot time, since the temp folder lives in RAM and everything inside is deleted at shutdown.
If this solution is retained, we could lower the size of the RAM partition for the temp dir.
from moodlebox.
Fixed by d0c6574.
from moodlebox.
Related Issues (20)
- Update to version 5.0.1 of Nodogsplash
- Switch networking to NetworkManager HOT 3
- Test MoodleBox image build on RPi OS version with Bookworm HOT 4
- Update to version v2.16.1 of MoodleBox plugin HOT 1
- Update to version v2.16.2 of MoodleBox plugin HOT 1
- Update to version v2.16.3 of MoodleBox plugin HOT 1
- Update to version v2.17.1 of MoodleBox plugin HOT 1
- Add Spanish to Moodle summary text HOT 1
- Clean apt cache at end of build
- Limit journald size to save space on SD card HOT 1
- Update to version 5.0.2 of Nodogsplash HOT 1
- Update to Raspberry Pi OS version 2023-10-10 HOT 1
- Update to Moodle 4.3 HOT 1
- No wifi connection with image 4.6.0 on Raspberry Pi 3B model HOT 4
- Checklist for release 4.7.0
- Update GPU memory setting to current spec HOT 7
- Update to version v2.17.4 of MoodleBox plugin
- Database collation should be utf8mb4_unicode_ci HOT 2
- MoodleBox PHP timezone and OS timezone are not consistent HOT 5
- Tasks should refer to /boot/firmware instead of /boot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodlebox.