Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
An "even more creative" idea. Completely untested:

Create a single byte file (man fallocate) and put a copy in to every file in the moodledata/filedir/. Means, if the original has a file filedir/ab/cd/abcd[40charhash], then 'cp singlebytefile /path/to/moodledata/filedir/ab/cd/abcd[40charhash]' - of course scripted.

Then Moodle will not complain about missing files, but will "display" our singlebytefile instead.

@Others, meant only for playground Moodle sites. Completely isolate this action from any production instances!
Picture of Particularly helpful Moodlers Picture of Translators
Hi Howard and all

Talking of setting up Moodle in Docker, from the multiple ways of doing it, is there a tutorial on setting up a Moodle server on Docker for _production_? Even the "official" one at https://github.com/moodlehq/moodle-docker says, "This repository contains Docker configuration aimed at Moodle developers and testers to easily deploy a testing environment for Moodle."
Picture of Particularly helpful Moodlers Picture of Translators
> it is a kind of general issue as Ghostscript is not said to be required in all the checks before installation or upgrade

That is the idea:
a) As in my previous post Ghostscript is not a must, there are alternatives.

b) Moodle will "run" without any of them, but obviously will not convert documents, for example for annotating. See the link in my previous post.