Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
Hi Mark

Thanks for the feedback. I'm not (yet) testing directly. The colleague who tried it on a Moodle clone said it mostly works but taking ages, some took 2 days it seems.

What I expect is a reduction in the size of the database, since the same base64 data appears in many places. When its trough the filedir/ should increase by a little, since the same file is saved only once in the filedir/.

Yes, difficult not to get angry.
Picture of Particularly helpful Moodlers Picture of Translators

I've found hundreds of Base64 encoded images in the database! Typical signature is pages stored with images like this:

<img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUh..

Moodle version 4.1 LTS. I believe these records are very old.

Found this plug-in: https://github.com/catalyst/moodle-tool_encoded. Isn't it too good to be true? Is it really capable of decoding the image, save it in the repository and replace the src with a link to the file?

Average of ratings: -
Picture of Particularly helpful Moodlers Picture of Translators
Moodle_migration is well tested. So either you made a mistake or the web server configuration doesn't match or something in the network including (reverse) proxies is interfering.