I can't get certain plugins to work on MOODLE_28_STABLE when migrating from another instance

I can't get certain plugins to work on MOODLE_28_STABLE when migrating from another instance

by David Reagan -
Number of replies: 3

I'm trying to set up an archive instance of our production Moodle. Production is on 2.8.6. I've successfully installed it on the MOODLE_28_STABLE branch. I ran the admin/cli/upgrade.php script just fine.

The issue is that I have several plugins that I need to add. So I follow the git checkout instructions, and then try running the upgrade script. It fails with an error complaining about wanting to downgrade the plugin. See http://pastebin.com/VqAK0Ra4 for what happens with I try to install mod_certificate. I've also run into this issue with hsuforum and questionnaire.

If I don't run the upgrade script, the plugins page says "Higher version already installed!" in the status column.

Our production instance is on Moodlerooms. Did they use an updated version of the plugins that is newer than the MOODLE_28_STABLE branch? 

My server is running Ubuntu 14.04 and php 5.5.9.

Average of ratings: -
In reply to David Reagan

Re: I can't get certain plugins to work on MOODLE_28_STABLE when migrating from another instance

by Colin Fraser -
Picture of Documentation writers Picture of Testers

First, have you checked that the plugins are already available without you trying to add them in? What is "hsuforum"?  Is it a plugin? Is it another name for MoodleRooms Advance Forum plugin? 

In reply to Colin Fraser

Re: I can't get certain plugins to work on MOODLE_28_STABLE when migrating from another instance

by David Reagan -

Um, yes, I checked that the plugins were missing from the code first... They're not Moodle core....

hsuform is what the MoodleRooms Advance Forum plugin directory is called when you install it in moodleroot/mod.


FYI:

https://moodle.org/plugins/view/mod_hsuforum

https://moodle.org/plugins/view/mod_certificate

https://moodle.org/plugins/view/mod_questionnaire

are what I'm trying to get working.

I did try downloading the archive of certificate and installing that instead of checking out of git. That failed as well. I don't recall the exact error message.


Looking at my plugins list, here are the versions installed, in case that might help.

Certificate: 2015012000

Questionnaire: 2014111003

hsuforum: 2015052600

Of course, Questionnaire and hsuforum are listed as "missing from disk" since I haven't install their code yet.

Certificate lists 2014111001 as the version under the "New version" column.

In reply to David Reagan

Re: I can't get certain plugins to work on MOODLE_28_STABLE when migrating from another instance

by David Reagan -

So, I gave up on using git to manage these modules. I made the directory writable by the webserver (which makes the sysadmin in me shudder) and I was able to download the correct versions of certificate and hsuforum via the plugins page. I downloaded questionnaire as well, but it still has the "Higher version already installed!" message.

Anyway, hopefully, that is good enough for our archive. Hopefully I won't run into many issues when I upgrade Moodle for any security releases...

I'm going to chalk the higher version stuff up to something Moodlerooms is doing on our production instance. I can't think of any other reason why the MOODLE_28_STABLE branches would have different version numbers than what MR had installed. I wish they had given us a code snapshot as well...