3.9 upgrade "role" plugin not on disk

3.9 upgrade "role" plugin not on disk

by NCSA Event Services -
Number of replies: 4

When upgrading from 3.8 to 3.9, there was a page informing me of what plugins would be upgraded, install or were missing.  Being a newbie, I thought I'd just take care of the missing ones after the upgrade.  I see now that was a mistake.  One of the plugins was simply labelled "role" but that's not much to go on.  Can someone point me to the plugin I need to install?

I also find several "collapsible" related plugins.  Any direct link?

Average of ratings: -
In reply to NCSA Event Services

Re: 3.9 upgrade "role" plugin not on disk

by NCSA Event Services -
I found that there's a subtitle for the "role" plugin, "availability_role" which helped me find the correct plugin. But there's no subtitle for "collapsible". I found these three candidates:
https://moodle.org/plugins/format_collapsibletopics
https://moodle.org/plugins/format_collapsibleweeks
https://moodle.org/plugins/filter_collapsible

I suppose it won't hurt to install each one and see which one makes the warning go away...
In reply to NCSA Event Services

Re: 3.9 upgrade "role" plugin not on disk

by NCSA Event Services -
the filter_collapsible plugin unzipped to a "collapsible" folder, so I moved collapsible to moodle/filter/ and the warning went away. I'll send a note to the author about my confusion. Sometimes, just asking for help allows your brain to solve the problem... cheers!
In reply to NCSA Event Services

Re: 3.9 upgrade "role" plugin not on disk

by Ken Task -
Picture of Particularly helpful Moodlers

2 cent suggestion ... wanna 'better way' of  updating and upgrading?  (especially considering one is now running a 3.9+ which is barely out of the shrink wrap and will have point release updates to fix code issues.  Moodle releases updated code every week!).

That 'better way' is Git.

https://docs.moodle.org/39/en/Git_for_Administrators

no 'moving parts' ... everything stays where it's at ... there's a set of cli only scripts in /admin/cli/ that when used in conjunction with git, will update or upgrade the entire site - minus plugins (which are perhaps best upgraded when your moodle says there is one available).

Like I said ... 2 cent suggestion ... but as long as upgrading is on your mind ... check it out!

'SoS', Ken


Average of ratings: Useful (1)
In reply to NCSA Event Services

Re: 3.9 upgrade "role" plugin not on disk

by Ken Task -
Picture of Particularly helpful Moodlers

The directions for upgrading using the method you are using said to move the old code out of the way, install new code, then copy back into new code config.php and any addons/plugins.

https://docs.moodle.org/39/en/Upgrading

Step 4:

"As mentioned above, if you had installed any plugins on your site you should add them to the new code tree (Moodle directory structure) now. It is important to check that you get the correct version for your new version of Moodle. Be particularly careful that you do not overwrite any code in the new version of Moodle and that you place the plugin folders in the correct directory (the same directory that they are in in the current installation.)"

So do you have that old code directory still?

If so, search the old code directory ... like /course/format/ for something that doesn't exist in new code directory.   Copy ... note that's copy ... not move ... those directories into same locations in new code folder.

Yes, you could take the approach of installing any/all you find and see if something goes away, but then you've added a lot more than you had before ... and there is potential for un-installing the one you really wanted to keep/use.

No one here in community forums can do Vulcan Mind Melds with your server! smile

'SoS', Ken