Friday, July 14, 2023

created a txt file with list of additional plugins to copy

In order to automate - or minimise errors in - the upgrade process for the Moodle git upgrade mentioned at
https://hnsws.blogspot.com/2023/07/moodle-42-requires-higher-version-of.html
https://hnsws.blogspot.com/2021/08/detailed-steps-for-moodle-upgrade-using.html

created a txt file with commands like
cp -R ../site_learning/theme/moove ./theme

etc with the correct paths, including the newly installed plugins. Got the list of "additional plugins" via the Moodle Site Administration -> Plugins -> Plugins Overview page, which lists plugins like mod_customcert indicating the path to the plugin would be something like mod/customcert

Another option would be to not copy over the plugins, but to later install the plugins from the web console after the upgrade is completed, which would be listed as "Missing on disk". Maybe this technique is slightly riskier?

No comments:

Post a Comment