Stuck in Plug in Check Update Loop - Higher version already installed

Re: Stuck in Plug in Check Update Loop - Higher version already installed

by Marie Waterhouse -
Number of replies: 4

I found a way out of the Plugin Update Loop of Hell. Posting here - it might help others who get no better suggestions ...or any suggests at all from the forum.
Credit to https://poodll.com/escaping-plugin-dependency-hell/

That page provided a link http://YOUR-MOODLE-URL/admin/tool/installaddon which gets you off the update page.

From here I could navigate to Admin / Plugin 

Find the offending plugin - hope it's not crucial - uninstall it. 

Updates of other Plugin Check Update Loop of Hell should now be ok - update remaining plugins

Wonder how you are supposed to get the uninstalled plugin back.

Realise you now have to do a full site update 

Shudder.


Average of ratings: Useful (2)
In reply to Marie Waterhouse

Re: Stuck in Plug in Check Update Loop - Higher version already installed

by Iren Siamo -

Thank you so very much for posting this! Helped me a lot.

I found 2 more solutions to this problem (if we can access the moodle files).

1. download the plugin version that moodle is asking for and replace the plugin directory with the content of this archive. then hit Reload.

OR

2. replace the version name in the version.php file in the plugin folder to the one that moodle is asking for (not really recommended, but sometimes it's needed). Hit Reload.

In reply to Iren Siamo

Re: Stuck in Plug in Check Update Loop - Higher version already installed

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
2. Is a bodge. It's not actually fixing whatever you did wrong... it'll come back and bite you one day. Most likely, the next upgrade.
In reply to Howard Miller

Re: Stuck in Plug in Check Update Loop - Higher version already installed

by Iren Siamo -

yep, next upgrade should be as in step one or deinstall/reinstall the plugin completely. did that and all is well.

In reply to Iren Siamo

Re: Stuck in Plug in Check Update Loop - Higher version already installed

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
...fine as long as you don't care about any data associated with that plugin.
Average of ratings: Useful (1)