[mod_certificate] Does it leave assets in moodledata/mod/certificate/ ?

[mod_certificate] Does it leave assets in moodledata/mod/certificate/ ?

by Visvanath Ratnaweera -
Number of replies: 4
Picture of Particularly helpful Moodlers Picture of Translators

The Moodle admins of site complain that the certificates have lost logos. Unfortunately they took a long time to notice it. So I am not sure whether the Moodle upgrade 3.1 -> 3.5 did this or the subsequent server migration (Moodle release remained 3.5). Found a reference in the forum to moodledata/mod/certificate and indeed found pix/seals, /signatures and /watermark there.

When migrating Moodle instances I always take only moodledata/filedir with me. Is that insufficient? (By lucky chance I still have the old server intact, in two weeks it would have been too late!

Note: This is about mod_certificate, the old plug-in. Moodle version 3.1 upgraded to 3.5 and then migrated to a new server (all Debian GNU/Linux).

Average of ratings: -
In reply to Visvanath Ratnaweera

Re: [mod_certificate] Does it leave assets in moodledata/mod/certificate/ ?

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

No it does not.

You were probably affected by https://tracker.moodle.org/browse/MDL-68047.

In reply to Mark Nelson

Re: [mod_certificate] Does it leave assets in moodledata/mod/certificate/ ?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Mark

Thanks for the response. But I doubt the cause is MDL-68047. Firstly it happend in Moodle 3.8 and 3.9. We went from 3.1 to 3.5. Secondly, it is not Moodle who deleted moodledata/mod/certificate/ file tree. During migration I migraged moodledata/filedir/ only.

The question is, when one migrates a Moodle instance which uses mod_certificate, does one have to copy moodledata/mod/certificate/ too?
In reply to Visvanath Ratnaweera

Re: [mod_certificate] Does it leave assets in moodledata/mod/certificate/ ?

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Sorry Visvanath,

Yes, the issued certificates for mod_certificate actually get saved on the server in the moodledata directory.

Cheers.

In reply to Mark Nelson

Re: [mod_certificate] Does it leave assets in moodledata/mod/certificate/ ?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Mark

Not problem. I still have the "cold" server. The only friction was the painfully slow and vague communication of the site owner. Can't help that.

The good news is that mod_certificate runs in Moodle release 3.5. Do you know for how long, 3.8? 3.9?